Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(ui): make brand text readable across themes (#49871)

Danny Whitea31ca2bad0a0
diff --git a/.coderabbit.yaml b/.coderabbit.yaml
index 0db24a2a559..3d201281eb4 100644
--- a/.coderabbit.yaml
+++ b/.coderabbit.yaml
@@ -125,6 +125,10 @@ reviews:
"read more", or "learn more" when it does not describe the
destination. Skip if aria-label or wrapping context already names
where the link goes.
+ - Color contrast: flag non-large informative text below 4.5:1 and large informative
+ text (at least 24px regular or 18.5px bold) below 3:1. Skip logotypes and
+ decorative text. Treat expressive text at 40px or larger as advisory rather
+ than blocking.
# Applies our internal engineering skills (.agents/skills/) as CodeRabbit review
# guidelines. The skills are the single source of truth — they are consumed
diff --git a/apps/design-system/content/docs/color-usage.mdx b/apps/design-system/content/docs/color-usage.mdx
index b62441323eb..570604fe517 100644
--- a/apps/design-system/content/docs/color-usage.mdx
+++ b/apps/design-system/content/docs/color-usage.mdx
@@ -9,10 +9,18 @@ The shorthand utility classes below simplify our full color palette by providing
Use accent text colors (e.g. text-destructive, text-warning) sparingly to avoid visual overload.
+Use `text-brand` for readable branded text such as links, labels, and statuses. On light-theme
+surfaces it meets the 4.5:1 WCAG AA requirement for normal text. Use `bg-brand-default` /
+`border-brand-default` when you need the canonical bright Supabase green as a fill or border.
+
<Colors definition={'text'} />
## Background
+Use `bg-brand-default` when the canonical Supabase green is required as a fill. The same
+`brand-default` suffix applies to borders and other non-text utilities, such as
+`border-brand-default`.
+
<Colors definition={'background'} />
### App backgrounds
diff --git a/apps/design-system/content/docs/typography.mdx b/apps/design-system/content/docs/typography.mdx
index d6c36ca61c3..e6030e0ac15 100644
--- a/apps/design-system/content/docs/typography.mdx
+++ b/apps/design-system/content/docs/typography.mdx
@@ -9,7 +9,9 @@ The shorthands below are composed of core [Tailwind utility classes](../docs/tai
## Shorthands
-| Value | Usage |
-| ------------------ | ---------------------------------------------------------------------------- |
-| `text-code-inline` | Apply to a `code` element for inline code or similar custom inline content |
-| `text-brand-link` | Supabase green text that meets contrast requirements in light and dark modes |
+| Value | Usage |
+| ------------------ | -------------------------------------------------------------------------- |
+| `text-code-inline` | Apply to a `code` element for inline code or similar custom inline content |
+| `text-brand` | Accessible Supabase green for readable branded text |
+
+`text-brand` is independent from `bg-brand-default`, `border-brand-default`, and other non-text brand utilities. Its light-mode value has at least 4.5:1 contrast against the light surfaces used by the apps, meeting WCAG AA for normal text.
diff --git a/apps/design-system/registry/default/example/success-check-selected.tsx b/apps/design-system/registry/default/example/success-check-selected.tsx
index d557db6ec6c..3a8894a1819 100644
--- a/apps/design-system/registry/default/example/success-check-selected.tsx
+++ b/apps/design-system/registry/default/example/success-check-selected.tsx
@@ -23,7 +23,7 @@ export default function SuccessCheckSelected() {
className={cn(
'relative flex w-full items-center rounded-md border px-4 py-3 text-left text-sm transition-colors',
isSelected
- ? 'border-brand bg-brand-200/20 pr-10 dark:bg-brand-300'
+ ? 'border-brand-default bg-brand-200/20 pr-10 dark:bg-brand-300'
: 'hover:border-default hover:bg-surface-200'
)}
>
diff --git a/apps/docs/CONTRIBUTING.md b/apps/docs/CONTRIBUTING.md
index 59ccd0f293f..810417bef08 100644
--- a/apps/docs/CONTRIBUTING.md
+++ b/apps/docs/CONTRIBUTING.md
@@ -108,7 +108,7 @@ Use the [Write the docs](../../.agents/skills/pm-the-docs/reference/write-the-do
### Edit existing pages
-Use [`edit-the-docs`](../../.agents/skills/edit-the-docs/SKILL.md) for style, structure, or brevity on an existing page when you are not changing the product story.
+Use [`edit-the-docs`](../../.agents/skills/edit-the-docs/SKILL.md) for style, structure, or brevity on an existing page when you are not changing the product story.
## Document types
diff --git a/apps/docs/app/page.tsx b/apps/docs/app/page.tsx
index 27e6a28281c..07bd3911e3e 100644
--- a/apps/docs/app/page.tsx
+++ b/apps/docs/app/page.tsx
@@ -330,7 +330,7 @@ const HomePage = () => (
<TextLink
label="Explore more resources"
url="/guides/resources"
- className="no-underline text-brand-link text-sm"
+ className="no-underline text-brand text-sm"
/>
</div>
@@ -388,7 +388,7 @@ const HomePage = () => (
<TextLink
label="More on self-hosting"
url="/guides/self-hosting"
- className="no-underline text-brand-link text-sm"
+ className="no-underline text-brand text-sm"
/>
</div>
</div>
diff --git a/apps/docs/components/Feedback/Feedback.tsx b/apps/docs/components/Feedback/Feedback.tsx
index 0b9c7c7eaa4..dfefab8a92e 100644
--- a/apps/docs/components/Feedback/Feedback.tsx
+++ b/apps/docs/components/Feedback/Feedback.tsx
@@ -179,7 +179,7 @@ function Feedback({ className }: { className?: string }) {
'[transition-timing-function:cubic-bezier(.76,0,.23,1)]',
!isYes && 'hover:text-brand-600 hover:border-brand-500',
isYes &&
- 'bg-brand text-brand-200 border-brand! disabled:opacity-100 -translate-x-[calc(100%+var(--container-inline-flex-gap,0.5rem))]',
+ 'bg-brand-default text-brand-200 border-brand-default! disabled:opacity-100 -translate-x-[calc(100%+var(--container-inline-flex-gap,0.5rem))]',
!showYes && 'opacity-0 invisible'
)}
onClick={() => handleVote('yes')}
diff --git a/apps/docs/components/Feedback/FeedbackModal.tsx b/apps/docs/components/Feedback/FeedbackModal.tsx
index c5b63904ecd..0052a08d9e7 100644
--- a/apps/docs/components/Feedback/FeedbackModal.tsx
+++ b/apps/docs/components/Feedback/FeedbackModal.tsx
@@ -94,7 +94,7 @@ function FeedbackModal({ visible, page, onCancel, onSubmit }: FeedbackModalProps
href="https://supabase.com/dashboard/support/new"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
support request
</a>
diff --git a/apps/docs/components/Navigation/Footer.tsx b/apps/docs/components/Navigation/Footer.tsx
index 6c0bc8ebd9d..41d7242a739 100644
--- a/apps/docs/components/Navigation/Footer.tsx
+++ b/apps/docs/components/Navigation/Footer.tsx
@@ -14,7 +14,7 @@ const Footer = ({ className }: { className?: string }) => (
<p>{text}</p>
<Link
href={url}
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
target="_blank"
rel="noreferrer noopener"
>
diff --git a/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
index 06acb65ce57..41c145cbc3c 100644
--- a/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
@@ -137,7 +137,7 @@ const GlobalMobileMenu = ({ open, setOpen }: Props) => {
height={24}
alt="Supabase Logo"
/>
- <span className="font-mono text-sm font-medium text-brand-link mb-px">DOCS</span>
+ <span className="font-mono text-sm font-medium text-brand mb-px">DOCS</span>
</Link>
<div className="flex gap-4 items-center">
<ThemeToggle contentClassName="bg-surface-200" />
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
index c84ee4c287b..8570dcd0fd2 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
@@ -22,7 +22,7 @@ const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
<li key={id} className="function-link-item text-foreground-lighter leading-3">
<Link
href={`#${id}`}
- className="cursor-pointer transition text-foreground-lighter text-sm hover:text-brand-link flex gap-3"
+ className="cursor-pointer transition text-foreground-lighter text-sm hover:text-brand flex gap-3"
>
{icon && <img className="w-3" src={`${BASE_PATH}${icon}`} />}
{title}
@@ -99,7 +99,7 @@ const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
href={`${menu.parent ?? '/'}`}
className={[
'flex items-center gap-1 text-xs group mb-3',
- 'text-base transition-all duration-200 text-brand-link hover:text-brand-600 hover:cursor-pointer ',
+ 'text-base transition-all duration-200 text-brand hover:text-brand-600 hover:cursor-pointer ',
].join(' ')}
>
<div className="relative w-2">
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx
index c859d3a31ee..69afb363f8e 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx
@@ -43,7 +43,7 @@ const HeaderLink = React.memo(function HeaderLink(props: {
className={[
' ',
!props.title && 'capitalize',
- props.url === pathname ? 'text-brand-link' : 'hover:text-brand-link text-foreground',
+ props.url === pathname ? 'text-brand' : 'hover:text-brand text-foreground',
].join(' ')}
>
{props.title ?? props.id}
@@ -111,7 +111,7 @@ const ContentAccordionLink = React.memo(function ContentAccordionLink(props: any
'cursor-pointer transition text-sm',
'focus-inset rounded-md',
activeItem
- ? 'text-brand-link font-medium'
+ ? 'text-brand font-medium'
: 'hover:text-foreground text-foreground-lighter',
].join(' ')}
>
@@ -146,8 +146,8 @@ const ContentAccordionLink = React.memo(function ContentAccordionLink(props: any
'relative block py-1.25 pl-1 -ml-1 cursor-pointer transition text-sm',
'focus-inset rounded-md',
child.url === pathname
- ? 'text-brand-link'
- : 'hover:text-brand-link text-foreground-lighter',
+ ? 'text-brand'
+ : 'hover:text-brand text-foreground-lighter',
].join(' ')}
>
{child.url === pathname && (
@@ -173,9 +173,7 @@ const ContentAccordionLink = React.memo(function ContentAccordionLink(props: any
'flex items-center gap-2',
'cursor-pointer transition text-sm',
'focus-inset rounded-md',
- activeItem
- ? 'text-brand-link font-medium'
- : 'hover:text-foreground text-foreground-lighter',
+ activeItem ? 'text-brand font-medium' : 'hover:text-foreground text-foreground-lighter',
].join(' ')}
parent={props.subItem.parent}
>
@@ -206,9 +204,7 @@ const ContentLink = React.memo(function ContentLink(props: any) {
className={[
'cursor-pointer transition text-sm',
'focus-inset rounded-md',
- props.url === pathname
- ? 'text-brand-link'
- : 'hover:text-foreground text-foreground-lighter',
+ props.url === pathname ? 'text-brand' : 'hover:text-foreground text-foreground-lighter',
].join(' ')}
>
{props.icon && (
@@ -230,7 +226,7 @@ const Content = (props) => {
return (
<div className="relative w-full flex flex-col gap-0 pb-5">
<Link href={menu.url ?? ''}>
- <div className="flex items-center gap-3 my-3 text-brand-link">
+ <div className="flex items-center gap-3 my-3 text-brand">
<MenuIconPicker icon={menu.icon} />
<HeaderLink title={menu.title} url={menu.url} id={id} />
</div>
diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
index db6ca275c1b..5e8971084f0 100644
--- a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
@@ -132,7 +132,7 @@ const HeaderLogo = memo(() => {
height={navigationLogo?.height ?? 18}
alt="Supabase wordmark"
/>
- <span className="font-mono text-sm font-medium text-brand-link mb-px">DOCS</span>
+ <span className="font-mono text-sm font-medium text-brand mb-px">DOCS</span>
</Link>
)
})
diff --git a/apps/docs/components/Navigation/SideBar.tsx b/apps/docs/components/Navigation/SideBar.tsx
index a88cd1bb5a9..c9a98c91cf3 100644
--- a/apps/docs/components/Navigation/SideBar.tsx
+++ b/apps/docs/components/Navigation/SideBar.tsx
@@ -80,7 +80,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
'py-1.5 px-5 rounded-sm text-sm transition',
`${
item.url === pathname
- ? 'bg-background text-brand-link'
+ ? 'bg-background text-brand'
: 'text-foreground-light hover:text-foreground'
}`,
].join(' ')}
@@ -105,7 +105,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
size={14}
strokeWidth={2}
/>
- <span className="text-foreground text-sm group-hover:text-brand-link transition">
+ <span className="text-foreground text-sm group-hover:text-brand transition">
{group.label}
</span>
</Accordion.Trigger>
@@ -119,7 +119,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
'py-1.5 px-5 rounded-sm text-sm transition',
`${
section.url === pathname
- ? 'bg-background text-brand-link'
+ ? 'bg-background text-brand'
: 'text-foreground-light hover:text-foreground'
}`,
].join(' ')}
@@ -144,7 +144,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
size={14}
strokeWidth={2}
/>
- <span className="text-foreground text-sm group-hover:text-brand-link transition">
+ <span className="text-foreground text-sm group-hover:text-brand transition">
{section.name}
</span>
</Accordion.Trigger>
@@ -157,7 +157,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
'py-1.5 ml-4 px-5 rounded-sm text-sm transition',
`${
item.url === pathname
- ? 'bg-background text-brand-link'
+ ? 'bg-background text-brand'
: 'text-foreground-light hover:text-foreground'
}`,
].join(' ')}
diff --git a/apps/docs/features/docs/Reference.header.tsx b/apps/docs/features/docs/Reference.header.tsx
index 82946f133de..518d112377f 100644
--- a/apps/docs/features/docs/Reference.header.tsx
+++ b/apps/docs/features/docs/Reference.header.tsx
@@ -40,7 +40,7 @@ function ClientLibHeader({ menuData, className }: ClientLibHeaderProps) {
href={menuData.pkg.repo}
target="_blank"
rel="noreferrer noopener"
- className="hover:text-brand-link focus-visible:text-brand-link transition-colors"
+ className="hover:text-brand focus-visible:text-brand transition-colors"
>
<span className="sr-only">View on GitHub</span>
<Github size={18} />
diff --git a/apps/docs/features/ui/AgentPluginsPanel.tsx b/apps/docs/features/ui/AgentPluginsPanel.tsx
index bf509160047..b837378ae39 100644
--- a/apps/docs/features/ui/AgentPluginsPanel.tsx
+++ b/apps/docs/features/ui/AgentPluginsPanel.tsx
@@ -18,7 +18,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://claude.com/plugins/supabase"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
official Anthropic marketplace
</a>
@@ -53,7 +53,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://developers.openai.com/codex/plugins#plugin-directory-in-the-codex-app"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
Codex desktop app plugin directory
</a>
@@ -83,7 +83,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://cursor.com/marketplace/supabase"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
Supabase
</a>{' '}
@@ -118,7 +118,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://geminicli.com/extensions/?name=supabase-communitysupabase-plugin"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
Gemini CLI extensions directory
</a>
@@ -222,7 +222,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://github.com/vercel-labs/open-plugin-spec"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
Open Plugin
</a>{' '}
@@ -243,7 +243,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://github.com/supabase-community/supabase-plugin"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
GitHub repository
</a>
@@ -290,7 +290,7 @@ export function AgentPluginsPanel() {
href={selectedClient.docsUrl}
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline inline-flex items-center"
+ className="text-brand hover:underline inline-flex items-center"
>
{selectedClient.docsLinkText ?? `View ${selectedClient.label} extensions docs`}
<ExternalLink className="h-3 w-3 ml-1" />
@@ -302,7 +302,7 @@ export function AgentPluginsPanel() {
href={selectedClient.repoUrl}
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline inline-flex items-center"
+ className="text-brand hover:underline inline-flex items-center"
>
Give feedback
<ExternalLink className="h-3 w-3 ml-1" />
diff --git a/apps/kb/src/components/Logo.tsx b/apps/kb/src/components/Logo.tsx
index 4e9a308302b..c0b9ab188ac 100644
--- a/apps/kb/src/components/Logo.tsx
+++ b/apps/kb/src/components/Logo.tsx
@@ -23,7 +23,7 @@ function Logo() {
height={18}
alt="Supabase logo"
/>
- <span className="font-mono text-sm font-medium text-brand-link mb-px">KB</span>
+ <span className="font-mono text-sm font-medium text-brand mb-px">KB</span>
</a>
)
}
diff --git a/apps/studio/components/grid/components/grid/Grid.tsx b/apps/studio/components/grid/components/grid/Grid.tsx
index a5118a712b7..cd65a0a148f 100644
--- a/apps/studio/components/grid/components/grid/Grid.tsx
+++ b/apps/studio/components/grid/components/grid/Grid.tsx
@@ -309,7 +309,9 @@ export const Grid = memo(
<div
className={cn(
'flex flex-col items-center justify-center w-full h-full mt-9 transition',
- isTableEmpty && isDraggedOver && 'border-2 border-dashed border-brand'
+ isTableEmpty &&
+ isDraggedOver &&
+ 'border-2 border-dashed border-brand-default'
)}
>
<p className="text-sm text-light pointer-events-auto">This table is empty</p>
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index d4dfb13d85b..1cbf7f7de63 100644
--- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -190,7 +190,7 @@ export const ProviderForm = ({ config, provider, isActive }: ProviderFormProps)
meta={
isActive ? (
<div className="flex items-center gap-1 rounded-full border border-brand-400 bg-brand-200 py-1 px-1 text-xs text-brand">
- <span className="rounded-full bg-brand p-0.5 text-xs text-brand-200">
+ <span className="rounded-full bg-brand-default p-0.5 text-xs text-brand-200">
<Check strokeWidth={2} size={12} />
</span>
<span className="px-1">Enabled</span>
diff --git a/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx b/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
index 0eea9bc7835..6a48a261665 100644
--- a/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
+++ b/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
@@ -117,7 +117,7 @@ export const HookCard = ({ hook, onSelectEdit, onSelectDelete }: HookCardProps)
<div className="flex items-center gap-x-2">
{hook.enabled ? (
<Badge className="space-x-1" variant="success">
- <div className="h-3.5 w-3.5 bg-brand rounded-full flex justify-center items-center">
+ <div className="h-3.5 w-3.5 bg-brand-default rounded-full flex justify-center items-center">
<Check className="h-2 w-2 text-background-overlay " strokeWidth={6} />
</div>
<span>Enabled</span>
diff --git a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
index 8434ae41fc8..4028af7a906 100644
--- a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
+++ b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
@@ -209,7 +209,7 @@ export const IntegrationCard = ({
<div className="shrink-0">
{true ? (
<Badge className="space-x-1" variant="success">
- <div className="h-3.5 w-3.5 bg-brand rounded-full flex justify-center items-center">
+ <div className="h-3.5 w-3.5 bg-brand-default rounded-full flex justify-center items-center">
<Check className="h-2 w-2 text-background-overlay" strokeWidth={6} />
</div>
<span>Enabled</span>
diff --git a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
index 59a1ebf0f8e..66cf9eb198c 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
@@ -274,7 +274,7 @@ export const UserOverview = ({ user, onDeleteSuccess }: UserOverviewProps) => {
</div>
{isActive ? (
<div className="flex items-center gap-1 rounded-full border border-brand-400 bg-brand-200 py-1 px-1 text-xs text-brand">
- <span className="rounded-full bg-brand p-0.5 text-xs text-brand-200">
+ <span className="rounded-full bg-brand-default p-0.5 text-xs text-brand-200">
<Check strokeWidth={2} size={12} />
</span>
<span className="px-1">Enabled</span>
diff --git a/apps/studio/components/interfaces/Compute/Compute.constants.ts b/apps/studio/components/interfaces/Compute/Compute.constants.ts
index e0424f7eb84..d62a3f7d45f 100644
--- a/apps/studio/components/interfaces/Compute/Compute.constants.ts
+++ b/apps/studio/components/interfaces/Compute/Compute.constants.ts
@@ -128,7 +128,11 @@ const BUILD_STATE_META: Record<ComputeInstanceBuildState, ComputeInstanceStateMe
dotClassName: 'bg-warning',
textClassName: 'text-foreground-light',
},
- active: { label: 'Active', dotClassName: 'bg-brand', textClassName: 'text-foreground-light' },
+ active: {
+ label: 'Active',
+ dotClassName: 'bg-brand-default',
+ textClassName: 'text-foreground-light',
+ },
failed: {
label: 'Failed',
dotClassName: 'bg-destructive',
diff --git a/apps/studio/components/interfaces/Connect/OrganizationSelector.tsx b/apps/studio/components/interfaces/Connect/OrganizationSelector.tsx
index 1981518849c..7eff2bafc43 100644
--- a/apps/studio/components/interfaces/Connect/OrganizationSelector.tsx
+++ b/apps/studio/components/interfaces/Connect/OrganizationSelector.tsx
@@ -210,7 +210,7 @@ const ConnectOrganizationButton = ({
'pointer-events-none shadow-none transition-colors',
!disabled && !selected && 'group-hover:border-default group-hover:bg-surface-200',
selected &&
- 'border-brand bg-brand-200/20 dark:bg-brand-300 pr-10 group-hover:border-brand group-hover:bg-brand-200/20'
+ 'border-brand-default bg-brand-200/20 dark:bg-brand-300 pr-10 group-hover:border-brand-default group-hover:bg-brand-200/20'
)}
/>
{selected && (
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/BigQuery/Fields.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/BigQuery/Fields.tsx
index ccbfa0c9691..a1d76098de4 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/BigQuery/Fields.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/BigQuery/Fields.tsx
@@ -183,7 +183,7 @@ export const BigQueryFields = ({
{isDraggingFile ? (
<div
aria-hidden="true"
- className="pointer-events-none absolute inset-0 rounded-md ring-2 ring-brand ring-offset-2 ring-offset-background"
+ className="pointer-events-none absolute inset-0 rounded-md ring-2 ring-brand-default ring-offset-2 ring-offset-background"
/>
) : null}
</div>
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
index eaa6dc6a442..49658d96824 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
@@ -85,7 +85,7 @@ export const ReplicationNode = ({ id }: { id: string }) => {
<div
className={cn(
'w-2 h-2 rounded-full',
- statusName === 'started' ? 'bg-brand' : 'bg-destructive'
+ statusName === 'started' ? 'bg-brand-default' : 'bg-destructive'
)}
/>
</div>
diff --git a/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx b/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx
index e899c12da4d..7f5de5d01f7 100644
--- a/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx
@@ -166,7 +166,7 @@ export const RowMenu = ({
/>
{hasUpdate && (
<span
- className="absolute -top-0.5 -right-0.5 h-2 w-2 bg-brand rounded-full"
+ className="absolute -top-0.5 -right-0.5 h-2 w-2 bg-brand-default rounded-full"
aria-hidden
/>
)}
diff --git a/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx b/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
index 9271591d769..cb3984b0101 100644
--- a/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
+++ b/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
@@ -140,8 +140,8 @@ export const RoleRow = ({ role, disabled = false, onSelectDelete }: RoleRowProps
{role.activeConnections > 0 && (
<div className="relative h-2 w-2">
<span className="flex h-2 w-2">
- <span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-brand opacity-75"></span>
- <span className="relative inline-flex h-2 w-2 rounded-full bg-brand opacity-75"></span>
+ <span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-brand-default opacity-75"></span>
+ <span className="relative inline-flex h-2 w-2 rounded-full bg-brand-default opacity-75"></span>
</span>
</div>
)}
diff --git a/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx b/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
index 28378ebba23..2925695d662 100644
--- a/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
@@ -52,7 +52,9 @@ const DefaultEdgeComponent = ({
<BaseEdge
id={id}
path={edgePath}
- className={cn(selected ? 'stroke-brand!' : isDownloading ? 'stroke-black!' : undefined)}
+ className={cn(
+ selected ? 'stroke-brand-default!' : isDownloading ? 'stroke-black!' : undefined
+ )}
stroke="#000000"
{...props}
/>
@@ -141,7 +143,7 @@ const EdgeRelationInfo = ({
<Badge
ref={checkIfShouldBeDisplayed}
className={cn(
- 'absolute pointer-events-auto z-50 p-1 rounded-[4px] gap-1 outline outline-1 outline-brand',
+ 'absolute pointer-events-auto z-50 p-1 rounded-[4px] gap-1 outline outline-1 outline-brand-default',
show ? 'opacity-100' : 'opacity-0'
)}
style={{
diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
index 88554e4a406..ac1f5b346c1 100644
--- a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
@@ -72,7 +72,7 @@ const TableNodeComponent = ({
<header
className={cn(
'text-[0.55rem] px-2 py-1 border-[0.5px] rounded-[4px] bg-alternative flex gap-1 items-center',
- hasEdgesSelected ? 'outline outline-1 outline-brand' : undefined
+ hasEdgesSelected ? 'outline outline-1 outline-brand-default' : undefined
)}
>
{data.name}
@@ -89,7 +89,7 @@ const TableNodeComponent = ({
<div
className={cn(
'border-[0.5px] overflow-hidden rounded-[4px] shadow-xs',
- hasEdgesSelected ? 'outline outline-1 outline-brand' : undefined
+ hasEdgesSelected ? 'outline outline-1 outline-brand-default' : undefined
)}
style={{ width: TABLE_NODE_WIDTH / 2 }}
>
diff --git a/apps/studio/components/interfaces/Database/Tables/ConstraintToken.tsx b/apps/studio/components/interfaces/Database/Tables/ConstraintToken.tsx
index 22bf69d3cf0..5c35c13e46b 100644
--- a/apps/studio/components/interfaces/Database/Tables/ConstraintToken.tsx
+++ b/apps/studio/components/interfaces/Database/Tables/ConstraintToken.tsx
@@ -16,7 +16,7 @@ const constraintTokenClassName = cn(
export const ConstraintToken = ({ icon, label, variant = 'default' }: ConstraintTokenProps) => {
const tokenToneClassName =
variant === 'primary'
- ? 'bg-brand/10 text-brand-600 border-brand-500'
+ ? 'bg-brand-default/10 text-brand-600 border-brand-500'
: variant === 'default'
? 'bg-surface-75 text-foreground-light border-strong'
: 'bg-surface-75/50 text-foreground-light border-strong'
diff --git a/apps/studio/components/interfaces/Database/Tables/TableList.tsx b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
index 0f59a3c4e31..5961fd563ee 100644
--- a/apps/studio/components/interfaces/Database/Tables/TableList.tsx
+++ b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
@@ -498,7 +498,7 @@ export const TableList = ({
(table) => table.id === x.id
) ? (
<div className="flex items-center gap-x-2">
- <Check size={16} strokeWidth={2} className="text-brand-link" />
+ <Check size={16} strokeWidth={2} className="text-brand" />
<p className="text-foreground-light">Enabled</p>
</div>
) : (
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
index 9504d551dae..1034f3e7100 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
@@ -139,8 +139,8 @@ export const DiskManagementReviewAndSubmitDialog = ({
</div>
<div className="animate-badge-pulse absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-dash-sidebar border border-brand-500 flex items-center justify-center z-10 overflow-hidden">
- <span className="absolute inset-0 bg-brand/10 rounded-full" />
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="absolute inset-0 bg-brand-default/10 rounded-full" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand-default/20 to-transparent blur-md" />
<ArrowRight size={16} className="text-brand-600 relative z-10" strokeWidth={2.5} />
</div>
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
index 8f9bc873187..64abade0edb 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
@@ -101,7 +101,7 @@ export const DiskSpaceBar = ({ form }: DiskSpaceBarProps) => {
<div
className={cn(
'h-[35px] relative border rounded-xs w-full transition overflow-visible',
- showNewSize ? 'bg-selection border border-brand' : 'bg-surface-300'
+ showNewSize ? 'bg-selection border border-brand-default' : 'bg-surface-300'
)}
>
<AnimatePresence>
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.Header.tsx b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.Header.tsx
index f757842e264..7c74cc10aaf 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.Header.tsx
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.Header.tsx
@@ -98,7 +98,7 @@ export function ExplainHeader({ mode, onToggleMode, summary, id, rows }: Explain
<span>Seq Scan (slow)</span>
</div>
<div className="flex items-center gap-1.5">
- <span className="inline-block w-1.5 h-1.5 rounded-full bg-brand" />
+ <span className="inline-block w-1.5 h-1.5 rounded-full bg-brand-default" />
<span>Index Scan (fast)</span>
</div>
</div>
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
index 6d7a505a652..2489e735a51 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
@@ -154,7 +154,7 @@ export function getScanBarColor(operation: string): string {
op.includes('index only scan') ||
op.includes('bitmap index scan')
) {
- return 'bg-brand/20'
+ return 'bg-brand-default/20'
}
// Sequential scans are yellow
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
index 6c36f230420..fa1d4e56862 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
@@ -90,7 +90,7 @@ export const EdgeFunctionRecentInvocations = ({
<div
className={cn(
'flex items-center justify-center border px-1.5 py-0.5 rounded-sm text-xs font-mono',
- is2xx && 'text-brand border-brand bg-brand-300',
+ is2xx && 'text-brand border-brand-default bg-brand-300',
is4xx && 'text-warning border-warning bg-warning-300',
is5xx && 'text-destructive border-destructive bg-destructive-300',
!is2xx &&
diff --git a/apps/studio/components/interfaces/Integrations/Integration/ConnectedResourceGroupSection.tsx b/apps/studio/components/interfaces/Integrations/Integration/ConnectedResourceGroupSection.tsx
index e629b9fad88..c5db730973c 100644
--- a/apps/studio/components/interfaces/Integrations/Integration/ConnectedResourceGroupSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/Integration/ConnectedResourceGroupSection.tsx
@@ -26,7 +26,7 @@ export const ResourceGroupSection = ({
) : (
group.badge && (
<Badge variant="success" className="gap-x-1.5">
- <span className="h-1.5 w-1.5 rounded-full bg-brand" />
+ <span className="h-1.5 w-1.5 rounded-full bg-brand-default" />
{group.badge}
</Badge>
)
diff --git a/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx b/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx
index 26f807d0765..a4aa966eee7 100644
--- a/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx
+++ b/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx
@@ -92,8 +92,8 @@ export const IntegrationCard = ({
</div>
{isInstalled && (
<div className="flex items-center gap-x-1">
- <BadgeCheck size={14} className="text-brand-link" />
- <span className="text-brand-link text-xs">Installed</span>
+ <BadgeCheck size={14} className="text-brand" />
+ <span className="text-brand text-xs">Installed</span>
</div>
)}
</div>
diff --git a/apps/studio/components/interfaces/Observability/DatabaseConnections/ActivityRow.tsx b/apps/studio/components/interfaces/Observability/DatabaseConnections/ActivityRow.tsx
index 829290f74a2..14c0a8eb1ea 100644
--- a/apps/studio/components/interfaces/Observability/DatabaseConnections/ActivityRow.tsx
+++ b/apps/studio/components/interfaces/Observability/DatabaseConnections/ActivityRow.tsx
@@ -210,7 +210,7 @@ export const ActivityRow = ({
>
<TableCell className="relative w-[70px]">
{selectedPid === activity.pid && (
- <div className="absolute h-full bg-brand top-0 left-0 w-1 bg-foreground-lighter" />
+ <div className="absolute h-full bg-brand-default top-0 left-0 w-1" />
)}
{/* Absolute (not inline in the flex row) so top-0/bottom-0 ignore the cell's padding and touch the adjacent row */}
diff --git a/apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx b/apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx
index 3b6063e7376..564a99d49c7 100644
--- a/apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx
+++ b/apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx
@@ -47,7 +47,7 @@ const colorClassMap: Record<string, string> = {
muted: 'bg-gray-500',
destructive: 'bg-destructive',
warning: 'bg-warning',
- brand: 'bg-brand',
+ brand: 'bg-brand-default',
}
const LEVEL_CHART_CONFIG: ChartConfig = {
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
index 09efd36d419..08e2674fb37 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
@@ -169,12 +169,12 @@ function ControlCard({
'px-4 py-4 flex flex-col items-start justify-between',
'border rounded-md col-span-12 md:col-span-4 bg-surface-200',
shouldHighlight &&
- 'ring-4 ring-brand animate-[pulse_1.5s_ease-in-out_1] motion-reduce:animate-none shadow-md shadow-brand/40'
+ 'ring-4 ring-brand-default animate-[pulse_1.5s_ease-in-out_1] motion-reduce:animate-none shadow-md shadow-brand-default/40'
)}
>
<div className="w-full">
<div className="flex items-center space-x-2">
- <p className="text-brand-link text-sm uppercase">{plan.name}</p>
+ <p className="text-brand text-sm uppercase">{plan.name}</p>
{isCurrentPlan ? (
<div className="text-xs bg-surface-300 text-foreground-light rounded-sm px-2 py-0.5">
Current plan
@@ -264,7 +264,7 @@ function ParityCard({
'flex flex-col items-start justify-between',
'border rounded-md col-span-12 md:col-span-4 bg-surface-200',
shouldHighlight &&
- 'ring-4 ring-brand animate-[pulse_1.5s_ease-in-out_1] motion-reduce:animate-none shadow-md shadow-brand/40'
+ 'ring-4 ring-brand-default animate-[pulse_1.5s_ease-in-out_1] motion-reduce:animate-none shadow-md shadow-brand-default/40'
)}
>
<div className="w-full px-4 pt-4">
diff --git a/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx b/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
index 97c81ceebf2..72572ebed2c 100644
--- a/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
@@ -396,7 +396,7 @@ export function CustomReportSection() {
</div>
<div className="relative">
{isDraggingOver && (
- <div className="absolute inset-0 rounded-sm bg-brand/10 pointer-events-none z-10" />
+ <div className="absolute inset-0 rounded-sm bg-brand-default/10 pointer-events-none z-10" />
)}
{layout.length === 0 ? (
<div
diff --git a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
index 660c86bd110..69b31a420b6 100644
--- a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
@@ -332,7 +332,7 @@ export const ServiceStatus = () => {
(isProjectNew && service.status !== 'ACTIVE_HEALTHY')
? 'bg-foreground-lighter animate-pulse'
: service.status === 'ACTIVE_HEALTHY'
- ? 'bg-brand'
+ ? 'bg-brand-default'
: 'bg-selection'
)}
/>
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
index 75162f30a1f..8a65752c317 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
@@ -139,7 +139,9 @@ export const UtilityActions = ({
size={14}
strokeWidth={2}
className={
- isFavorite ? 'fill-brand stroke-none' : 'fill-none stroke-foreground-light'
+ isFavorite
+ ? 'fill-brand-default stroke-none'
+ : 'fill-none stroke-foreground-light'
}
/>
{isFavorite ? 'Remove from' : 'Add to'} favorites
@@ -198,7 +200,7 @@ export const UtilityActions = ({
size="tiny"
onClick={() => saveFavorite(id, false)}
className="px-1"
- icon={<Heart className="fill-brand stroke-none" />}
+ icon={<Heart className="fill-brand-default stroke-none" />}
aria-label="Remove from favorites"
/>
) : (
diff --git a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
index 91a6bb48504..1defb988137 100644
--- a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
+++ b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
@@ -46,7 +46,7 @@ export const CustomDomainDelete = ({ projectRef, customDomain }: CustomDomainDel
<p className="text-xs text-foreground-light">Active custom domain:</p>
<div className="flex items-center space-x-2">
<code className="text-lg mx-0 flex items-center space-x-2">
- <div className="h-2 w-2 rounded-full bg-brand" />
+ <div className="h-2 w-2 rounded-full bg-brand-default" />
<span>
<code className="text-code-inline">{customDomain.hostname}</code>
</span>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
index c0c634b2a7a..2fc7960e9ac 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
@@ -311,7 +311,7 @@ export const ReplicaNode = ({ data }: NodeProps<Node<ReplicaNodeData>>) => {
type="horizontal"
value={stagePercent * 100}
max={100}
- barClass="bg-brand"
+ barClass="bg-brand-default"
/>
</div>
</TooltipTrigger>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
index 93c70b1c03c..503c973d494 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
@@ -178,7 +178,7 @@ const MapView = () => {
<circle
r={4}
className={`animate-ping ${
- hasNoDatabases ? 'fill-border-stronger' : 'fill-brand'
+ hasNoDatabases ? 'fill-border-stronger' : 'fill-brand-default'
}`}
/>
)}
@@ -188,7 +188,7 @@ const MapView = () => {
hasNoDatabases
? 'fill-background-surface-300 stroke-border-stronger'
: hasPrimary
- ? 'fill-brand stroke-brand-500'
+ ? 'fill-brand-default stroke-brand-500'
: 'fill-brand-500 stroke-brand-400'
}`}
/>
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
index 90183fca92e..91b805418b1 100644
--- a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
@@ -418,7 +418,7 @@ export const LogsDatePicker = ({
size="tiny"
onClick={handleCopy}
className={cn({
- 'text-brand-link': copied || pasted,
+ 'text-brand': copied || pasted,
})}
>
{copied ? 'Copied!' : pasted ? 'Pasted!' : 'Copy range'}
diff --git a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
index e2bf90d47b9..4c65a2629f0 100644
--- a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
@@ -196,7 +196,7 @@ export const PreviewFilterPanel = ({
<div className="relative">
{newCount > 0 && (
<div className="absolute -top-3 -right-3 flex items-center justify-center">
- <div className="absolute h-4 w-4 animate-ping rounded-full bg-brand opacity-60"></div>
+ <div className="absolute h-4 w-4 animate-ping rounded-full bg-brand-default opacity-60"></div>
<div className="relative z-10 flex h-4 min-w-4 items-center justify-center rounded-full bg-brand-500 px-1 text-[10px] font-medium leading-none text-white">
{newCount > 1000 ? `${Math.floor(newCount / 100) / 10}K` : newCount}
</div>
diff --git a/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx b/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx
index cd48b4159f5..ad809eccb87 100644
--- a/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx
+++ b/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx
@@ -122,7 +122,7 @@ const PolicyAllowedOperations = ({ allowedOperations = [], onToggleOperation = (
className={cn(
'text-xs font-mono leading-[1.1] px-2 py-1 rounded-full border font-normal whitespace-nowrap transition-colors duration-200',
allowedClientLibraryMethods.includes(method)
- ? 'bg-brand/10 text-brand-600 border-brand-500'
+ ? 'bg-brand-default/10 text-brand-600 border-brand-500'
: 'bg-surface-75 text-foreground-lighter border-muted'
)}
>
diff --git a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
index 8e8e7b76119..65d3e36a92f 100644
--- a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
+++ b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
@@ -59,7 +59,7 @@ function LinkSupportTicketSuccess() {
<div className="flex flex-col items-center gap-y-4 py-8">
<div className="relative">
<Mail strokeWidth={1.5} size={60} className="text-brand" />
- <div className="h-6 w-6 rounded-full bg-brand absolute bottom-1 -right-1.5 flex items-center justify-center">
+ <div className="h-6 w-6 rounded-full bg-brand-default absolute bottom-1 -right-1.5 flex items-center justify-center">
<Check strokeWidth={4} size={16} className="text-contrast" />
</div>
</div>
diff --git a/apps/studio/components/interfaces/Support/SupportFormPage.tsx b/apps/studio/components/interfaces/Support/SupportFormPage.tsx
index a9979fa2c8e..85176cc86ca 100644
--- a/apps/studio/components/interfaces/Support/SupportFormPage.tsx
+++ b/apps/studio/components/interfaces/Support/SupportFormPage.tsx
@@ -157,7 +157,10 @@ function SupportFormHeader() {
<Loader2 className="animate-spin" />
) : (
<div
- className={cn('h-2 w-2 rounded-full', isIncident ? 'bg-warning' : 'bg-brand')}
+ className={cn(
+ 'h-2 w-2 rounded-full',
+ isIncident ? 'bg-warning' : 'bg-brand-default'
+ )}
/>
)
}
diff --git a/apps/studio/components/interfaces/Support/SupportSidebarForm.tsx b/apps/studio/components/interfaces/Support/SupportSidebarForm.tsx
index 48814a0b585..f73d2ce1576 100644
--- a/apps/studio/components/interfaces/Support/SupportSidebarForm.tsx
+++ b/apps/studio/components/interfaces/Support/SupportSidebarForm.tsx
@@ -137,7 +137,12 @@ export function SupportFormStatusButton() {
isLoading ? (
<Loader2 className="animate-spin" />
) : (
- <div className={cn('h-2 w-2 rounded-full', isIncident ? 'bg-warning' : 'bg-brand')} />
+ <div
+ className={cn(
+ 'h-2 w-2 rounded-full',
+ isIncident ? 'bg-warning' : 'bg-brand-default'
+ )}
+ />
)
}
>
diff --git a/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx b/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
index 17e069e6683..5a5b13b8c7d 100644
--- a/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
@@ -76,7 +76,7 @@ export const InsertButton = () => {
<div
className={cn([
'border border-foreground-light w-[15px] h-[4px] translate-x-0.5',
- 'transition duration-200 group-data-highlighted:border-brand group-data-highlighted:translate-x-0',
+ 'transition duration-200 group-data-highlighted:border-brand-default group-data-highlighted:translate-x-0',
])}
/>
</div>
@@ -97,7 +97,7 @@ export const InsertButton = () => {
<div
className={cn([
'border border-foreground-light w-[4px] h-[15px] -translate-y-0.5',
- 'transition duration-200 group-data-highlighted:border-brand group-data-highlighted:translate-y-0',
+ 'transition duration-200 group-data-highlighted:border-brand-default group-data-highlighted:translate-y-0',
])}
/>
</div>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx
index 300ccae2177..df196420abb 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx
@@ -76,7 +76,7 @@ export const AddRowOperationItem = ({
/>
</CardHeader>
- <CardContent className="py-2 px-3 font-mono text-xs text-brand-link">
+ <CardContent className="py-2 px-3 font-mono text-xs text-brand">
{previewColumns.length === 0 && (
<span className="text-foreground-light">
No data provided, default values will be used
@@ -84,7 +84,7 @@ export const AddRowOperationItem = ({
)}
{previewColumns.map(([key, value]) => (
<div key={key} className="flex gap-2 py-0.5">
- <span className="text-brand-link select-none font-medium">+</span>
+ <span className="text-brand select-none font-medium">+</span>
<span className="shrink-0">{key}:</span>
<span className="truncate min-w-0" title={formatOperationItemValue(value)}>
{formatOperationItemValue(value)}
@@ -93,7 +93,7 @@ export const AddRowOperationItem = ({
))}
{remainingCount > 0 && (
<div className="flex gap-2 py-0.5">
- <span className="text-brand-link select-none font-medium">+</span>
+ <span className="text-brand select-none font-medium">+</span>
<span>+{remainingCount} more column(s)</span>
</div>
)}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationItem.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationItem.tsx
index 1e50aee0f58..010f8718a89 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationItem.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationItem.tsx
@@ -82,8 +82,8 @@ export const OperationItem = ({ operationId, tableId, content }: OperationItemPr
</div>
<div className="flex gap-2 py-0.5">
- <span className="text-brand-link select-none font-medium">+</span>
- <span className="text-brand-link truncate max-w-full" title={formattedNewValue}>
+ <span className="text-brand select-none font-medium">+</span>
+ <span className="text-brand truncate max-w-full" title={formattedNewValue}>
{formattedNewValue}
</span>
</div>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx
index 39b053096de..b93c3856de4 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx
@@ -592,7 +592,7 @@ export const createTable = async ({
value={progress}
max={100}
type="horizontal"
- barClass="bg-brand"
+ barClass="bg-brand-default"
labelBottom={`Adding ${importContent.rowCount.toLocaleString()} rows to ${table.name}`}
labelBottomClass=""
labelTop={`${progress.toFixed(2)}%`}
@@ -629,7 +629,7 @@ export const createTable = async ({
value={progress}
max={100}
type="horizontal"
- barClass="bg-brand"
+ barClass="bg-brand-default"
labelBottom={`Adding ${importContent.rows.length.toLocaleString()} rows to ${table.name}`}
labelTop={`${progress.toFixed(2)}%`}
labelTopClass="tabular-nums"
diff --git a/apps/studio/components/layouts/AppLayout/AdvisorButton.test.tsx b/apps/studio/components/layouts/AppLayout/AdvisorButton.test.tsx
index c921a182b70..72438ce15b1 100644
--- a/apps/studio/components/layouts/AppLayout/AdvisorButton.test.tsx
+++ b/apps/studio/components/layouts/AppLayout/AdvisorButton.test.tsx
@@ -84,7 +84,7 @@ describe('AdvisorButton', () => {
expect(container.querySelector('.bg-warning')).toBeInTheDocument()
expect(container.querySelector('.bg-destructive')).not.toBeInTheDocument()
- expect(container.querySelector('.bg-brand')).not.toBeInTheDocument()
+ expect(container.querySelector('.bg-brand-default')).not.toBeInTheDocument()
})
it('keeps the destructive dot when a critical issue is present', () => {
@@ -151,7 +151,7 @@ describe('AdvisorButton', () => {
const { container } = render(<AdvisorButton projectRef="project-ref" />)
- expect(container.querySelector('.bg-brand')).toBeInTheDocument()
+ expect(container.querySelector('.bg-brand-default')).toBeInTheDocument()
expect(container.querySelector('.bg-warning')).not.toBeInTheDocument()
expect(container.querySelector('.bg-destructive')).not.toBeInTheDocument()
expect(screen.getByRole('button')).toBeInTheDocument()
diff --git a/apps/studio/components/layouts/AppLayout/AdvisorButton.tsx b/apps/studio/components/layouts/AppLayout/AdvisorButton.tsx
index 5006cd40349..286152ec0b3 100644
--- a/apps/studio/components/layouts/AppLayout/AdvisorButton.tsx
+++ b/apps/studio/components/layouts/AppLayout/AdvisorButton.tsx
@@ -86,7 +86,7 @@ export const AdvisorButton = ({ projectRef }: { projectRef?: string }) => {
) : hasWarningIssues ? (
<span className="absolute top-1.5 right-1.5 w-1.5 h-1.5 rounded-full bg-warning" />
) : hasUnreadNotifications ? (
- <span className="absolute top-1.5 right-1.5 w-1.5 h-1.5 rounded-full bg-brand" />
+ <span className="absolute top-1.5 right-1.5 w-1.5 h-1.5 rounded-full bg-brand-default" />
) : null}
</div>
)
diff --git a/apps/studio/components/layouts/Navigation/LayoutHeader/MergeRequestButton.tsx b/apps/studio/components/layouts/Navigation/LayoutHeader/MergeRequestButton.tsx
index 01158b8595b..ce40f77066a 100644
--- a/apps/studio/components/layouts/Navigation/LayoutHeader/MergeRequestButton.tsx
+++ b/apps/studio/components/layouts/Navigation/LayoutHeader/MergeRequestButton.tsx
@@ -73,7 +73,7 @@ export const MergeRequestButton = () => {
icon={
<div className="relative">
{hasReviewRequested && (
- <span className="w-1 h-1 absolute top-0 right-0 rounded-full bg-brand" />
+ <span className="w-1 h-1 absolute top-0 right-0 rounded-full bg-brand-default" />
)}
<GitMerge size={16} strokeWidth={1.5} />
</div>
diff --git a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx
index 978b326dd0f..a17c94089a4 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx
@@ -428,7 +428,9 @@ export const SQLEditorTreeViewItem = ({
<Heart
size={14}
className={cn(
- isFavorite ? 'fill-brand stroke-none' : 'fill-none stroke-foreground-light'
+ isFavorite
+ ? 'fill-brand-default stroke-none'
+ : 'fill-none stroke-foreground-light'
)}
/>
{isFavorite ? 'Remove from' : 'Add to'} favorites
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
index b1b0aa1e4c8..fd4d2eb00fc 100644
--- a/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
+++ b/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
@@ -35,9 +35,9 @@ export const BannerFreeMicroUpgrade = () => {
<ComputeBadge
infraComputeSize="nano"
icon={<ChevronsUpAnimated />}
- className="text-brand-600 border-brand-500 bg-brand/10 gap-1"
+ className="text-brand-600 border-brand-500 bg-brand-default/10 gap-1"
/>
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand-default/20 to-transparent blur-md" />
</div>
</div>
</div>
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx
index 1aa4468144e..ae8a1a8445b 100644
--- a/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx
+++ b/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx
@@ -49,8 +49,8 @@ export const BannerTableEditorQueueOperations = () => {
</div>
<div className="flex gap-2 py-0.5">
- <span className="text-brand-link select-none font-medium">+</span>
- <span className="text-brand-link truncate max-w-full">Blue</span>
+ <span className="text-brand select-none font-medium">+</span>
+ <span className="text-brand truncate max-w-full">Blue</span>
</div>
</CardContent>
</Card>
diff --git a/apps/studio/components/ui/ComputeBadgeWrapper.tsx b/apps/studio/components/ui/ComputeBadgeWrapper.tsx
index 016a62ea1d3..81e58fe2e0f 100644
--- a/apps/studio/components/ui/ComputeBadgeWrapper.tsx
+++ b/apps/studio/components/ui/ComputeBadgeWrapper.tsx
@@ -115,12 +115,12 @@ export const ComputeBadgeWrapper = ({
infraComputeSize={computeSize}
icon={showUpgradeGlow && <ChevronsUpAnimated />}
className={cn(
- showUpgradeGlow && 'text-brand-600 border-brand-500 bg-brand/10 gap-1',
+ showUpgradeGlow && 'text-brand-600 border-brand-500 bg-brand-default/10 gap-1',
badgeClassName
)}
/>
{showUpgradeGlow && (
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand-default/20 to-transparent blur-md" />
)}
</div>
</div>
diff --git a/apps/studio/components/ui/DotPing.tsx b/apps/studio/components/ui/DotPing.tsx
index 7bdca2e7024..711103c9fdc 100644
--- a/apps/studio/components/ui/DotPing.tsx
+++ b/apps/studio/components/ui/DotPing.tsx
@@ -12,7 +12,7 @@ export const DotPing = ({ animate = true, variant = 'primary' }: DotPingProps) =
className={cn(
'absolute inset-0 rounded-full',
animate && 'animate-ping',
- variant === 'primary' && 'bg-brand/20',
+ variant === 'primary' && 'bg-brand-default/20',
variant === 'default' && 'bg-selection/20',
variant === 'warning' && 'bg-warning/20'
)}
@@ -24,7 +24,7 @@ export const DotPing = ({ animate = true, variant = 'primary' }: DotPingProps) =
<span
className={cn(
'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 inline-block w-2 h-2 rounded-full',
- variant === 'primary' && 'bg-brand',
+ variant === 'primary' && 'bg-brand-default',
variant === 'default' && 'bg-selection',
variant === 'warning' && 'bg-warning'
)}
diff --git a/apps/studio/pages/project/[ref]/observability/connections.tsx b/apps/studio/pages/project/[ref]/observability/connections.tsx
index 32fa7903510..85ea8e64341 100644
--- a/apps/studio/pages/project/[ref]/observability/connections.tsx
+++ b/apps/studio/pages/project/[ref]/observability/connections.tsx
@@ -95,7 +95,7 @@ export const DatabaseConnections: NextPageWithLayout = () => {
<Tooltip>
<TooltipTrigger className="flex items-center">
<Badge variant="success">
- <span className="h-1.5 w-1.5 bg-brand rounded-full animate-pulse" />
+ <span className="h-1.5 w-1.5 bg-brand-default rounded-full animate-pulse" />
<span>Live</span>
</Badge>
</TooltipTrigger>
diff --git a/apps/studio/styles/grid.css b/apps/studio/styles/grid.css
index b3582635435..87b98cdcdb7 100644
--- a/apps/studio/styles/grid.css
+++ b/apps/studio/styles/grid.css
@@ -60,7 +60,7 @@
.rdg-cell {
border-left-color: hsl(var(--brand-default));
- color: hsl(var(--brand-link));
+ color: var(--primary);
}
/* First cell gets a stronger left border to indicate new row */
@@ -329,7 +329,7 @@
}
.sb-grid-column-header__inner svg {
- @apply border-brand text-brand;
+ @apply border-brand-default text-brand;
}
/*
diff --git a/apps/studio/styles/react-data-grid-logs.css b/apps/studio/styles/react-data-grid-logs.css
index 438e2a9e89a..577a243a5fb 100644
--- a/apps/studio/styles/react-data-grid-logs.css
+++ b/apps/studio/styles/react-data-grid-logs.css
@@ -29,7 +29,7 @@
.rdg-row {
&.rdg-row--focused {
- @apply border-r border-brand;
+ @apply border-r border-brand-default;
border-right-width: 4px;
}
@@ -71,7 +71,7 @@
.rdg-row {
&.rdg-row--focused {
- @apply border-r border-brand;
+ @apply border-r border-brand-default;
border-right-width: 4px;
}
diff --git a/apps/studio/styles/ui.css b/apps/studio/styles/ui.css
index c242e8f58f6..7f043980a39 100644
--- a/apps/studio/styles/ui.css
+++ b/apps/studio/styles/ui.css
@@ -303,7 +303,7 @@
::-moz-selection {
/* Code for Firefox */
- @apply bg-brand;
+ @apply bg-brand-default;
color: #333 !important;
}
diff --git a/apps/www/_go/events/stripe-sessions-2026/meeting-scheduler.tsx b/apps/www/_go/events/stripe-sessions-2026/meeting-scheduler.tsx
index 14175c847d4..193c4d01772 100644
--- a/apps/www/_go/events/stripe-sessions-2026/meeting-scheduler.tsx
+++ b/apps/www/_go/events/stripe-sessions-2026/meeting-scheduler.tsx
@@ -38,7 +38,7 @@ const page: GoPageInput = {
<div className="flex flex-wrap gap-4 justify-center mt-6">
<a
href="https://supabase.com/dashboard"
- className="inline-flex items-center justify-center rounded-md bg-brand text-white px-5 py-2.5 text-sm font-medium hover:bg-brand/90 transition-colors"
+ className="inline-flex items-center justify-center rounded-md bg-brand-default text-white px-5 py-2.5 text-sm font-medium hover:bg-brand-default/90 transition-colors"
>
Start building with Supabase
</a>
diff --git a/apps/www/_go/pre-release/supabase-pipelines-new-destinations.tsx b/apps/www/_go/pre-release/supabase-pipelines-new-destinations.tsx
index deb6bfa6078..c5e4d0d2f97 100644
--- a/apps/www/_go/pre-release/supabase-pipelines-new-destinations.tsx
+++ b/apps/www/_go/pre-release/supabase-pipelines-new-destinations.tsx
@@ -138,7 +138,7 @@ const page: GoPageInput = {
className="group flex h-full flex-col gap-3 rounded-lg border border-muted bg-surface-100 p-5 text-left transition-colors hover:border-brand-600 hover:bg-surface-200"
>
<span className="text-sm text-foreground-lighter">Blog</span>
- <span className="text-lg font-medium text-foreground group-hover:text-brand-link">
+ <span className="text-lg font-medium text-foreground group-hover:text-brand">
Introducing Supabase Pipelines
</span>
<span className="text-sm leading-relaxed text-foreground-light">
@@ -151,7 +151,7 @@ const page: GoPageInput = {
className="group flex h-full flex-col gap-3 rounded-lg border border-muted bg-surface-100 p-5 text-left transition-colors hover:border-brand-600 hover:bg-surface-200"
>
<span className="text-sm text-foreground-lighter">Docs</span>
- <span className="text-lg font-medium text-foreground group-hover:text-brand-link">
+ <span className="text-lg font-medium text-foreground group-hover:text-brand">
Set up Pipelines
</span>
<span className="text-sm leading-relaxed text-foreground-light">
@@ -164,7 +164,7 @@ const page: GoPageInput = {
className="group flex h-full flex-col gap-3 rounded-lg border border-muted bg-surface-100 p-5 text-left transition-colors hover:border-brand-600 hover:bg-surface-200"
>
<span className="text-sm text-foreground-lighter">Guide</span>
- <span className="text-lg font-medium text-foreground group-hover:text-brand-link">
+ <span className="text-lg font-medium text-foreground group-hover:text-brand">
Realtime or Pipelines?
</span>
<span className="text-sm leading-relaxed text-foreground-light">
diff --git a/apps/www/app/(products)/_shared/QuoteSection.tsx b/apps/www/app/(products)/_shared/QuoteSection.tsx
index 9db9e4db4ca..866014246fc 100644
--- a/apps/www/app/(products)/_shared/QuoteSection.tsx
+++ b/apps/www/app/(products)/_shared/QuoteSection.tsx
@@ -24,7 +24,7 @@ export function QuoteSection({ quote, highlight, author }: QuoteSectionProps) {
{highlight && (
<>
{' '}
- <span className="text-brand-link">{highlight}</span>
+ <span className="text-brand">{highlight}</span>
</>
)}
</p>
diff --git a/apps/www/app/(products)/auth/_components/FeaturesSection.tsx b/apps/www/app/(products)/auth/_components/FeaturesSection.tsx
index 409c40963f8..7b576168625 100644
--- a/apps/www/app/(products)/auth/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/auth/_components/FeaturesSection.tsx
@@ -193,7 +193,7 @@ function IntegratedSkeleton() {
<div className="rounded-xl border border-border bg-surface-100 p-4">
<div className="flex flex-col gap-3">
<div className="flex items-center gap-2.5">
- <div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-brand/15 text-[10px] font-medium text-brand">
+ <div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-brand-default/15 text-[10px] font-medium text-brand">
CW
</div>
<div className="flex flex-col">
@@ -244,7 +244,7 @@ function IntegratedSkeleton() {
{/* Verify email card */}
<div className="rounded-xl border border-border bg-surface-100 p-4">
<div className="flex flex-col items-center gap-2.5">
- <div className="flex h-8 w-8 items-center justify-center rounded-full bg-brand/10">
+ <div className="flex h-8 w-8 items-center justify-center rounded-full bg-brand-default/10">
<svg
width="14"
height="14"
@@ -395,7 +395,7 @@ function IntegratedSkeleton() {
<span className="text-[10px] text-foreground">Authenticator app</span>
<span className="text-[9px] text-foreground-muted">TOTP via auth app</span>
</div>
- <div className="rounded bg-brand/15 px-1.5 py-0.5 text-[8px] font-medium text-brand">
+ <div className="rounded bg-brand-default/15 px-1.5 py-0.5 text-[8px] font-medium text-brand">
On
</div>
</div>
diff --git a/apps/www/app/(products)/database/_components/FeaturesSection.tsx b/apps/www/app/(products)/database/_components/FeaturesSection.tsx
index 2edd765bfdd..96b6d36b861 100644
--- a/apps/www/app/(products)/database/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/database/_components/FeaturesSection.tsx
@@ -478,7 +478,9 @@ function RealtimeSkeleton() {
key={msg.id}
className={cn(
'transition-colors duration-500',
- tableFlashId === msg.id ? 'bg-brand/15 dark:bg-brand/5' : 'bg-surface-75'
+ tableFlashId === msg.id
+ ? 'bg-brand-default/15 dark:bg-brand-default/5'
+ : 'bg-surface-75'
)}
>
<td className="border-b border-r border-default px-3 py-1.5 text-foreground-muted text-xs truncate max-w-0">
@@ -546,9 +548,9 @@ function RealtimeSkeleton() {
className={cn(
'max-w-[75%] px-3 py-1.5 rounded-xl text-xs leading-snug transition-colors duration-500',
isAlice
- ? 'bg-brand/15 text-foreground rounded-br-sm'
+ ? 'bg-brand-default/15 text-foreground rounded-br-sm'
: 'bg-surface-300 text-foreground rounded-bl-sm',
- chatFlashId === msg.id && 'ring-1 ring-brand/30'
+ chatFlashId === msg.id && 'ring-1 ring-brand-default/30'
)}
>
{msg.text}
diff --git a/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx b/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
index f37f71250a0..3d139ce391f 100644
--- a/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
+++ b/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
@@ -140,7 +140,7 @@ export function SpreadsheetIllustration() {
<td
key={col.name}
className={`border-b border-r last:border-r-0 border-secondary px-3 py-1.5 max-w-[200px] ${
- isEdited ? 'bg-brand/10' : ''
+ isEdited ? 'bg-brand-default/10' : ''
}`}
>
<span
diff --git a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
index b73f2cf638b..68f8f7f677a 100644
--- a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
@@ -177,7 +177,9 @@ function DatabaseChangesSkeleton() {
key={msg.id}
className={cn(
'transition-colors duration-500',
- tableFlashId === msg.id ? 'bg-brand/15 dark:bg-brand/5' : 'bg-surface-75'
+ tableFlashId === msg.id
+ ? 'bg-brand-default/15 dark:bg-brand-default/5'
+ : 'bg-surface-75'
)}
>
<td className="border-b border-r border-default px-3 py-1.5 text-foreground-muted text-xs truncate max-w-0">
@@ -245,9 +247,9 @@ function DatabaseChangesSkeleton() {
className={cn(
'max-w-[75%] px-3 py-1.5 rounded-xl text-xs leading-snug transition-colors duration-500',
isAlice
- ? 'bg-brand/15 text-foreground rounded-br-sm'
+ ? 'bg-brand-default/15 text-foreground rounded-br-sm'
: 'bg-surface-300 text-foreground rounded-bl-sm',
- chatFlashId === msg.id && 'ring-1 ring-brand/30'
+ chatFlashId === msg.id && 'ring-1 ring-brand-default/30'
)}
>
{msg.text}
@@ -626,7 +628,7 @@ function BroadcastSkeleton() {
key={i}
className={cn(
'absolute bottom-6 z-10 flex h-10 w-10 -translate-x-1/2 items-center justify-center rounded-xl border bg-surface-100 shadow-xs dark:shadow-sm transition-all duration-300',
- isFlashing ? 'border-brand text-brand' : 'border-border text-foreground-muted'
+ isFlashing ? 'border-brand-default text-brand' : 'border-border text-foreground-muted'
)}
style={{ left: `${xPercent}%` }}
>
diff --git a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx b/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
index 57d933117e5..55379f28805 100644
--- a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
@@ -38,7 +38,7 @@ function InteroperableSkeleton() {
{[0, 1].map((i) => (
<div
key={`left-conn-${i}`}
- className="relative h-[1.5px] w-full overflow-hidden bg-brand/18 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
+ className="relative h-[1.5px] w-full overflow-hidden bg-brand-default/18 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
>
<div
className="absolute inset-y-0 left-0 w-24 [animation:interopLineSweep_1.05s_linear_infinite]"
@@ -55,7 +55,7 @@ function InteroperableSkeleton() {
{[0, 1].map((i) => (
<div
key={`right-conn-${i}`}
- className="relative h-[1.5px] w-full overflow-hidden bg-brand/18 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
+ className="relative h-[1.5px] w-full overflow-hidden bg-brand-default/18 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
>
<div
className="absolute inset-y-0 left-0 w-24 [animation:interopLineSweep_1.05s_linear_infinite]"
@@ -153,7 +153,7 @@ function CDNSkeleton() {
{[-20, -10, 0, 10, 20].map((offset, i) => (
<div
key={`flash-${offset}`}
- className="relative h-px w-full overflow-hidden bg-brand/15 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
+ className="relative h-px w-full overflow-hidden bg-brand-default/15 [mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)] [webkit-mask-image:linear-gradient(to_right,transparent,black_20%,black_80%,transparent)]"
style={{ transform: `translateY(${offset}px)` }}
>
<div
@@ -177,7 +177,7 @@ function CDNSkeleton() {
<div className="relative flex h-[116px] w-[116px] items-center justify-center rounded-[24px] border border-foreground/15 bg-surface-200/95 shadow-[0_8px_28px_hsl(var(--background-default)/0.24)]">
<div className="absolute inset-0 rounded-[24px] shadow-[inset_0_1px_0_hsl(var(--foreground-default)/0.06)]" />
- <div className="absolute size-10 rounded-full bg-brand/15 blur-xl" />
+ <div className="absolute size-10 rounded-full bg-brand-default/15 blur-xl" />
<svg
width="48"
height="48"
diff --git a/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx b/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx
index d8f48055475..52bb5637aeb 100644
--- a/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx
+++ b/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx
@@ -361,7 +361,7 @@ function PartnerDetails({
<span className="text-lighter">Category</span>
<Link
href={`/partners/catalog?cat=${encodeURIComponent(category.slug)}`}
- className="text-brand-link hover:underline transition-colors"
+ className="text-brand hover:underline transition-colors"
>
{category.name}
</Link>
@@ -379,7 +379,7 @@ function PartnerDetails({
}
target="_blank"
rel="noreferrer"
- className="text-brand-link hover:underline transition-colors"
+ className="text-brand hover:underline transition-colors"
>
{(() => {
try {
@@ -402,7 +402,7 @@ function PartnerDetails({
href={activeListing.docsUrl}
target="_blank"
rel="noreferrer"
- className="text-brand-link hover:underline transition-colors"
+ className="text-brand hover:underline transition-colors"
>
<span className="flex items-center space-x-1">
<span>Learn</span>
diff --git a/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx b/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
index 6c88ce226c6..a167e279cf8 100644
--- a/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
+++ b/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
@@ -97,9 +97,8 @@ function FloatingTableOfContents({
href={`#chapter-${chapterIndex + 1}`}
onClick={() => setIsTocOpen(false)}
className={cn(
- 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-brand-link hover:bg-brand-300/25',
- chapterIndex + 1 === activeChapter &&
- 'bg-brand-300/40 text-brand-link dark:text-brand'
+ 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-brand hover:bg-brand-300/25',
+ chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-brand'
)}
>
{chapter.shortTitle}
@@ -227,7 +226,7 @@ export default function StateOfStartups2026Content() {
<li key={chapterIndex + 1}>
<Link
href={`#chapter-${chapterIndex + 1}`}
- className="group flex flex-row gap-5 py-3 pl-7 pr-8 font-mono uppercase tracking-wide text-sm transition-all text-foreground-light hover:text-brand-link hover:bg-brand-300/25"
+ className="group flex flex-row gap-5 py-3 pl-7 pr-8 font-mono uppercase tracking-wide text-sm transition-all text-foreground-light hover:text-brand hover:bg-brand-300/25"
>
<span className="text-xs rounded-full bg-surface-75 border border-surface-200 group-hover:border-brand-500/40 w-5 h-5 flex items-center justify-center group-hover:bg-brand-600/5">
{chapterIndex + 1}
diff --git a/apps/www/app/state-of-startups/components/CohortToggle.tsx b/apps/www/app/state-of-startups/components/CohortToggle.tsx
index 302e4150a1f..5e619a543d3 100644
--- a/apps/www/app/state-of-startups/components/CohortToggle.tsx
+++ b/apps/www/app/state-of-startups/components/CohortToggle.tsx
@@ -29,7 +29,7 @@ export function CohortToggle({ eyebrow, options, value, onValueChange }: CohortT
onClick={() => onValueChange(option.label)}
className={`px-3 py-1 text-xs font-mono uppercase tracking-wider border rounded-full transition-colors ${
isActive
- ? 'border-brand-500/40 bg-brand-300/40 text-brand-link dark:text-brand'
+ ? 'border-brand-500/40 bg-brand-300/40 text-brand'
: 'border-overlay text-foreground-light hover:text-foreground hover:bg-surface-100'
}`}
>
diff --git a/apps/www/app/state-of-startups/components/DecorativeProgressBar.tsx b/apps/www/app/state-of-startups/components/DecorativeProgressBar.tsx
index c032444d73e..b2a77a140c2 100644
--- a/apps/www/app/state-of-startups/components/DecorativeProgressBar.tsx
+++ b/apps/www/app/state-of-startups/components/DecorativeProgressBar.tsx
@@ -11,7 +11,7 @@ interface ProgressBarProps {
export function ProgressBar({
className = 'h-4',
backgroundClassName = 'bg-foreground-muted/80',
- foregroundClassName = 'bg-brand',
+ foregroundClassName = 'bg-brand-default',
animationDelay,
reverse = false,
}: ProgressBarProps) {
@@ -62,7 +62,7 @@ const PROGRESS_BARS = [
{
height: 'h-8',
bgColor: 'bg-foreground-muted/50',
- fgColor: 'bg-brand',
+ fgColor: 'bg-brand-default',
animationDelay: '0.3s',
},
{
diff --git a/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx b/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx
index a5f7ff15a83..ecfa5ce21a6 100644
--- a/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx
+++ b/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx
@@ -68,7 +68,7 @@ export function ParticipantsCarousel({ participants }: { participants: Participa
href={participant.url}
target="_blank"
rel="noopener noreferrer"
- className="text-xs md:text-sm font-mono tracking-widest uppercase text-foreground-lighter hover:text-brand-link transition-colors whitespace-nowrap"
+ className="text-xs md:text-sm font-mono tracking-widest uppercase text-foreground-lighter hover:text-brand transition-colors whitespace-nowrap"
>
{participant.company}
</Link>
diff --git a/apps/www/app/state-of-startups/components/SectionCallout.tsx b/apps/www/app/state-of-startups/components/SectionCallout.tsx
index 641700a83b9..7efee4330ae 100644
--- a/apps/www/app/state-of-startups/components/SectionCallout.tsx
+++ b/apps/www/app/state-of-startups/components/SectionCallout.tsx
@@ -13,15 +13,13 @@ export function SectionCallout({ eyebrow, body, href, cta, external }: SectionCa
return (
<div className="border-t border-muted px-8 py-8">
<div className="bg-surface-100/60 border border-muted rounded-lg p-6 flex flex-col gap-3">
- <span className="text-brand-link dark:text-brand text-xs font-mono uppercase tracking-widest">
- {eyebrow}
- </span>
+ <span className="text-brand text-xs font-mono uppercase tracking-widest">{eyebrow}</span>
<p className="text-foreground-light text-balance">{body}</p>
<Link
href={href}
target={external ? '_blank' : undefined}
rel={external ? 'noopener noreferrer' : undefined}
- className="inline-flex items-center gap-1 text-brand-link dark:text-brand text-sm font-medium hover:underline w-fit"
+ className="inline-flex items-center gap-1 text-brand text-sm font-medium hover:underline w-fit"
>
{cta}
<ArrowUpRight size={14} strokeWidth={2} />
diff --git a/apps/www/app/state-of-startups/components/SurveyChannelMixChart.tsx b/apps/www/app/state-of-startups/components/SurveyChannelMixChart.tsx
index 0b7b9fc65b8..ce32832fa40 100644
--- a/apps/www/app/state-of-startups/components/SurveyChannelMixChart.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChannelMixChart.tsx
@@ -74,7 +74,7 @@ export function SurveyChannelMixChart({
}}
/>
<div
- className={`h-full relative ${cohorts[ci].tone === 'accent' ? 'bg-brand' : 'bg-foreground-light'}`}
+ className={`h-full relative ${cohorts[ci].tone === 'accent' ? 'bg-brand-default' : 'bg-foreground-light'}`}
style={{ width: `${v ?? 0}%` }}
/>
</div>
diff --git a/apps/www/app/state-of-startups/components/SurveyChapter.tsx b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
index 6d087ef9dbe..99e88af612e 100644
--- a/apps/www/app/state-of-startups/components/SurveyChapter.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
@@ -56,9 +56,7 @@ export function SurveyChapter({
{/* Text content */}
<div className="max-w-240 mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
<div className="md:col-span-2 flex flex-col gap-4 px-8">
- <p
- className={`text-sm uppercase font-mono text-balance tracking-wider text-brand-link`}
- >
+ <p className={`text-sm uppercase font-mono text-balance tracking-wider text-brand`}>
{shortTitle}
</p>
<h2 className="text-4xl md:text-5xl xl:text-6xl text-balance leading-tight tracking-tight">
diff --git a/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx b/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
index 766829481f5..bf69229f118 100644
--- a/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
@@ -49,7 +49,7 @@ export function SurveyChapterSection({ section }: { section: SurveySection }) {
return { [cohortToggle.key]: option.filter }
}, [cohortToggle, cohortLabel])
- const eyebrowColor = 'text-brand-link dark:text-brand'
+ const eyebrowColor = 'text-brand'
// A section can be compared across years only if it has any 2025 data. New-in-
// 2026 questions (share of codebase, auth, agents, MCP, the AI-codebase
diff --git a/apps/www/app/state-of-startups/components/SurveyChart.tsx b/apps/www/app/state-of-startups/components/SurveyChart.tsx
index 0ee76f6b201..1a61e4e57ec 100644
--- a/apps/www/app/state-of-startups/components/SurveyChart.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChart.tsx
@@ -25,8 +25,8 @@ interface SurveyChartProps {
maxBars?: number
}
-const accentBarFg = 'bg-brand'
-const accentBarText = 'text-brand-link dark:text-brand'
+const accentBarFg = 'bg-brand-default'
+const accentBarText = 'text-brand'
export function SurveyChart({
title,
diff --git a/apps/www/app/state-of-startups/components/SurveyChartShell.tsx b/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
index e3ac8344e94..a38caf39a58 100644
--- a/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
@@ -63,7 +63,7 @@ export function ChartLegend({
<div key={item.label} className="flex items-center gap-2">
<span
className={`inline-block ${item.variant === 'line' ? 'w-4 h-[3px]' : 'w-3 h-3'} ${
- item.tone === 'accent' ? 'bg-brand' : 'bg-foreground-light'
+ item.tone === 'accent' ? 'bg-brand-default' : 'bg-foreground-light'
}`}
/>
<span className="text-foreground-light text-xs font-mono uppercase tracking-widest">
diff --git a/apps/www/app/state-of-startups/components/SurveyPullQuoteCarousel.tsx b/apps/www/app/state-of-startups/components/SurveyPullQuoteCarousel.tsx
index 287c2ba4c8e..468de274c09 100644
--- a/apps/www/app/state-of-startups/components/SurveyPullQuoteCarousel.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyPullQuoteCarousel.tsx
@@ -120,7 +120,7 @@ export function SurveyPullQuoteCarousel({ quotes }: { quotes: CarouselPullQuote[
}}
>
<div
- className="absolute inset-0 pointer-events-none bg-brand"
+ className="absolute inset-0 pointer-events-none bg-brand-default"
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx b/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx
index 8fdee7f3de5..36ef5dadbde 100644
--- a/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx
@@ -24,7 +24,7 @@ export function SurveyPullQuoteGrid({ quotes }: { quotes: PullQuoteGridItem[] })
{quotes.map((q, i) => (
<div key={i} className="flex flex-col gap-4 px-8 py-12">
{q.theme && (
- <span className="text-brand-link dark:text-brand text-xs font-mono uppercase tracking-widest">
+ <span className="text-brand text-xs font-mono uppercase tracking-widest">
{q.theme}
</span>
)}
diff --git a/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx b/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx
index b8d04e67cd6..e0288526d56 100644
--- a/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx
@@ -9,7 +9,7 @@ export function SurveyRankedAnswersPair({
}) {
const accent = useAccent()
- const accentBlocks = ['bg-brand', 'bg-brand-500', 'bg-brand-300']
+ const accentBlocks = ['bg-brand-default', 'bg-brand-500', 'bg-brand-300']
const accentRankText = 'text-brand'
diff --git a/apps/www/app/state-of-startups/components/SurveyStatCard.tsx b/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
index 41a30578a64..d7ce992614f 100644
--- a/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
@@ -27,7 +27,7 @@ export function SurveyStatCard({ label, query, value, cohortFilter }: SurveyStat
const cardRef = useRef<HTMLDivElement>(null)
const { year } = useYear()
- const accentBg = 'bg-brand'
+ const accentBg = 'bg-brand-default'
const accentText = 'text-brand'
// A static `value` wins; otherwise resolve from the embedded dataset for the
diff --git a/apps/www/app/state-of-startups/components/SurveySummarizedAnswer.tsx b/apps/www/app/state-of-startups/components/SurveySummarizedAnswer.tsx
index 6187fe3bb8b..2262aa28a82 100644
--- a/apps/www/app/state-of-startups/components/SurveySummarizedAnswer.tsx
+++ b/apps/www/app/state-of-startups/components/SurveySummarizedAnswer.tsx
@@ -14,7 +14,7 @@ export function SurveySummarizedAnswer({ label, answers }: { label: string; answ
const [isBlinking, setIsBlinking] = useState(false)
const accent = useAccent()
- const accentBg = 'bg-brand'
+ const accentBg = 'bg-brand-default'
useEffect(() => {
if (answers.length <= 1) return
diff --git a/apps/www/app/state-of-startups/components/SurveyWordCloud.tsx b/apps/www/app/state-of-startups/components/SurveyWordCloud.tsx
index 6b36f148760..f639c04e2c3 100644
--- a/apps/www/app/state-of-startups/components/SurveyWordCloud.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyWordCloud.tsx
@@ -18,7 +18,7 @@ export function SurveyWordCloud({
const [scramblingTexts, setScramblingTexts] = useState<string[]>([])
const accent = useAccent()
- const accentBg = 'bg-brand'
+ const accentBg = 'bg-brand-default'
// Calculate the range within the current context
const counts = answers.map((answer) => answer.count)
diff --git a/apps/www/app/state-of-startups/register/RegisterContent.tsx b/apps/www/app/state-of-startups/register/RegisterContent.tsx
index e10d6a90760..edf8c3d7479 100644
--- a/apps/www/app/state-of-startups/register/RegisterContent.tsx
+++ b/apps/www/app/state-of-startups/register/RegisterContent.tsx
@@ -198,7 +198,7 @@ function PreviousResultsCta() {
<div className="w-fit bg-brand-300 px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-brand md:text-[2.25rem] md:leading-10">
of
</div>
- <div className="w-fit bg-brand px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-background dark:text-brand-200 md:text-[2.25rem] md:leading-10">
+ <div className="w-fit bg-brand-default px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-background dark:text-brand-200 md:text-[2.25rem] md:leading-10">
Startups
</div>
<div className="w-fit bg-brand-500 px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-brand-300 md:text-[2.25rem] md:leading-10">
diff --git a/apps/www/components/Contribute/Hero.tsx b/apps/www/components/Contribute/Hero.tsx
index d8405b52a8b..850fe4f6805 100644
--- a/apps/www/components/Contribute/Hero.tsx
+++ b/apps/www/components/Contribute/Hero.tsx
@@ -4,7 +4,7 @@ import { Button } from 'ui'
export function Hero() {
return (
<header className="container relative mx-auto px-6 pt-12 pb-8 lg:pt-24 lg:px-16 xl:px-20 text-center space-y-4">
- <h1 className="text-sm text-brand-link md:text-base">
+ <h1 className="text-sm text-brand md:text-base">
<span className="sr-only">Supabase </span>Contribute
</h1>
<h2 className="text-3xl md:text-4xl xl:text-5xl lg:max-w-2xl xl:max-w-6xl lg:mx-auto tracking-[-1px]">
diff --git a/apps/www/components/Contribute/markdownComponents.tsx b/apps/www/components/Contribute/markdownComponents.tsx
index 59dfa69cfa2..fcf1402299c 100644
--- a/apps/www/components/Contribute/markdownComponents.tsx
+++ b/apps/www/components/Contribute/markdownComponents.tsx
@@ -19,7 +19,7 @@ export const markdownComponents: Components = {
a: ({ node, ...props }) => (
<a
{...props}
- className="text-brand-link hover:underline break-all"
+ className="text-brand hover:underline break-all"
target="_blank"
rel="noopener noreferrer"
/>
diff --git a/apps/www/components/EnterpriseFormQuotes.tsx b/apps/www/components/EnterpriseFormQuotes.tsx
index a6d20804047..3d1e1e548cc 100644
--- a/apps/www/components/EnterpriseFormQuotes.tsx
+++ b/apps/www/components/EnterpriseFormQuotes.tsx
@@ -104,7 +104,7 @@ const EnterpriseFormQuotes = ({
<div className="relative w-full h-px bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
<motion.div
className={cn(
- 'absolute motion-reduce:hidden inset-0 w-full right-full bg-brand h-full transition-all',
+ 'absolute motion-reduce:hidden inset-0 w-full right-full bg-brand-default h-full transition-all',
progress! > 99.7 ? 'opacity-0' : 'opacity-100'
)}
style={{ x: `${progress! - 100}%` }}
diff --git a/apps/www/components/Events/new/EventList.tsx b/apps/www/components/Events/new/EventList.tsx
index caa20d147f7..3116163fbcc 100644
--- a/apps/www/components/Events/new/EventList.tsx
+++ b/apps/www/components/Events/new/EventList.tsx
@@ -63,7 +63,7 @@ export function EventList() {
<div
className={cn(
'absolute top-2 left-[-59px] rounded-full size-1.5',
- index === 0 ? 'bg-brand size-2 left-[-60px]' : 'bg-foreground-muted'
+ index === 0 ? 'bg-brand-default size-2 left-[-60px]' : 'bg-foreground-muted'
)}
/>
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index 6fc423a4475..f7fc62333dd 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -89,7 +89,7 @@ const Footer = (props: Props) => {
<SectionContainer className="grid grid-cols-2 md:flex items-center justify-between text-foreground md:justify-center gap-8 md:gap-16 xl:gap-28 py-6! md:py-10! text-sm">
<div className="flex flex-col md:flex-row gap-2 md:items-center">
We protect your data.
- <Link href="/security" className="text-brand-link hover:underline">
+ <Link href="/security" className="text-brand hover:underline">
More on Security
</Link>
</div>
@@ -168,7 +168,7 @@ const Footer = (props: Props) => {
<div>
{newsletterStatus === 'success' ? (
<div className="flex flex-col gap-1">
- <p className="text-brand-link text-sm">Thanks for subscribing!</p>
+ <p className="text-brand text-sm">Thanks for subscribing!</p>
<p className="text-foreground-lighter text-xs">
You'll hear from us when we publish our next newsletter issue.
</p>
diff --git a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
index f3a0e04410e..05abfc9d384 100644
--- a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
+++ b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
@@ -118,7 +118,7 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
)}
>
{liveNow && (
- <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-brand-default mr-2 mb-4 animate-pulse" />
)}
<span>{meetup.title}</span>
{i !== meets.length - 1 && ', '}
@@ -138,7 +138,7 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
)}
>
{liveNow && (
- <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-brand-default mr-2 mb-4 animate-pulse" />
)}
<span>{meetup.title}</span>
{i !== meets.length - 1 && ', '}
diff --git a/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx b/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
index 0957d7c0c0d..766c502b681 100644
--- a/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
@@ -86,7 +86,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
+ className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand-default mb-2 block"
/>
)}
</Link>
diff --git a/apps/www/components/LaunchWeek/12/LWMeetups.tsx b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
index e39039aa145..a7e8ad7a4ce 100644
--- a/apps/www/components/LaunchWeek/12/LWMeetups.tsx
+++ b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
@@ -111,7 +111,7 @@ const LWMeetups = ({ meetups, className }: { meetups?: Meetup[]; className?: str
)}
>
{liveNow && (
- <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-brand-default mr-2 mb-4 animate-pulse" />
)}
<span>{meetup.title}</span>
</Link>
diff --git a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
index d70fbb261fc..9d0aeae4256 100644
--- a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
@@ -69,7 +69,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
+ className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand-default mb-2 block"
/>
)}
</Link>
diff --git a/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
index 4e11106646e..ed69bb05c9d 100644
--- a/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
@@ -90,7 +90,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 animate-pulse rounded-full bg-brand block"
+ className="w-1 h-1 animate-pulse rounded-full bg-brand-default block"
/>
)}
</Link>
@@ -115,7 +115,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
+ className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand-default mb-2 block"
/>
)}
</Link>
diff --git a/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
index 63293c6130a..16144cb5c52 100644
--- a/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
@@ -90,7 +90,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 animate-pulse rounded-full bg-brand block"
+ className="w-1 h-1 animate-pulse rounded-full bg-brand-default block"
/>
)}
</Link>
@@ -115,7 +115,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
+ className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand-default mb-2 block"
/>
)}
</Link>
diff --git a/apps/www/components/LaunchWeek/15/LW15Meetups.tsx b/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
index 45f2944dd50..c14b489d869 100644
--- a/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
@@ -152,7 +152,7 @@ const LW15Meetups = ({ className, meetups = [] }: PropsWithChildren<Props>) => {
)}
>
{liveNow && (
- <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-brand-default mr-2 mb-4 animate-pulse" />
)}
<span>{getMeetupCity(meetup)}</span>
</MotionLink>
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
index 96dd8cf9b1f..bd46ab48c59 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
@@ -25,7 +25,7 @@ export const LaunchSection = (props: WeekDayProps) => {
<div
className={[
'absolute mt-[4px] ml-[-21px] h-3 w-3 rounded-full border md:ml-[-37px] lg:ml-[-37.5px]',
- props.shipped ? 'border-brand bg-brand-400' : 'border-purple-900 bg-purple-300',
+ props.shipped ? 'border-brand-default bg-brand-400' : 'border-purple-900 bg-purple-300',
].join(' ')}
></div>
{/* END timeline dot */}
@@ -63,7 +63,7 @@ export const LaunchSection = (props: WeekDayProps) => {
nextDayNotShipped
? 'launch-week-timeline-border--approaching'
: props.shipped
- ? 'border-brand'
+ ? 'border-brand-default'
: 'border-purple-700',
className,
].join(' ')}
@@ -151,7 +151,7 @@ export const LaunchSection = (props: WeekDayProps) => {
md:pl-8
lg:pl-8
`,
- props.shipped ? 'border-brand' : 'border-purple-700',
+ props.shipped ? 'border-brand-default' : 'border-purple-700',
props.shippingHasStarted && 'lg:col-span-6',
!lastIndex && 'pb-8 lg:pb-16',
].join(' ')}
diff --git a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
index 5e3b71f36b8..7099bdaf9c2 100644
--- a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
+++ b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
@@ -114,7 +114,7 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
)}
>
{liveNow && (
- <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-brand-default mr-2 mb-4 animate-pulse" />
)}
<span>{meetup.title}</span>
{i !== meets.length - 1 && ', '}
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
index f3470aa2d8f..d8e5fb6d742 100644
--- a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
@@ -81,7 +81,7 @@ const LWXStickyNav: FC = () => {
{day.isToday && (
<span
title="Live"
- className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
+ className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand-default mb-2 block"
/>
)}
</Link>
diff --git a/apps/www/components/Nav/MenuItem.tsx b/apps/www/components/Nav/MenuItem.tsx
index 7dbfaf6ef0f..ff1bbca8942 100644
--- a/apps/www/components/Nav/MenuItem.tsx
+++ b/apps/www/components/Nav/MenuItem.tsx
@@ -63,7 +63,7 @@ const MenuItem = React.forwardRef<
<p
className={cn(
'leading-snug text-foreground',
- hoverColor === 'brand' && 'group-hover/menu-item:text-brand-link'
+ hoverColor === 'brand' && 'group-hover/menu-item:text-brand'
)}
>
{title}
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 42cdb740aa2..ac46655b3a5 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -152,7 +152,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
<NavigationMenuTrigger
className={cn(
buttonVariants({ variant: 'text', size: 'small' }),
- 'bg-transparent! hover:text-brand-link data-open:text-brand-link! focus-ring focus-visible:text-foreground px-2.5 h-full'
+ 'bg-transparent! hover:text-brand data-open:text-brand! focus-ring focus-visible:text-foreground px-2.5 h-full'
)}
>
{menuItem.title}
@@ -180,7 +180,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
<MenuItem
href={menuItem.url}
title={menuItem.title}
- className="group-hover:bg-transparent text-foreground focus-visible:text-brand-link px-2.5 h-full"
+ className="group-hover:bg-transparent text-foreground focus-visible:text-brand px-2.5 h-full"
hoverColor="brand"
/>
</NavigationMenuLink>
diff --git a/apps/www/components/Panel/Panel.tsx b/apps/www/components/Panel/Panel.tsx
index 31012aae46e..96274a15c6c 100644
--- a/apps/www/components/Panel/Panel.tsx
+++ b/apps/www/components/Panel/Panel.tsx
@@ -85,7 +85,7 @@ const Panel = ({
'group/panel relative rounded-lg md:rounded-xl p-px bg-surface-75 bg-linear-to-b from-border to-border/50 dark:to-surface-100 transition-all hover:shadow-md',
!trackCursor && hasActiveOnHover
? activeColor === 'brand'
- ? 'hover:bg-none hover:bg-brand!'
+ ? 'hover:bg-none hover:bg-brand-default!'
: 'hover:bg-none hover:bg-border-stronger!'
: '',
outerClassName
diff --git a/apps/www/components/Pricing/PricingFAQs.tsx b/apps/www/components/Pricing/PricingFAQs.tsx
index c05fb9bdbf9..c2e3d1fa878 100644
--- a/apps/www/components/Pricing/PricingFAQs.tsx
+++ b/apps/www/components/Pricing/PricingFAQs.tsx
@@ -35,7 +35,7 @@ const PricingFAQs = () => {
<a
target="_blank"
href="https://supabase.help"
- className="transition underline text-brand-link hover:text-brand-600"
+ className="transition underline text-brand hover:text-brand-600"
>
Open a support ticket
</a>{' '}
diff --git a/apps/www/components/ProductIcon.tsx b/apps/www/components/ProductIcon.tsx
index 21878ed6de3..c8d3fd15626 100644
--- a/apps/www/components/ProductIcon.tsx
+++ b/apps/www/components/ProductIcon.tsx
@@ -11,17 +11,17 @@ function ProductIcon({ icon, color }: ProductIcon) {
case 'green':
return {
container: 'bg-brand-600 text-brand-100',
- svg: 'stroke-brand',
+ svg: 'stroke-brand-default',
}
case 'alt':
return {
container: 'bg-brand-200 text-brand',
- svg: 'stroke-brand',
+ svg: 'stroke-brand-default',
}
case 'gray':
return {
container: 'bg- text-brand',
- svg: 'stroke-brand',
+ svg: 'stroke-brand-default',
}
case 'black':
default:
@@ -38,7 +38,7 @@ function ProductIcon({ icon, color }: ProductIcon) {
'inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md',
!color || color === 'black' ? 'bg-foreground text-background-alternative' : '',
color && color === 'gray' ? 'bg-border-strong text-foreground-light' : '',
- color && color === 'green' ? 'bg-brand text-brand-100' : '',
+ color && color === 'green' ? 'bg-brand-default text-brand-100' : '',
color && color === 'alt' ? 'bg-alternative text-brand' : '',
// color && color === 'alt' ? 'bg-surface-300 text-brand' : '',
].join(' ')}
@@ -49,7 +49,7 @@ function ProductIcon({ icon, color }: ProductIcon) {
!color || color === 'black' ? 'stroke-background' : '',
color && color === 'gray' ? 'stroke-foreground-light' : '',
color && color === 'green' ? 'stroke-brand-200' : '',
- color && color === 'alt' ? 'stroke-brand' : '',
+ color && color === 'alt' ? 'stroke-brand-default' : '',
].join(' ')}
xmlns="http://www.w3.org/2000/svg"
fill="none"
diff --git a/apps/www/components/Products/RealtimeVisual.tsx b/apps/www/components/Products/RealtimeVisual.tsx
index 64b3d622d98..a0e17a903fa 100644
--- a/apps/www/components/Products/RealtimeVisual.tsx
+++ b/apps/www/components/Products/RealtimeVisual.tsx
@@ -164,10 +164,10 @@ const RealtimeVisual: React.FC<Props> = ({ className }) => {
// transition: 'transform 0.1s ease-out', // Smooth transition
}}
>
- <div className="w-auto h-auto px-2.5 py-1.5 absolute left-full flex items-center justify-center gap-1 -top-6 border border-brand rounded-full bg-brand-300">
- <div className="w-1.5 h-1.5 rounded-full bg-brand animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_infinite] pause group-hover:run" />
- <div className="w-1.5 h-1.5 rounded-full bg-brand animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_200ms_infinite] pause group-hover:run" />
- <div className="w-1.5 h-1.5 rounded-full bg-brand animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_400ms_infinite] pause group-hover:run" />
+ <div className="w-auto h-auto px-2.5 py-1.5 absolute left-full flex items-center justify-center gap-1 -top-6 border border-brand-default rounded-full bg-brand-300">
+ <div className="w-1.5 h-1.5 rounded-full bg-brand-default animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_infinite] pause group-hover:run" />
+ <div className="w-1.5 h-1.5 rounded-full bg-brand-default animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_200ms_infinite] pause group-hover:run" />
+ <div className="w-1.5 h-1.5 rounded-full bg-brand-default animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_400ms_infinite] pause group-hover:run" />
</div>
</div>
{/* Gradient to hide animation under text to maintain readability */}
diff --git a/apps/www/components/Regions/RegionsMap.tsx b/apps/www/components/Regions/RegionsMap.tsx
index d5315544cd3..6186cbd25f9 100644
--- a/apps/www/components/Regions/RegionsMap.tsx
+++ b/apps/www/components/Regions/RegionsMap.tsx
@@ -109,7 +109,7 @@ export const RegionsMap = ({
onMouseLeave={() => onRegionHover(undefined)}
onClick={() => onRegionSelect(region.code)}
>
- {isSelected && <circle r={4} className="animate-ping fill-brand" />}
+ {isSelected && <circle r={4} className="animate-ping fill-brand-default" />}
<circle
r={isHighlighted ? 4 : 3.5}
strokeWidth={1}
@@ -118,7 +118,7 @@ export const RegionsMap = ({
isSelected
? 'fill-brand-500 stroke-brand-600'
: isHighlighted
- ? 'fill-brand stroke-brand-600'
+ ? 'fill-brand-default stroke-brand-600'
: 'fill-brand-600 stroke-brand-400'
)}
/>
diff --git a/apps/www/components/ScrollProgress.tsx b/apps/www/components/ScrollProgress.tsx
index f83809715a8..f5a8ebe39ee 100644
--- a/apps/www/components/ScrollProgress.tsx
+++ b/apps/www/components/ScrollProgress.tsx
@@ -35,7 +35,7 @@ const ScrollProgress = () => {
return (
<div className="relative h-[2px] w-full overflow-hidden">
<div
- className="absolute inset-y-0 left-0 right-0 h-full bg-brand will-change-transform transition-opacity"
+ className="absolute inset-y-0 left-0 right-0 h-full bg-brand-default will-change-transform transition-opacity"
style={{
display: isActive ? 'absolute' : 'relative',
transform: `translate3d(${isActive ? progressPercentage - 100 + '%' : '0'},0,0)`,
diff --git a/apps/www/components/Sections/CustomerQuotesSection.tsx b/apps/www/components/Sections/CustomerQuotesSection.tsx
index fbcec914877..2f92b9ec4ba 100644
--- a/apps/www/components/Sections/CustomerQuotesSection.tsx
+++ b/apps/www/components/Sections/CustomerQuotesSection.tsx
@@ -75,7 +75,7 @@ const CustomerQuotesSection = (props: Props) => {
{customer.author}, {customer.role}
</p>
{customer.url && (
- <div className="text-brand-link border-t mt-4 pt-4 cursor-pointer text-sm flex items-center justify-between">
+ <div className="text-brand border-t mt-4 pt-4 cursor-pointer text-sm flex items-center justify-between">
<span>Read Customer Story</span>
<ArrowUpRight />
</div>
diff --git a/apps/www/components/Sections/TimedTabsSection.tsx b/apps/www/components/Sections/TimedTabsSection.tsx
index 3c8d17eac58..ef700dec426 100644
--- a/apps/www/components/Sections/TimedTabsSection.tsx
+++ b/apps/www/components/Sections/TimedTabsSection.tsx
@@ -33,7 +33,7 @@ const Tab = ({ isActive, label, paragraph, onClick, progress, intervalDuration }
{isActive && (
<motion.div
className={[
- 'absolute inset-0 w-full right-full bg-brand h-full transition-opacity',
+ 'absolute inset-0 w-full right-full bg-brand-default h-full transition-opacity',
progress! > 99.7 ? 'opacity-0' : 'opacity-100',
].join(' ')}
style={{ x: `${progress! - 100}%` }}
diff --git a/apps/www/components/SubprocessorUpdatesForm.tsx b/apps/www/components/SubprocessorUpdatesForm.tsx
index b89dff34769..c2369c4a2ad 100644
--- a/apps/www/components/SubprocessorUpdatesForm.tsx
+++ b/apps/www/components/SubprocessorUpdatesForm.tsx
@@ -66,7 +66,7 @@ const SubprocessorUpdatesForm = () => {
with our{' '}
<Link
href="https://supabase.com/privacy"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
target="_blank"
rel="noopener noreferrer"
>
diff --git a/apps/www/components/SurveyResults/DecorativeProgressBar.tsx b/apps/www/components/SurveyResults/DecorativeProgressBar.tsx
index c228c689c18..f7022f8f5b1 100644
--- a/apps/www/components/SurveyResults/DecorativeProgressBar.tsx
+++ b/apps/www/components/SurveyResults/DecorativeProgressBar.tsx
@@ -9,7 +9,7 @@ interface ProgressBarProps {
export function ProgressBar({
className = 'h-4',
backgroundClassName = 'bg-foreground-muted/80',
- foregroundClassName = 'bg-brand',
+ foregroundClassName = 'bg-brand-default',
animationDelay,
reverse = false,
}: ProgressBarProps) {
@@ -59,7 +59,7 @@ export function DecorativeProgressBar({
{
height: 'h-4',
bgColor: 'bg-foreground-muted/80',
- fgColor: 'bg-brand',
+ fgColor: 'bg-brand-default',
animationDelay: '0s',
},
{
diff --git a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
index bd3d5a618a8..1a9edcf973c 100644
--- a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
+++ b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
@@ -113,12 +113,12 @@ export function StateOfStartupsHeader({ showProgressBars = true }: StateOfStartu
/>
<TextBlock
text="Startups"
- bgColor="bg-brand"
+ bgColor="bg-brand-default"
textColor="text-background dark:text-brand-200"
showProgressBar={showProgressBars}
delay={randomDelays[2]}
progressBgColor="bg-surface-400 dark:bg-surface-300"
- progressFgColor="bg-brand dark:bg-brand"
+ progressFgColor="bg-brand-default dark:bg-brand-default"
/>
<TextBlock
text="2025"
diff --git a/apps/www/components/SurveyResults/SurveyChapter.tsx b/apps/www/components/SurveyResults/SurveyChapter.tsx
index d46fd6da415..beb6c7b612c 100644
--- a/apps/www/components/SurveyResults/SurveyChapter.tsx
+++ b/apps/www/components/SurveyResults/SurveyChapter.tsx
@@ -44,7 +44,7 @@ export function SurveyChapter({
{/* Text content */}
<div className="max-w-240 mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
<div className="md:col-span-2 flex flex-col gap-4 px-8">
- <p className="text-sm text-brand-link uppercase font-mono text-balance tracking-wider">
+ <p className="text-sm text-brand uppercase font-mono text-balance tracking-wider">
{shortTitle}
</p>
<h2 className="text-4xl md:text-5xl xl:text-6xl text-balance leading-tight tracking-tight">
diff --git a/apps/www/components/SurveyResults/SurveyChapterSection.tsx b/apps/www/components/SurveyResults/SurveyChapterSection.tsx
index 975ae9551fb..3f877a46ee0 100644
--- a/apps/www/components/SurveyResults/SurveyChapterSection.tsx
+++ b/apps/www/components/SurveyResults/SurveyChapterSection.tsx
@@ -67,7 +67,7 @@ export function SurveyChapterSection({
<div id={title.toLowerCase().replace(/\s+/g, '-')} className="">
<div className="max-w-240 mx-auto flex flex-col md:border-x border-muted">
<header className="grid grid-cols-1 md:grid-cols-3 text-balance">
- <h3 className="pt-8 pb-4 px-8 md:border-r border-muted text-brand-link dark:text-brand font-mono uppercase tracking-wider text-sm">
+ <h3 className="pt-8 pb-4 px-8 md:border-r border-muted text-brand font-mono uppercase tracking-wider text-sm">
{title}
</h3>
<p className="pb-8 md:pt-8 px-8 md:col-span-2 text-foreground-light text-lg md:text-xl leading-relaxed">
diff --git a/apps/www/components/SurveyResults/SurveyChart.tsx b/apps/www/components/SurveyResults/SurveyChart.tsx
index ed831b50a1f..9400997daa5 100644
--- a/apps/www/components/SurveyResults/SurveyChart.tsx
+++ b/apps/www/components/SurveyResults/SurveyChart.tsx
@@ -377,7 +377,7 @@ export function SurveyChart({
className={`mb-2 flex flex-row justify-between text-sm font-mono uppercase tracking-widest tabular-nums transition-colors duration-300 ${
shouldAnimateBars
? item.value === maxValue
- ? 'text-brand-link dark:text-brand'
+ ? 'text-brand'
: 'text-foreground'
: 'text-foreground-muted'
}`}
@@ -418,7 +418,7 @@ export function SurveyChart({
>
{/* Foreground pattern for the filled portion */}
<div
- className={`absolute inset-0 pointer-events-none ${item.value === maxValue ? 'bg-brand' : 'bg-foreground-light'}`}
+ className={`absolute inset-0 pointer-events-none ${item.value === maxValue ? 'bg-brand-default' : 'bg-foreground-light'}`}
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx b/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
index 136ac66e08c..1d2b022b991 100644
--- a/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
+++ b/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
@@ -18,7 +18,7 @@ export function SurveyRankedAnswersPair({
{item.answers.map((answer, answerIndex) => (
<div
key={answerIndex}
- className={`${['h-20 md:h-32', 'h-12 md:h-20', 'h-4 md:h-8'][answerIndex] || 'hidden'} w-full pointer-events-none ${['bg-brand', 'bg-brand-500', 'bg-brand-300'][answerIndex] || 'bg-brand-300'}`}
+ className={`${['h-20 md:h-32', 'h-12 md:h-20', 'h-4 md:h-8'][answerIndex] || 'hidden'} w-full pointer-events-none ${['bg-brand-default', 'bg-brand-500', 'bg-brand-300'][answerIndex] || 'bg-brand-300'}`}
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/components/SurveyResults/SurveyStatCard.tsx b/apps/www/components/SurveyResults/SurveyStatCard.tsx
index b4b2a7c44d3..35474ef8ad6 100644
--- a/apps/www/components/SurveyResults/SurveyStatCard.tsx
+++ b/apps/www/components/SurveyResults/SurveyStatCard.tsx
@@ -92,7 +92,7 @@ export function SurveyStatCard({ label, percent }: { label: string; percent: num
>
{/* Foreground pattern for the filled portion */}
<div
- className={`absolute inset-0 pointer-events-none bg-brand`}
+ className={`absolute inset-0 pointer-events-none bg-brand-default`}
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/components/SurveyResults/SurveySummarizedAnswer.tsx b/apps/www/components/SurveyResults/SurveySummarizedAnswer.tsx
index 6ae7fcde095..1fec0cf189c 100644
--- a/apps/www/components/SurveyResults/SurveySummarizedAnswer.tsx
+++ b/apps/www/components/SurveyResults/SurveySummarizedAnswer.tsx
@@ -86,7 +86,7 @@ export function SurveySummarizedAnswer({ label, answers }: { label: string; answ
>
{/* Foreground pattern for the filled portion */}
<div
- className={`absolute inset-0 pointer-events-none bg-brand`}
+ className={`absolute inset-0 pointer-events-none bg-brand-default`}
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/components/SurveyResults/SurveyWordCloud.tsx b/apps/www/components/SurveyResults/SurveyWordCloud.tsx
index 04c9be10e93..332e4894f12 100644
--- a/apps/www/components/SurveyResults/SurveyWordCloud.tsx
+++ b/apps/www/components/SurveyResults/SurveyWordCloud.tsx
@@ -163,7 +163,7 @@ export function SurveyWordCloud({
>
{/* Foreground pattern for the filled portion */}
<div
- className={`absolute inset-0 pointer-events-none bg-brand`}
+ className={`absolute inset-0 pointer-events-none bg-brand-default`}
style={{
maskImage: 'url("/images/state-of-startups/pattern-checker.svg")',
maskSize: '4px',
diff --git a/apps/www/components/Wrapped/Pages/Home.tsx b/apps/www/components/Wrapped/Pages/Home.tsx
index 5ab44d3fcc8..c665399c52d 100644
--- a/apps/www/components/Wrapped/Pages/Home.tsx
+++ b/apps/www/components/Wrapped/Pages/Home.tsx
@@ -193,7 +193,7 @@ function FloatingStatBubbles() {
},
}}
>
- <p className="text-sm font-mono font-medium text-brand-link dark:text-brand whitespace-nowrap">
+ <p className="text-sm font-mono font-medium text-brand whitespace-nowrap">
{bubble.stat.value}
</p>
<p className="text-xs text-foreground-light whitespace-nowrap">{bubble.stat.label}</p>
diff --git a/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx b/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
index bf1112e762a..d559fcfcf25 100644
--- a/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
+++ b/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
@@ -344,7 +344,7 @@ function MonthSection({ month }: { month: Month }) {
<div className="px-6 lg:px-8 py-2.5 md:py-4 flex flex-wrap items-center gap-1 *:whitespace-nowrap *:mr-2">
<span className="text-base font-medium">{month.name}</span>
{month.isLaunchWeek && (
- <span className="text-xs bg-brand/10 text-brand-link dark:text-brand px-2 py-0.5 rounded-full">
+ <span className="text-xs bg-brand-default/10 text-brand px-2 py-0.5 rounded-full">
Launch Week
</span>
)}
diff --git a/apps/www/data/partners/index.tsx b/apps/www/data/partners/index.tsx
index ff01b28cfe5..4eb558f294e 100644
--- a/apps/www/data/partners/index.tsx
+++ b/apps/www/data/partners/index.tsx
@@ -15,7 +15,7 @@ export default {
image: (
<div className="relative z-10 flex items-center justify-center mb-4">
<div
- className="w-12 h-12 rounded-xl bg-brand border border-brand-900 flex items-center justify-center"
+ className="w-12 h-12 rounded-xl bg-brand-default border border-brand-900 flex items-center justify-center"
style={{
boxShadow: '0 0 20px hsl(var(--brand-300)), 0 0 30px hsl(var(--brand-200))',
}}
diff --git a/apps/www/pages/beta.tsx b/apps/www/pages/beta.tsx
index a52fd892a46..65117376c28 100644
--- a/apps/www/pages/beta.tsx
+++ b/apps/www/pages/beta.tsx
@@ -309,7 +309,7 @@ const Performance = () => {
{stat.name}
</p>
<Bar
- color={stat.name === 'Supabase' ? 'bg-brand' : 'bg-brand-400'}
+ color={stat.name === 'Supabase' ? 'bg-brand-default' : 'bg-brand-400'}
finalPercentage={Math.ceil((stat.value / maxValue) * 100)}
/>
<p className="ml-2">{stat.value}/s</p>
diff --git a/apps/www/pages/careers.tsx b/apps/www/pages/careers.tsx
index 5ba598e4b93..89ccd7085b9 100644
--- a/apps/www/pages/careers.tsx
+++ b/apps/www/pages/careers.tsx
@@ -155,9 +155,9 @@ const CareerPage = ({
return (
<div
key={i}
- className="border-t mt-6 mx-2 md:mx-2 md:mt-0 md:border-0 border-brand w-[134px] md:max-w-none"
+ className="border-t mt-6 mx-2 md:mx-2 md:mt-0 md:border-0 border-brand-default w-[134px] md:max-w-none"
>
- <div className="hidden md:block border-t lg:border-t-2 border-brand w-[60px] lg:w-[100px]"></div>
+ <div className="hidden md:block border-t lg:border-t-2 border-brand-default w-[60px] lg:w-[100px]"></div>
<h2 className="text-3xl lg:text-4xl pt-3 tracking-[-1px]">{company.number}</h2>
<div className="text-foreground-light text-sm lg:text-base">
@@ -194,7 +194,7 @@ const CareerPage = ({
to stay connected to our team, and our community.
</p>
<div className="max-w-[300px] sm:max-w-md md:max-w-md mt-20">
- <div className="border-t-2 border-brand w-4/12"></div>
+ <div className="border-t-2 border-brand-default w-4/12"></div>
<h2 className="text-2xl sm:text-3xl md:text-4xl pt-2 tracking-[-1px]">
We deeply believe in the efficacy of collaborative open source
</h2>
diff --git a/apps/www/pages/contact-us.tsx b/apps/www/pages/contact-us.tsx
index 4d2e207ba53..1bd9b6456c1 100644
--- a/apps/www/pages/contact-us.tsx
+++ b/apps/www/pages/contact-us.tsx
@@ -22,7 +22,7 @@ const ContactSection = ({
</h2>
<a
href={`mailto:${email}`}
- className="inline-block mt-2 lg:mt-3 font-mono text-base lg:text-lg text-brand-link hover:underline"
+ className="inline-block mt-2 lg:mt-3 font-mono text-base lg:text-lg text-brand hover:underline"
>
{email}
</a>
@@ -87,7 +87,7 @@ const ContactUs = ({}: Props) => {
description={
<>
To report suspected violations of our{' '}
- <Link href="/aup" className="text-brand-link hover:underline">
+ <Link href="/aup" className="text-brand hover:underline">
Acceptable Use Policy
</Link>
, including spam, phishing, malware, or unlawful activity involving Supabase
@@ -116,7 +116,7 @@ const ContactUs = ({}: Props) => {
<div className="mt-2 lg:mt-3">
<a
href="mailto:[email protected]"
- className="inline-block font-mono text-base lg:text-lg text-brand-link hover:underline"
+ className="inline-block font-mono text-base lg:text-lg text-brand hover:underline"
>
</a>
diff --git a/apps/www/pages/features/[slug].tsx b/apps/www/pages/features/[slug].tsx
index 8261e77f4af..8950f551759 100644
--- a/apps/www/pages/features/[slug].tsx
+++ b/apps/www/pages/features/[slug].tsx
@@ -132,7 +132,7 @@ const FeaturePage: React.FC<FeaturePageProps> = ({ feature, prevFeature, nextFea
</div>
<div
className={cn(
- 'relative w-full bg-brand',
+ 'relative w-full bg-brand-default',
'border rounded-lg overflow-hidden',
'mx-auto max-w-3xl',
'flex items-center justify-center',
diff --git a/apps/www/pages/partners/index.tsx b/apps/www/pages/partners/index.tsx
index 7ab1a5e6501..0cf2b6117ea 100644
--- a/apps/www/pages/partners/index.tsx
+++ b/apps/www/pages/partners/index.tsx
@@ -158,7 +158,7 @@ const Partners = () => {
className="group flex flex-col items-center text-center gap-4 px-8 py-6"
key={i}
>
- <div className="bg-brand-300 in-data-[theme*=dark]:bg-brand-500 text-brand-1200 group-hover:text-brand-800 [[data-theme*=dark]_&]:group-hover:text-brand-1000 flex h-12 w-12 items-center justify-center rounded-md border border-brand transition-all group-hover:scale-105">
+ <div className="bg-brand-300 in-data-[theme*=dark]:bg-brand-500 text-brand-1200 group-hover:text-brand-800 [[data-theme*=dark]_&]:group-hover:text-brand-1000 flex h-12 w-12 items-center justify-center rounded-md border border-brand-default transition-all group-hover:scale-105">
{item.icon ? item.icon : <Code strokeWidth={2} />}
</div>
diff --git a/apps/www/pages/regions.tsx b/apps/www/pages/regions.tsx
index c47dfdc9f59..23ef0346d59 100644
--- a/apps/www/pages/regions.tsx
+++ b/apps/www/pages/regions.tsx
@@ -128,7 +128,7 @@ const RegionsPage = () => {
</div>
<p className="text-sm text-foreground-light">
Need the database in your own cloud?{' '}
- <Link href="/go/byoc-early-access" className="text-brand-link hover:underline">
+ <Link href="/go/byoc-early-access" className="text-brand hover:underline">
Ask about early access to BYOC
</Link>
.
diff --git a/apps/www/pages/state-of-startups-2025.tsx b/apps/www/pages/state-of-startups-2025.tsx
index cf8521371df..f0b7b7ca99d 100644
--- a/apps/www/pages/state-of-startups-2025.tsx
+++ b/apps/www/pages/state-of-startups-2025.tsx
@@ -151,9 +151,8 @@ function StateOfStartupsPage() {
href={`#chapter-${chapterIndex + 1}`}
onClick={() => setIsTocOpen(false)}
className={cn(
- 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-brand-link hover:bg-brand-300/25',
- chapterIndex + 1 === activeChapter &&
- 'bg-brand-300/40 text-brand-link dark:text-brand'
+ 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-brand hover:bg-brand-300/25',
+ chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-brand'
)}
>
{chapter.shortTitle}
@@ -205,7 +204,7 @@ function StateOfStartupsPage() {
<li key={chapterIndex + 1}>
<Link
href={`#chapter-${chapterIndex + 1}`}
- className="group flex flex-row gap-5 py-3 pl-7 pr-8 font-mono uppercase tracking-wide text-sm transition-all text-foreground-light hover:text-brand-link hover:bg-brand-300/25"
+ className="group flex flex-row gap-5 py-3 pl-7 pr-8 font-mono uppercase tracking-wide text-sm transition-all text-foreground-light hover:text-brand hover:bg-brand-300/25"
>
<span className="text-xs rounded-full bg-surface-75 border border-surface-200 group-hover:border-brand-500/40 w-5 h-5 flex items-center justify-center group-hover:bg-brand-600/5">
{chapterIndex + 1}
@@ -278,7 +277,7 @@ const ParticipantsList = () => {
href={participant.url}
target="_blank"
rel="noopener noreferrer"
- className="text-xs md:text-sm font-mono text-center tracking-widest uppercase text-foreground-lighter hover:text-brand-link transition-colors"
+ className="text-xs md:text-sm font-mono text-center tracking-widest uppercase text-foreground-lighter hover:text-brand transition-colors"
>
{participant.company}
</Link>
diff --git a/apps/www/styles/globals.css b/apps/www/styles/globals.css
index b2893a73bf4..0eb58785337 100644
--- a/apps/www/styles/globals.css
+++ b/apps/www/styles/globals.css
@@ -260,7 +260,7 @@ h6:not(.overwrite) {
}
.heading-gradient-brand {
- @apply text-[#3ECF8E00] bg-clip-text bg-linear-to-b from-brand to-brand/80;
+ @apply text-[#3ECF8E00] bg-clip-text bg-linear-to-b from-brand-default to-brand-default/80;
}
.toc-animate {
diff --git a/packages/config/css/theme.css b/packages/config/css/theme.css
index e83273b4b1b..553f69c935c 100644
--- a/packages/config/css/theme.css
+++ b/packages/config/css/theme.css
@@ -74,8 +74,9 @@
--color-brand-400: hsl(var(--brand-400));
--color-brand-500: hsl(var(--brand-500));
--color-brand-600: hsl(var(--brand-600));
- --color-brand: hsl(var(--brand-default));
- --color-brand-link: hsl(var(--brand-link));
+ /* text-brand uses accessible --primary; fills use brand-default. */
+ --color-brand: var(--primary);
+ --color-brand-default: hsl(var(--brand-default));
--color-_secondary-200: hsl(var(--secondary-200));
--color-_secondary-400: hsl(var(--secondary-400));
--color-_secondary: hsl(var(--secondary-default));
@@ -332,7 +333,7 @@
--color-border-destructive: var(--border-destructive);
--color-border-warning: var(--border-warning);
--color-border-info: var(--border-info);
- --color-border-brand: var(--border-brand);
+ --color-border-brand-default: var(--border-brand-default);
/*
* This will generate colors only for border utilities
* i.e. bg-muted and they'll only have border-color: var(--border-muted) rule
diff --git a/packages/dev-tools/DevToolbar.tsx b/packages/dev-tools/DevToolbar.tsx
index eccace58905..287ad47549e 100644
--- a/packages/dev-tools/DevToolbar.tsx
+++ b/packages/dev-tools/DevToolbar.tsx
@@ -85,7 +85,7 @@ function EventRow({ event }: { event: DevTelemetryEvent }) {
<span
className={cn(
'w-1.5 h-1.5 rounded-[2px] shrink-0',
- event.source === 'client' ? 'bg-brand' : 'bg-foreground-lighter'
+ event.source === 'client' ? 'bg-brand-default' : 'bg-foreground-lighter'
)}
/>
<span
diff --git a/packages/dev-tools/DevToolbarTrigger.tsx b/packages/dev-tools/DevToolbarTrigger.tsx
index c1c54a1ee91..a99e2cb5198 100644
--- a/packages/dev-tools/DevToolbarTrigger.tsx
+++ b/packages/dev-tools/DevToolbarTrigger.tsx
@@ -243,7 +243,7 @@ export function DevToolbarTrigger() {
className={cn(
'absolute -top-1 -right-1',
'inline-flex items-center justify-center',
- 'rounded-full bg-brand text-black',
+ 'rounded-full bg-brand-default text-black',
'text-[9px] font-medium leading-none tracking-tighter tabular-nums',
eventCountBadge.sizeClass
)}
diff --git a/packages/marketing/src/forms/MarketingForm.tsx b/packages/marketing/src/forms/MarketingForm.tsx
index 6cb731d0404..ab596317c4a 100644
--- a/packages/marketing/src/forms/MarketingForm.tsx
+++ b/packages/marketing/src/forms/MarketingForm.tsx
@@ -450,7 +450,7 @@ export default function MarketingForm({
</Button>
{disclaimer && (
- <div className="text-xs text-foreground-lighter leading-relaxed [&_a]:text-brand-link [&_a]:decoration-brand-link">
+ <div className="text-xs text-foreground-lighter leading-relaxed [&_a]:text-brand [&_a]:decoration-brand">
<ReactMarkdown
components={{
p: ({ children }) => <p>{children}</p>,
diff --git a/packages/marketing/src/go/sections/HeroSection.tsx b/packages/marketing/src/go/sections/HeroSection.tsx
index 9a641dd063e..791c991e675 100644
--- a/packages/marketing/src/go/sections/HeroSection.tsx
+++ b/packages/marketing/src/go/sections/HeroSection.tsx
@@ -33,7 +33,7 @@ export default function HeroSection({
>
<div className={cn(hasMedia ? 'flex flex-col gap-4 sm:gap-6' : 'contents')}>
{section.subtitle && (
- <p className="text-sm text-brand-link uppercase font-mono tracking-wider">
+ <p className="text-sm text-brand uppercase font-mono tracking-wider">
{section.subtitle}
</p>
)}
diff --git a/packages/marketing/src/go/sections/TextBodySection.tsx b/packages/marketing/src/go/sections/TextBodySection.tsx
index 6b0fceb75e6..3fe1e58e69a 100644
--- a/packages/marketing/src/go/sections/TextBodySection.tsx
+++ b/packages/marketing/src/go/sections/TextBodySection.tsx
@@ -37,7 +37,7 @@ const components: Components = {
export default function TextBodySection({ section }: { section: GoTextBodySection }) {
return (
- <article className="prose prose-headings:text-foreground prose-p:text-foreground-light prose-strong:text-foreground prose-li:text-foreground-light prose-a:text-brand-link prose-a:decoration-brand-link max-w-none">
+ <article className="prose prose-headings:text-foreground prose-p:text-foreground-light prose-strong:text-foreground prose-li:text-foreground-light prose-a:text-brand prose-a:decoration-brand max-w-none">
<ReactMarkdown components={components}>{section.content}</ReactMarkdown>
</article>
)
diff --git a/packages/ui-patterns/src/Admonition/Admonition.tsx b/packages/ui-patterns/src/Admonition/Admonition.tsx
index 7d341971247..a7f3f6ba2ab 100644
--- a/packages/ui-patterns/src/Admonition/Admonition.tsx
+++ b/packages/ui-patterns/src/Admonition/Admonition.tsx
@@ -51,7 +51,7 @@ export const Admonition = forwardRef<
'overflow-hidden text-sm leading-normal',
layout === 'responsive' && '@container',
type === 'success' && [
- 'bg-brand-400/15 dark:bg-brand/10',
+ 'bg-brand-400/15 dark:bg-brand-default/10',
'border-brand-400 dark:border-brand-500',
],
className
diff --git a/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx b/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx
index 9fb01f60895..e2dee6783e9 100644
--- a/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx
+++ b/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx
@@ -14,7 +14,7 @@ type IconVisual = 'default' | 'warning' | 'destructive' | 'success'
const ICON_BADGE_CLASS: Record<IconVisual, string> = {
default: 'text-background bg-foreground-muted',
- success: 'text-white dark:text-brand-link bg-brand dark:bg-brand-500/50',
+ success: 'text-white dark:text-brand bg-brand-default dark:bg-brand-500/50',
warning: 'text-warning-200 bg-warning-600',
destructive: 'text-destructive-200 bg-destructive-600',
}
diff --git a/packages/ui-patterns/src/Chart/index.tsx b/packages/ui-patterns/src/Chart/index.tsx
index 6ede284c26c..e6237fc8b29 100644
--- a/packages/ui-patterns/src/Chart/index.tsx
+++ b/packages/ui-patterns/src/Chart/index.tsx
@@ -269,7 +269,7 @@ const ChartMetric = React.forwardRef<HTMLDivElement, ChartMetricProps>(
<span
className={cn(
'shrink-0 w-1.5 h-1.5 rounded-full flex',
- status === 'positive' && 'bg-brand',
+ status === 'positive' && 'bg-brand-default',
status === 'negative' && 'bg-destructive',
status === 'warning' && 'bg-warning',
status === 'default' && 'bg-foreground-lighter'
diff --git a/packages/ui-patterns/src/CodeBlock/CodeBlock.utils.ts b/packages/ui-patterns/src/CodeBlock/CodeBlock.utils.ts
index 5c7b0329f57..35172860076 100644
--- a/packages/ui-patterns/src/CodeBlock/CodeBlock.utils.ts
+++ b/packages/ui-patterns/src/CodeBlock/CodeBlock.utils.ts
@@ -45,7 +45,7 @@ export const monokaiCustomTheme = (isDarkMode: boolean) => {
color: '#bf79db',
},
'hljs-string': {
- color: `hsl(var(--brand-link))`,
+ color: 'var(--primary)',
},
'hljs-bullet': {
color: '#3ECF8E',
diff --git a/packages/ui-patterns/src/ComputeBadge/index.tsx b/packages/ui-patterns/src/ComputeBadge/index.tsx
index 71cdda04a7a..fde989f06e8 100644
--- a/packages/ui-patterns/src/ComputeBadge/index.tsx
+++ b/packages/ui-patterns/src/ComputeBadge/index.tsx
@@ -29,12 +29,12 @@ export function ComputeBadge({ infraComputeSize, className, icon, ...props }: Co
? 'bg-surface-75 group-data-[state=open]:bg-surface-75/20 text-foreground-light border border-strong'
: smallCompute
? 'bg-surface-75/50 group-data-[state=open]:bg-surface-75/75 text-foreground-light border border-strong'
- : 'bg-brand/10 group-data-[state=open]:bg-brand/20 text-brand-600 border border-brand-500',
+ : 'bg-brand-default/10 group-data-[state=open]:bg-brand-default/20 text-brand-600 border border-brand-500',
// Hover card interaction styles
'group-data-[state=open]:ring-2',
smallCompute
? 'group-data-[state=open]:ring-foreground-muted/20'
- : 'group-data-[state=open]:ring-brand/20',
+ : 'group-data-[state=open]:ring-brand-default/20',
className
)}
{...props}
diff --git a/packages/ui-patterns/src/GlassPanel/index.tsx b/packages/ui-patterns/src/GlassPanel/index.tsx
index 75251a6bdcd..d4c62473863 100644
--- a/packages/ui-patterns/src/GlassPanel/index.tsx
+++ b/packages/ui-patterns/src/GlassPanel/index.tsx
@@ -148,7 +148,7 @@ export const GlassPanel = ({
</div>
{children && <span className="text-sm text-foreground-light grow">{children}</span>}
- {showLink && <span className="text-brand-link justify-end text-sm">Learn more</span>}
+ {showLink && <span className="text-brand justify-end text-sm">Learn more</span>}
</div>
</div>
)
diff --git a/packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx b/packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx
index 8709f2e6adf..31ab7eff76f 100644
--- a/packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx
+++ b/packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx
@@ -61,7 +61,7 @@ function reactRenderers(onCopy: (type?: McpOnCopyCallback) => void): Renderers {
href={node.url}
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-brand hover:underline"
>
{children}
</a>
diff --git a/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx b/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
index 0a8feb04d6f..ef3fa0d8e3b 100644
--- a/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
+++ b/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
@@ -106,7 +106,7 @@ export function McpConfigurationDisplay({
href={selectedClient.docsUrl}
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline inline-flex items-center"
+ className="text-brand hover:underline inline-flex items-center"
>
View setup guide
<ExternalLink className="h-3 w-3 ml-1" />
@@ -117,7 +117,7 @@ export function McpConfigurationDisplay({
href={selectedClient.externalDocsUrl}
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline inline-flex items-center"
+ className="text-brand hover:underline inline-flex items-center"
>
View {selectedClient.label} docs
<ExternalLink className="h-3 w-3 ml-1" />
diff --git a/packages/ui-patterns/src/Toc/toc.tsx b/packages/ui-patterns/src/Toc/toc.tsx
index 442b2d3963d..2aa299244c9 100644
--- a/packages/ui-patterns/src/Toc/toc.tsx
+++ b/packages/ui-patterns/src/Toc/toc.tsx
@@ -131,7 +131,7 @@ function TOCItem({ item }: { item: TOCItemType }) {
<Primitive.TOCItem
href={`#${formatSlug(item.url)}`}
className={cn(
- 'text-foreground-lighter hover:text-brand-link transition-colors py-1 wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-foreground',
+ 'text-foreground-lighter hover:text-brand transition-colors py-1 wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-foreground',
item.depth <= 2 && 'ps-3',
item.depth === 3 && 'ps-6',
item.depth >= 4 && 'ps-8'
diff --git a/packages/ui/build/css/source/semantic.css b/packages/ui/build/css/source/semantic.css
index 4e9f65d9f09..fd148cce386 100644
--- a/packages/ui/build/css/source/semantic.css
+++ b/packages/ui/build/css/source/semantic.css
@@ -14,10 +14,10 @@
* theme can run, say, a cool-gray surface against the green brand:
* --surface-hue tints backgrounds, text and borders (the neutral ramp)
* --primary-hue is the brand hue that --primary is built from
- * Both default to --hue (Supabase green ≈159° in OKLCH), so a theme that only
+ * Both default to --hue (Supabase green ≈157.5° in OKLCH), so a theme that only
* sets --hue keeps surfaces and brand locked together as before; override
* either one to let them diverge. */
- --hue: 159;
+ --hue: 157.5;
--surface-hue: var(--hue);
--primary-hue: var(--hue);
/* Root defaults mirror the dark theme (the app's default appearance). */
@@ -104,7 +104,7 @@
* (matching the "no additional charge" badge); like the others it pulls a touch
* with the brand --primary-hue but clamps so it always reads violet.
*/
- --brand-hue-reference: 159;
+ --brand-hue-reference: 157.5;
--status-hue-pull: 0.15;
--warning-hue: clamp(
65,
@@ -158,12 +158,8 @@
--popover: oklch(from var(--background) calc(l + var(--elevation-step) * var(--elevation-2)) c h);
--popover-foreground: var(--foreground);
- /* Primary is the brand-derived accent: a fixed, vivid Supabase green on
- --primary-hue, mode-invariant and decoupled from the --chroma knob so it
- holds its identity even as neutrals desaturate. NOTE: the `brand` utility
- (--color-brand in theme.css) is deliberately NOT this — it maps to the
- per-theme --brand-default scale (master behavior) while we resolve how
- `brand` is used across the interface. */
+ /* Primary is the accessible functional green (text, controls). Bright
+ expressive fills use brand-default. Light theme overrides --primary for AA text. */
--primary: oklch(0.76 0.15 var(--primary-hue));
--primary-foreground: oklch(
min(var(--surface), var(--foreground-lightness)) calc(var(--chroma) * 0.45) var(--primary-hue)
@@ -247,7 +243,7 @@
--border-destructive: oklch(from var(--destructive) l c h / 30%);
--border-warning: oklch(from var(--warning) l c h / 30%);
--border-info: oklch(from var(--info) l c h / 30%);
- --border-brand: oklch(from var(--primary) l c h / 30%);
+ --border-brand-default: oklch(from var(--primary) l c h / 30%);
--border: oklch(
from var(--foreground) l calc(c * 0.54) h / calc(2% + 20% * var(--contrast-border))
diff --git a/packages/ui/build/css/themes/dark.css b/packages/ui/build/css/themes/dark.css
index d8dd2bd5ee0..e09068e135a 100644
--- a/packages/ui/build/css/themes/dark.css
+++ b/packages/ui/build/css/themes/dark.css
@@ -1,7 +1,7 @@
[data-theme='dark'],
.dark {
--helpers-os-appearance: Dark;
- --hue: 159;
+ --hue: 157.5;
--chroma: 0.005;
--surface: 0.19;
--elevation-step: 0.025;
@@ -22,7 +22,6 @@
--secondary-default: 247.8deg 100% 70%;
--secondary-400: 248.3deg 54.5% 25.9%;
--secondary-200: 248deg 53.6% 11%;
- --brand-link: 155deg 100% 38.6%;
--brand-default: 153.1deg 60.2% 52.7%;
--brand-600: 154.9deg 59.5% 70%;
--brand-500: 154.9deg 100% 19.2%;
diff --git a/packages/ui/build/css/themes/light.css b/packages/ui/build/css/themes/light.css
index 8f8a7e42e71..69c1e35af88 100644
--- a/packages/ui/build/css/themes/light.css
+++ b/packages/ui/build/css/themes/light.css
@@ -1,7 +1,7 @@
[data-theme='light'],
.light {
--helpers-os-appearance: Light;
- --hue: 159;
+ --hue: 157.5;
--surface-hue: 34;
--chroma: 0;
/*
@@ -16,6 +16,9 @@
--foreground-lightness: 0.1;
--muted-foreground-level: 0.65;
--tertiary-foreground-level: 0.5;
+ /* Accessible primary for text/controls (~4.5:1+ on light surfaces). */
+ --primary: oklch(0.525 0.12 var(--primary-hue));
+ --primary-foreground: oklch(0.99 0.00275 var(--primary-hue));
/*
* Expressive fills run darker than the dark-theme anchors so they hold contrast
* against the near-white surface (a light amber on white disappears). Lightness
@@ -38,7 +41,6 @@
--secondary-default: 247.8deg 100% 70%;
--secondary-400: 248.3deg 54.5% 25.9%;
--secondary-200: 248deg 53.6% 11%;
- --brand-link: 153.4deg 86.5% 27.8%;
--brand-default: 152.9deg 60% 52.9%;
--brand-600: 156.5deg 86.5% 26.1%;
--brand-500: 155.3deg 78.4% 40%;
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index 55ce1a8c209..90d76a47d68 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -30,10 +30,10 @@ const buttonVariants = cva(
variant: {
primary: `
bg-brand-400 dark:bg-brand-500
- hover:bg-brand/80 dark:hover:bg-brand/50
+ hover:bg-brand-default/80 dark:hover:bg-brand-default/50
text-foreground
- border-brand-500/75 dark:border-brand/30
- hover:border-brand-600 dark:hover:border-brand
+ border-brand-500/75 dark:border-brand-default/30
+ hover:border-brand-600 dark:hover:border-brand-default
data-[state=open]:bg-brand-400/80 dark:data-[state=open]:bg-brand-500/80
`,
default: `
diff --git a/packages/ui/src/components/Menu/Menu.tsx b/packages/ui/src/components/Menu/Menu.tsx
index 9c4b8ff4936..5279c353220 100644
--- a/packages/ui/src/components/Menu/Menu.tsx
+++ b/packages/ui/src/components/Menu/Menu.tsx
@@ -74,7 +74,8 @@ export const menuItemVariants = cva(
{
type: 'border',
active: true,
- className: 'text-foreground-muted border-l border-brand group-hover:border-brand',
+ className:
+ 'text-foreground-muted border-l border-brand-default group-hover:border-brand-default',
},
{
type: 'border',
diff --git a/packages/ui/src/components/SuccessCheck.tsx b/packages/ui/src/components/SuccessCheck.tsx
index 0658836f6a7..d5a0ac28592 100644
--- a/packages/ui/src/components/SuccessCheck.tsx
+++ b/packages/ui/src/components/SuccessCheck.tsx
@@ -5,7 +5,7 @@ import { cn } from '../lib/utils'
export const SuccessCheck = ({ className }: { className?: string }) => (
<span
className={cn(
- 'inline-flex size-5 shrink-0 items-center justify-center rounded-full border border-brand bg-brand text-white dark:text-black',
+ 'inline-flex size-5 shrink-0 items-center justify-center rounded-full border border-brand-default bg-brand-default text-white dark:text-black',
className
)}
>
diff --git a/packages/ui/src/components/shadcn/ui/badge.tsx b/packages/ui/src/components/shadcn/ui/badge.tsx
index e20c873c222..e4cccd61a23 100644
--- a/packages/ui/src/components/shadcn/ui/badge.tsx
+++ b/packages/ui/src/components/shadcn/ui/badge.tsx
@@ -10,7 +10,7 @@ const badgeVariants = cva(
variant: {
default: 'bg-surface-75 text-foreground-light border border-strong',
warning: 'bg-warning/10 text-warning-600 border border-warning-500',
- success: 'bg-brand/10 text-brand-600 border border-brand-500',
+ success: 'bg-brand-default/10 text-brand-600 border border-brand-500',
destructive: 'bg-destructive/10 text-destructive border border-border-destructive',
// Secondary is invisible
secondary:
diff --git a/packages/ui/src/components/shadcn/ui/switch.tsx b/packages/ui/src/components/shadcn/ui/switch.tsx
index c453fe9bf45..ad3572774af 100644
--- a/packages/ui/src/components/shadcn/ui/switch.tsx
+++ b/packages/ui/src/components/shadcn/ui/switch.tsx
@@ -7,7 +7,7 @@ import * as React from 'react'
import { cn } from '../../../lib/utils/cn'
const switchRootVariants = cva(
- 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border transition-colors focus-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand data-[state=checked]:hover:bg-brand-600/90 data-[state=unchecked]:bg-control data-[state=unchecked]:hover:bg-border',
+ 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border transition-colors focus-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand-default data-[state=checked]:hover:bg-brand-600/90 data-[state=unchecked]:bg-control data-[state=unchecked]:hover:bg-border',
{
variants: {
size: {
diff --git a/packages/ui/src/lib/tailwind-demo-classes.ts b/packages/ui/src/lib/tailwind-demo-classes.ts
index 44d478dbd1c..278492255d9 100644
--- a/packages/ui/src/lib/tailwind-demo-classes.ts
+++ b/packages/ui/src/lib/tailwind-demo-classes.ts
@@ -59,8 +59,7 @@ export default {
'bg-brand-400',
'bg-brand-500',
'bg-brand-600',
- 'bg-brand',
- 'bg-brand-link',
+ 'bg-brand-default',
'bg-_secondary-200',
'bg-_secondary-400',
'bg-_secondary',