Danny White
ec53175b8a
refactor(ui): rename text-brand to text-primary ( #50564 )
...
## What kind of change does this PR introduce?
Refactor. Follow-up to #49871 .
## What is the current behavior?
Branded (green) text still uses the `text-brand` classname while the
colour comes from `--primary`.
## What is the new behavior?
**Rename-only:** `text-brand` → `text-primary` across callsites and
docs. Leftover `bg-brand` / `border-brand` alias to `brand-default`. No
intentional colour changes in this PR.
This better matches how we treat our green in other components and
props, like `variant="primary"` for green buttons.
## To test
On light mode: smoke-test that branded text still looks like #49871
(readable green, not the bright fill).
-
[Homepage](https://zone-www-dot-com-git-dnywh-depr-316-text-brand-de2380-supabase.vercel.app/ ):
“Scale to millions” uses `text-primary`
- [Docs
homepage](https://docs-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/docs ):
branded links like “More on self-hosting” are still readable
- [Typography
docs](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/typography ):
documents `text-primary`
- [Colour
usage](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/color-usage ):
`text-primary` is visibly darker than `bg-brand-default` _on light mode_
- [Studio auth
providers](https://studio-staging-git-dnywh-depr-316-text-brand-to-60fa6c-supabase.vercel.app/dashboard/project/_/auth/providers ):
enabled provider badge text readable; status dot stays bright green
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Style**
* Updated branded text, link hover states, icons, badges, indicators,
and highlighted content across the Design System, Docs, Studio, Learn,
UI Library, and marketing experiences to use the primary theme color.
* Updated syntax highlighting and table-of-contents styling for
consistent primary-color presentation.
* Refined brand color fallback behavior for bright fills and borders.
* **Documentation**
* Updated color-usage and typography guidance to recommend the primary
text utility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-22 16:19:03 +10:00
..
2026-05-19 17:04:00 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-07-29 00:48:56 +08:00
2026-07-29 00:48:56 +08:00
2026-09-11 17:05:26 +10:00
2026-07-29 00:48:56 +08:00
2026-07-29 00:48:56 +08:00
2026-07-29 00:48:56 +08:00
2026-05-15 14:55:37 +02:00
2026-07-29 00:48:56 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2024-09-30 21:41:26 +02:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-09-10 11:23:17 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-09-10 11:23:17 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2026-09-10 11:23:17 +10:00
2026-02-05 13:54:10 +01:00
2026-07-10 11:40:33 +01:00
2026-09-11 17:05:26 +10:00
2026-09-10 11:23:17 +10:00
2024-08-30 16:51:05 +08:00
2024-08-30 16:51:05 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-09-16 09:18:40 +01:00
2026-04-27 11:07:06 +02:00
2026-04-27 11:07:06 +02:00
2026-09-10 11:23:17 +10:00
2026-09-10 11:23:17 +10:00
2026-04-27 11:07:06 +02:00
2026-05-15 15:29:16 +10:00
2026-05-22 18:24:17 +10:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-09-09 13:44:11 +10:00
2026-06-16 23:59:58 +02:00
2026-09-09 13:44:11 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-05-20 15:45:32 +02:00
2026-05-20 15:45:32 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-11 17:05:26 +10:00
2026-08-03 09:43:23 +10:00
2026-07-22 00:08:32 +10:00
2026-07-22 00:08:32 +10:00
2026-07-29 00:48:56 +08:00
2026-07-23 02:20:42 +10:00
2026-09-11 01:52:21 +00:00
2026-09-11 17:05:26 +10:00
2026-05-15 15:09:25 +02:00
2026-06-16 23:59:58 +02:00
2026-09-11 17:05:26 +10:00
2026-06-30 09:23:17 +02:00
2025-12-15 10:44:08 +00:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2025-12-15 10:44:08 +00:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2026-03-31 09:14:56 +02:00
2026-03-31 09:14:56 +02:00
2025-10-16 13:44:40 +11:00
2026-09-11 17:05:26 +10:00
2026-06-17 12:24:42 +02:00
2026-09-10 11:23:17 +10:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 01:52:21 +00:00
2026-09-11 01:52:21 +00:00
2026-09-11 17:05:26 +10:00
2026-09-10 11:23:17 +10:00
2026-06-16 23:59:58 +02:00
2026-09-04 09:10:25 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2025-12-11 13:38:26 +11:00
2026-03-26 15:27:35 +01:00
2026-03-26 15:27:35 +01:00
2024-07-12 11:32:20 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-11 17:05:26 +10:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-11 17:05:26 +10:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-01 13:13:30 +02:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2024-05-24 09:40:15 +00:00
2026-02-05 13:54:10 +01:00
2026-09-11 17:05:26 +10:00
2024-10-31 00:55:08 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 14:55:37 +02:00
2026-05-15 14:55:37 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2024-05-23 17:39:56 +08:00
2026-09-10 11:23:17 +10:00
2024-10-01 11:29:37 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-04-08 09:42:55 -06:00
2026-05-15 15:55:33 +02:00
2025-12-10 13:10:18 +00:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2024-05-23 17:39:56 +08:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-09-16 12:27:16 +10:00
2026-09-11 17:05:26 +10:00
2025-02-11 10:40:51 +08:00
2024-10-25 15:43:15 +02:00
2026-09-09 04:14:46 +00:00
2026-09-09 04:14:46 +00:00
2024-10-25 15:43:15 +02:00
2026-09-10 11:23:17 +10:00
2026-09-09 04:14:46 +00:00
2026-09-09 04:14:46 +00:00
2025-10-08 10:18:43 +11:00
2025-10-08 10:18:43 +11:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2025-11-11 04:02:30 +00:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-22 16:19:03 +10:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-09-22 16:19:03 +10:00
2026-09-11 17:05:26 +10:00
2026-07-23 05:21:15 +10:00
2026-09-11 17:05:26 +10:00
2026-02-05 13:54:10 +01:00
2026-01-21 10:18:15 +08:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-08-31 16:14:09 +02:00
2026-08-31 16:14:09 +02:00
2026-09-21 10:53:14 +10:00
2026-08-31 16:14:09 +02:00
2026-09-10 11:23:17 +10:00
2026-08-31 16:14:09 +02:00
2026-08-31 16:14:09 +02:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2026-05-15 16:39:57 +02:00
2026-06-16 23:59:58 +02:00
2026-05-15 16:39:57 +02:00
2024-05-23 17:39:56 +08:00
2026-09-11 17:05:26 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-07-29 06:21:50 +10:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2026-06-30 09:23:17 +02:00
2026-07-15 14:09:08 +00:00
2026-07-15 14:09:08 +00:00
2026-09-22 10:07:28 +10:00
2026-05-15 15:55:33 +02:00
2026-06-24 14:14:47 +02:00
2026-09-11 17:05:26 +10:00
2026-09-11 17:05:26 +10:00
2025-12-11 13:38:26 +11:00
2025-12-11 13:38:26 +11:00
2026-09-11 17:05:26 +10:00
2026-07-22 12:10:07 -04:00
2026-02-05 13:54:10 +01:00
2026-09-16 00:00:27 +03:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-06-24 14:14:47 +02:00
2026-09-10 11:23:17 +10:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:09:25 +02:00
2026-05-15 15:09:25 +02:00
2025-12-02 14:18:21 +00:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00