Skip to content

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

refactor(ui): rename text-brand to text-primary (#50564)

Danny Whiteec53175b8a25
diff --git a/apps/design-system/app/(app)/page.tsx b/apps/design-system/app/(app)/page.tsx
index c8a6e7d3d78..515bdceef09 100644
--- a/apps/design-system/app/(app)/page.tsx
+++ b/apps/design-system/app/(app)/page.tsx
@@ -30,7 +30,7 @@ export default function Home() {
<Link href="/docs/icons" className="h-full flex">
<div className="p-6 gap-4 flex flex-col justify-between h-full w-full bg-surface-75 hover:bg-overlay/50 hover:border-foreground-muted cursor-pointer transition-all border rounded-md">
- <div className="flex items-center justify-start min-h-[24px] gap-3 text-brand">
+ <div className="flex items-center justify-start min-h-[24px] gap-3 text-primary">
<Realtime className="w-5 h-5" strokeWidth={1.5} stroke="currentColor" />
<Database className="w-5 h-5 opacity-60" strokeWidth={1.5} stroke="currentColor" />
<Auth className="w-5 h-5 opacity-30" strokeWidth={1.5} stroke="currentColor" />
@@ -44,7 +44,7 @@ export default function Home() {
<Link href="/docs/theming" className="h-full flex">
<div className="p-6 gap-4 flex flex-col justify-between h-full w-full bg-surface-75 hover:bg-overlay/50 hover:border-foreground-muted cursor-pointer transition-all border rounded-md">
- <div className="flex items-center justify-start min-h-[24px] text-brand">
+ <div className="flex items-center justify-start min-h-[24px] text-primary">
<Paintbrush className="w-6 h-6" strokeWidth={1.5} stroke="currentColor" />
</div>
<div>
diff --git a/apps/design-system/components/mdx-components.tsx b/apps/design-system/components/mdx-components.tsx
index 28504424149..8b1469d65ad 100644
--- a/apps/design-system/components/mdx-components.tsx
+++ b/apps/design-system/components/mdx-components.tsx
@@ -87,7 +87,7 @@ const components = {
a: ({ className, ...props }: React.HTMLAttributes<HTMLAnchorElement>) => (
<a
className={cn(
- 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2',
+ 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2',
className
)}
{...props}
diff --git a/apps/design-system/content/docs/color-usage.mdx b/apps/design-system/content/docs/color-usage.mdx
index 570604fe517..51e5b530f87 100644
--- a/apps/design-system/content/docs/color-usage.mdx
+++ b/apps/design-system/content/docs/color-usage.mdx
@@ -9,7 +9,7 @@ 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
+Use `text-primary` 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.
diff --git a/apps/design-system/content/docs/typography.mdx b/apps/design-system/content/docs/typography.mdx
index e6030e0ac15..ec6302c945b 100644
--- a/apps/design-system/content/docs/typography.mdx
+++ b/apps/design-system/content/docs/typography.mdx
@@ -12,6 +12,6 @@ The shorthands below are composed of core [Tailwind utility classes](../docs/tai
| 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-primary` | 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.
+`text-primary` 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/page-layout-edge-function.tsx b/apps/design-system/registry/default/example/page-layout-edge-function.tsx
index 8531092c35e..431de74c788 100644
--- a/apps/design-system/registry/default/example/page-layout-edge-function.tsx
+++ b/apps/design-system/registry/default/example/page-layout-edge-function.tsx
@@ -435,7 +435,7 @@ function OverviewPage() {
<Check
size={16}
strokeWidth={1.5}
- className="mt-0.5 shrink-0 text-brand"
+ className="mt-0.5 shrink-0 text-primary"
aria-hidden="true"
/>
<div>
diff --git a/apps/design-system/registry/default/example/page-layout-logs-content.tsx b/apps/design-system/registry/default/example/page-layout-logs-content.tsx
index d842f6ef8fe..98ed0a953e7 100644
--- a/apps/design-system/registry/default/example/page-layout-logs-content.tsx
+++ b/apps/design-system/registry/default/example/page-layout-logs-content.tsx
@@ -141,7 +141,7 @@ export function PageLayoutLogsContent() {
<TableCell
className={cn(
'font-mono text-xs',
- status === '500' ? 'text-destructive' : 'text-brand'
+ status === '500' ? 'text-destructive' : 'text-primary'
)}
>
{status}
diff --git a/apps/docs/app/page.tsx b/apps/docs/app/page.tsx
index 07bd3911e3e..7bbed7e302d 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 text-sm"
+ className="no-underline text-primary text-sm"
/>
</div>
@@ -388,7 +388,7 @@ const HomePage = () => (
<TextLink
label="More on self-hosting"
url="/guides/self-hosting"
- className="no-underline text-brand text-sm"
+ className="no-underline text-primary text-sm"
/>
</div>
</div>
diff --git a/apps/docs/components/Feedback/FeedbackModal.tsx b/apps/docs/components/Feedback/FeedbackModal.tsx
index 0052a08d9e7..c6f0050ca6e 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 hover:underline"
+ className="text-primary hover:underline"
>
support request
</a>
diff --git a/apps/docs/components/GuidesSidebar.tsx b/apps/docs/components/GuidesSidebar.tsx
index a9fb4fdb028..8de66f5a342 100644
--- a/apps/docs/components/GuidesSidebar.tsx
+++ b/apps/docs/components/GuidesSidebar.tsx
@@ -62,7 +62,7 @@ function AiTools({ className }: { className?: string }) {
className="flex cursor-pointer items-center gap-1.5 text-xs text-foreground-lighter hover:text-foreground text-left transition-colors"
>
{copied ? (
- <Check size={14} strokeWidth={1.5} className="text-brand" aria-hidden />
+ <Check size={14} strokeWidth={1.5} className="text-primary" aria-hidden />
) : (
<Copy size={14} strokeWidth={1.5} aria-hidden />
)}
diff --git a/apps/docs/components/MetricsStackCards.tsx b/apps/docs/components/MetricsStackCards.tsx
index 6d02659cfc3..90a22651b64 100644
--- a/apps/docs/components/MetricsStackCards.tsx
+++ b/apps/docs/components/MetricsStackCards.tsx
@@ -35,7 +35,7 @@ export function MetricsStackCards() {
className={`inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-medium ${
badge.variant === 'community'
? 'border-warning/40 text-warning'
- : 'border-brand-500/50 text-brand'
+ : 'border-brand-500/50 text-primary'
}`}
>
{badge.label}
diff --git a/apps/docs/components/Navigation/Footer.tsx b/apps/docs/components/Navigation/Footer.tsx
index 41d7242a739..796e7914977 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 hover:underline"
+ className="text-primary 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 41c145cbc3c..903373a09b3 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 mb-px">DOCS</span>
+ <span className="font-mono text-sm font-medium text-primary 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 8570dcd0fd2..0156eb85eb8 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 flex gap-3"
+ className="cursor-pointer transition text-foreground-lighter text-sm hover:text-primary 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 hover:text-brand-600 hover:cursor-pointer ',
+ 'text-base transition-all duration-200 text-primary 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 69afb363f8e..21a81eff18f 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' : 'hover:text-brand text-foreground',
+ props.url === pathname ? 'text-primary' : 'hover:text-primary 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 font-medium'
+ ? 'text-primary 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'
- : 'hover:text-brand text-foreground-lighter',
+ ? 'text-primary'
+ : 'hover:text-primary text-foreground-lighter',
].join(' ')}
>
{child.url === pathname && (
@@ -173,7 +173,9 @@ 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 font-medium' : 'hover:text-foreground text-foreground-lighter',
+ activeItem
+ ? 'text-primary font-medium'
+ : 'hover:text-foreground text-foreground-lighter',
].join(' ')}
parent={props.subItem.parent}
>
@@ -204,7 +206,7 @@ const ContentLink = React.memo(function ContentLink(props: any) {
className={[
'cursor-pointer transition text-sm',
'focus-inset rounded-md',
- props.url === pathname ? 'text-brand' : 'hover:text-foreground text-foreground-lighter',
+ props.url === pathname ? 'text-primary' : 'hover:text-foreground text-foreground-lighter',
].join(' ')}
>
{props.icon && (
@@ -226,7 +228,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">
+ <div className="flex items-center gap-3 my-3 text-primary">
<MenuIconPicker icon={menu.icon} />
<HeaderLink title={menu.title} url={menu.url} id={id} />
</div>
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
index 18e8d40f6cb..df59a631a70 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
@@ -70,7 +70,7 @@ const FunctionLink = memo(function FunctionLink({
className={cn(
'cursor-pointer transition text-sm hover:text-foreground gap-3 relative',
isParent ? 'flex justify-between' : 'leading-3',
- active ? 'text-brand' : 'text-foreground-lighter'
+ active ? 'text-primary' : 'text-foreground-lighter'
)}
>
{icon && <Image width={16} height={16} alt={icon} src={`${BASE_PATH}${icon}`} />}
diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
index 5e8971084f0..3d60d0c78b0 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 mb-px">DOCS</span>
+ <span className="font-mono text-sm font-medium text-primary mb-px">DOCS</span>
</Link>
)
})
diff --git a/apps/docs/components/Navigation/SideBar.tsx b/apps/docs/components/Navigation/SideBar.tsx
index c9a98c91cf3..f90958afa63 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'
+ ? 'bg-background text-primary'
: '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 transition">
+ <span className="text-foreground text-sm group-hover:text-primary 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'
+ ? 'bg-background text-primary'
: '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 transition">
+ <span className="text-foreground text-sm group-hover:text-primary 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'
+ ? 'bg-background text-primary'
: '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 518d112377f..d6f82721803 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 focus-visible:text-brand transition-colors"
+ className="hover:text-primary focus-visible:text-primary transition-colors"
>
<span className="sr-only">View on GitHub</span>
<Github size={18} />
diff --git a/apps/docs/features/docs/Reference.navigation.client.tsx b/apps/docs/features/docs/Reference.navigation.client.tsx
index 1716b2c27ba..18dd75f8d65 100644
--- a/apps/docs/features/docs/Reference.navigation.client.tsx
+++ b/apps/docs/features/docs/Reference.navigation.client.tsx
@@ -188,7 +188,7 @@ function getLinkStyles(isActive: boolean, className?: string) {
return cn(
'text-sm text-foreground-lighter',
!isActive && 'hover:text-foreground',
- isActive && 'text-brand',
+ isActive && 'text-primary',
'transition-colors',
className
)
diff --git a/apps/docs/features/ui/AgentPluginsPanel.tsx b/apps/docs/features/ui/AgentPluginsPanel.tsx
index b837378ae39..e546da21964 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 hover:underline"
+ className="text-primary 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 hover:underline"
+ className="text-primary 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 hover:underline"
+ className="text-primary 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 hover:underline"
+ className="text-primary hover:underline"
>
Gemini CLI extensions directory
</a>
@@ -178,7 +178,7 @@ function PluginInstructions({ client }: { client: PluginClient }) {
href="https://github.com/anthropics/claude-plugins-official"
target="_blank"
rel="noopener noreferrer"
- className="text-brand-link hover:underline"
+ className="text-primary hover:underline"
>
official Anthropic marketplace
</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 hover:underline"
+ className="text-primary 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 hover:underline"
+ className="text-primary hover:underline"
>
GitHub repository
</a>
@@ -290,7 +290,7 @@ export function AgentPluginsPanel() {
href={selectedClient.docsUrl}
target="_blank"
rel="noopener noreferrer"
- className="text-brand hover:underline inline-flex items-center"
+ className="text-primary 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 hover:underline inline-flex items-center"
+ className="text-primary hover:underline inline-flex items-center"
>
Give feedback
<ExternalLink className="h-3 w-3 ml-1" />
diff --git a/apps/docs/features/ui/AgentSetup.tsx b/apps/docs/features/ui/AgentSetup.tsx
index 66f5f498f89..3f4a92dc952 100644
--- a/apps/docs/features/ui/AgentSetup.tsx
+++ b/apps/docs/features/ui/AgentSetup.tsx
@@ -27,7 +27,7 @@ const markdownComponents = {
return (
<a
href={href}
- className="text-brand-link hover:underline"
+ className="text-primary hover:underline"
{...(external ? { target: '_blank', rel: 'noreferrer noopener' } : {})}
>
{children}
@@ -56,7 +56,7 @@ function HarnessBody({ harness }: { harness: MonitoringAgentHarnessSetup }) {
<p>
<a
href={harness.docsUrl}
- className="text-brand-link hover:underline"
+ className="text-primary hover:underline"
target="_blank"
rel="noreferrer noopener"
>
diff --git a/apps/kb/src/components/Logo.tsx b/apps/kb/src/components/Logo.tsx
index c0b9ab188ac..05bee003d22 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 mb-px">KB</span>
+ <span className="font-mono text-sm font-medium text-primary mb-px">KB</span>
</a>
)
}
diff --git a/apps/learn/components/mdx-components.tsx b/apps/learn/components/mdx-components.tsx
index 9d26e08adf7..6de41586f28 100644
--- a/apps/learn/components/mdx-components.tsx
+++ b/apps/learn/components/mdx-components.tsx
@@ -44,7 +44,7 @@ const components = {
a: ({ className, ...props }: React.HTMLAttributes<HTMLAnchorElement>) => (
<a
className={cn(
- 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2',
+ 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2',
className
)}
{...props}
diff --git a/apps/learn/components/tanstack-beta.tsx b/apps/learn/components/tanstack-beta.tsx
index 89da1a6e489..a8c4f15e28b 100644
--- a/apps/learn/components/tanstack-beta.tsx
+++ b/apps/learn/components/tanstack-beta.tsx
@@ -19,7 +19,7 @@ export default function TanStackBeta() {
href="https://tanstack.com/start/latest/docs/framework/react/quick-start"
target="_blank"
rel="noopener noreferrer"
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
>
TanStack Quickstart guide
</a>
diff --git a/apps/studio/components/grid/components/footer/pagination/Pagination.tsx b/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
index cd905fdeb60..3fce1af126a 100644
--- a/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
+++ b/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
@@ -345,7 +345,9 @@ export const Pagination = ({ enableForeignRowsQuery = true }: PaginationProps) =
? `This is an estimated value as your table has more than ${THRESHOLD_COUNT.toLocaleString()} rows.`
: `Count not automatically loaded as your table has more than ${THRESHOLD_COUNT.toLocaleString()} rows.`}{' '}
<br />
- <span className="text-brand">Click to retrieve the exact count of the table.</span>
+ <span className="text-primary">
+ Click to retrieve the exact count of the table.
+ </span>
</TooltipContent>
</Tooltip>
)}
diff --git a/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx b/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
index 0cb40e98dce..bbd4ac2413e 100644
--- a/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
+++ b/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
@@ -91,7 +91,7 @@ export const ReferenceRecordPeek = ({ table, filters }: ReferenceRecordPeekProps
{isPrimaryKey && (
<Tooltip>
<TooltipTrigger>
- <Key size={14} strokeWidth={2} className="text-brand rotate-45" />
+ <Key size={14} strokeWidth={2} className="text-primary rotate-45" />
</TooltipTrigger>
<TooltipContent side="bottom">Primary key</TooltipContent>
</Tooltip>
diff --git a/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx b/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
index ac9a2f1f244..baf554da1a8 100644
--- a/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
+++ b/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
@@ -227,7 +227,10 @@ export const FilterPopoverNew = ({
const icon = isGenerating ? (
<AiIconAnimation size={16} loading />
) : isRefetching ? (
- <Loader2 className="animate-spin text-brand h-4 w-4 shrink-0" aria-label="Loading table data" />
+ <Loader2
+ className="animate-spin text-primary h-4 w-4 shrink-0"
+ aria-label="Loading table data"
+ />
) : null
return (
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/TokenCapabilities/EndpointRow.tsx b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/TokenCapabilities/EndpointRow.tsx
index ccaf55a4852..ffc630b63f1 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/TokenCapabilities/EndpointRow.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/TokenCapabilities/EndpointRow.tsx
@@ -95,7 +95,7 @@ export const EndpointRow = ({
</span>
<span className="shrink-0 pl-2">
{showCopiedIcon ? (
- <Check size={14} className="text-brand" />
+ <Check size={14} className="text-primary" />
) : (
<Copy
size={14}
diff --git a/apps/studio/components/interfaces/Advisors/CreateRuleSheet.tsx b/apps/studio/components/interfaces/Advisors/CreateRuleSheet.tsx
index ef3f22df4a2..3f41a6ad007 100644
--- a/apps/studio/components/interfaces/Advisors/CreateRuleSheet.tsx
+++ b/apps/studio/components/interfaces/Advisors/CreateRuleSheet.tsx
@@ -159,8 +159,8 @@ export const CreateRuleSheet = ({ lint, open, onOpenChange }: CreateRuleSheetPro
<TooltipContent side="bottom" className="w-72">
Assign this rule to a specific project member before toggling this option
off. This will then configure the rule to{' '}
- <span className="text-brand">only be visible</span> to that member in the
- advisor reports.
+ <span className="text-primary">only be visible</span> to that member in
+ the advisor reports.
</TooltipContent>
)}
</Tooltip>
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
index 05aa24556cb..cd231b2deea 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
@@ -176,7 +176,7 @@ export const FeaturePreviewModal = () => {
<SelectTrigger id="feature-preview-select">
<div className="flex items-center gap-x-2">
{(flags[selectedFeature.key] ?? false) ? (
- <Eye size={14} strokeWidth={2} className="text-brand" />
+ <Eye size={14} strokeWidth={2} className="text-primary" />
) : (
<EyeOff size={14} strokeWidth={1.5} className="text-foreground-light" />
)}
@@ -310,7 +310,7 @@ const FeaturePreviewItem = ({
>
<div className="flex items-center gap-x-3">
{isEnabled ? (
- <Eye size={14} strokeWidth={2} className="text-brand" />
+ <Eye size={14} strokeWidth={2} className="text-primary" />
) : (
<EyeOff size={14} strokeWidth={1.5} className="text-foreground-light" />
)}
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index 1cbf7f7de63..369b0558353 100644
--- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -189,7 +189,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">
+ <div className="flex items-center gap-1 rounded-full border border-brand-400 bg-brand-200 py-1 px-1 text-xs text-primary">
<span className="rounded-full bg-brand-default p-0.5 text-xs text-brand-200">
<Check strokeWidth={2} size={12} />
</span>
diff --git a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.constants.ts b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.constants.ts
index a4324f5b7ba..b43998e3ad2 100644
--- a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.constants.ts
+++ b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.constants.ts
@@ -111,5 +111,5 @@ export const calculatePercentagePointChange = (
}
export const getChangeColor = (percentageChange: number): string => {
- return percentageChange >= 0 ? 'text-brand' : 'text-destructive'
+ return percentageChange >= 0 ? 'text-primary' : 'text-destructive'
}
diff --git a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
index 4028af7a906..181128af1a1 100644
--- a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
+++ b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
@@ -28,7 +28,7 @@ export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
add custom code to set the <code>authenticated</code> role to all your present and future
users. You can read more in the{' '}
<a
- className="hover:decoration-brand underline hover:text-foreground transition"
+ className="hover:decoration-primary underline hover:text-foreground transition"
href={`${DOCS_URL}/guides/auth`}
>
documentation
@@ -43,7 +43,7 @@ export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
Allow users to use Supabase with Auth0 project. Additional setup may be required. You can
read more in the{' '}
<a
- className="hover:decoration-brand underline hover:text-foreground transition"
+ className="hover:decoration-primary underline hover:text-foreground transition"
href={`${DOCS_URL}/guides/auth`}
>
documentation
@@ -57,7 +57,7 @@ export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
Allow users to use Supabase with an Amazon Cognito. Additional setup may be required. You
can read more in the{' '}
<a
- className="hover:decoration-brand underline hover:text-foreground transition"
+ className="hover:decoration-primary underline hover:text-foreground transition"
href={`${DOCS_URL}/guides/auth/third-party/aws-cognito`}
>
documentation
@@ -72,7 +72,7 @@ export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
Allow users to use Supabase with Clerk. Additional setup may be required. You can read
more in the{' '}
<a
- className="hover:decoration-brand underline hover:text-foreground transition"
+ className="hover:decoration-primary underline hover:text-foreground transition"
href={`${DOCS_URL}/guides/auth/third-party/clerk`}
>
documentation
@@ -87,7 +87,7 @@ export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
Allow users to use Supabase with WorkOS. Additional setup may be required. You can read
more in the{' '}
<a
- className="hover:decoration-brand underline hover:text-foreground transition"
+ className="hover:decoration-primary underline hover:text-foreground transition"
href={`${DOCS_URL}/guides/auth/third-party/workos`}
>
documentation
diff --git a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
index 66cf9eb198c..824353a4686 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
@@ -273,7 +273,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">
+ <div className="flex items-center gap-1 rounded-full border border-brand-400 bg-brand-200 py-1 px-1 text-xs text-primary">
<span className="rounded-full bg-brand-default p-0.5 text-xs text-brand-200">
<Check strokeWidth={2} size={12} />
</span>
@@ -555,7 +555,7 @@ export const RowAction = ({
<ButtonTooltip
variant={button?.variant ?? 'default'}
- icon={success ? <Check className="text-brand" /> : button.icon}
+ icon={success ? <Check className="text-primary" /> : button.icon}
loading={button.isLoading ?? false}
onClick={button.onClick}
disabled={disabled}
diff --git a/apps/studio/components/interfaces/Auth/Users/UsersFooter.tsx b/apps/studio/components/interfaces/Auth/Users/UsersFooter.tsx
index 68fc752636e..f3f10267b1d 100644
--- a/apps/studio/components/interfaces/Auth/Users/UsersFooter.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UsersFooter.tsx
@@ -98,7 +98,9 @@ export const UsersFooter = ({
This is an estimated value as your project has more than{' '}
{THRESHOLD_COUNT.toLocaleString()} users.
<br />
- <span className="text-brand">Click to retrieve the exact count.</span>{' '}
+ <span className="text-primary">
+ Click to retrieve the exact count.
+ </span>{' '}
</>
) : (
<>
diff --git a/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx b/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx
index 6cf5fed09f3..675227820b4 100644
--- a/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx
@@ -89,7 +89,7 @@ export const BranchSelector = ({
</span>
</div>
{selectedBranch?.id === branch.id && (
- <Check size={14} strokeWidth={1.5} className="text-brand" />
+ <Check size={14} strokeWidth={1.5} className="text-primary" />
)}
{branch.git_branch && <span>Synced to a Git branch</span>}
{branch.review_requested_at && <span>Merge request opened</span>}
diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
index 8c437d60bef..4d61aa416c8 100644
--- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
@@ -401,7 +401,7 @@ export const CreateBranchModal = () => {
isCheckingGHBranchValidity ? (
<Loader2 size={14} className="animate-spin" />
) : isGitBranchValid ? (
- <Check size={14} className="text-brand" strokeWidth={2} />
+ <Check size={14} className="text-primary" strokeWidth={2} />
) : null
) : null}
</div>
diff --git a/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx b/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx
index 70af737772e..c1ff9154411 100644
--- a/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx
@@ -35,7 +35,7 @@ interface FunctionDiffProps {
const getStatusColor = (status: FileStatus): string => {
switch (status) {
case 'added':
- return 'text-brand'
+ return 'text-primary'
case 'removed':
return 'text-destructive'
case 'modified':
diff --git a/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx
index eba2470dd65..0f8cc13fe18 100644
--- a/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx
@@ -299,7 +299,7 @@ export const EditBranchModal = ({ branch, visible, onClose }: EditBranchModalPro
isChecking ? (
<Loader2 size={14} className="animate-spin" />
) : isGitBranchValid ? (
- <Check size={14} className="text-brand" strokeWidth={2} />
+ <Check size={14} className="text-primary" strokeWidth={2} />
) : null
) : null}
</div>
diff --git a/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx b/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
index 3f60b1e9800..c65e3ed9847 100644
--- a/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
@@ -61,12 +61,12 @@ export const WorkflowLogsCard = ({
<CircleDotDashed size={16} strokeWidth={1.5} className="text-warning" />
</motion.div>
) : isSuccess ? (
- <GitMerge size={16} strokeWidth={1.5} className="text-brand" />
+ <GitMerge size={16} strokeWidth={1.5} className="text-primary" />
) : null)
return (
<Card className="bg-background overflow-hidden h-64 flex flex-col">
- <CardHeader className={isSuccess ? 'text-brand' : isFailed ? 'text-destructive' : ''}>
+ <CardHeader className={isSuccess ? 'text-primary' : isFailed ? 'text-destructive' : ''}>
<div className="flex items-center justify-between">
<div className="flex items-center gap-4">
{displayIcon}
diff --git a/apps/studio/components/interfaces/Branching/MergeRequest.tsx b/apps/studio/components/interfaces/Branching/MergeRequest.tsx
index d9ab6c604b5..0c591620923 100644
--- a/apps/studio/components/interfaces/Branching/MergeRequest.tsx
+++ b/apps/studio/components/interfaces/Branching/MergeRequest.tsx
@@ -195,7 +195,7 @@ export const MergeActions = ({
loading={isSubmitting}
disabled={isMergeDisabled}
onClick={onSelectMerge}
- icon={<GitMerge size={16} strokeWidth={1.5} className="text-brand" />}
+ icon={<GitMerge size={16} strokeWidth={1.5} className="text-primary" />}
>
Merge branch
</ButtonTooltip>
@@ -204,7 +204,7 @@ export const MergeActions = ({
variant="primary"
loading={isSubmitting}
onClick={onSelectMerge}
- icon={<GitMerge size={16} strokeWidth={1.5} className="text-brand" />}
+ icon={<GitMerge size={16} strokeWidth={1.5} className="text-primary" />}
>
Merge branch
</Button>
diff --git a/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx b/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx
index 4d1fe9ab718..ffc562c76aa 100644
--- a/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx
+++ b/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx
@@ -302,7 +302,7 @@ export function ConfigurationDriftPage() {
) : driftRows.length === 0 ? (
<Card className="flex min-h-44 items-center justify-center px-6 text-center">
<div className="max-w-lg">
- <CheckCircle2 className="mx-auto mb-3 h-6 w-6 text-brand" />
+ <CheckCircle2 className="mx-auto mb-3 h-6 w-6 text-primary" />
<h2 className="text-sm font-medium">All compared settings match</h2>
<p className="mt-1 text-sm text-foreground-light">
The current environment matches all {summary.matchedFields.length} comparable settings
diff --git a/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx b/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
index 3563c82da8a..18ef8a63a1e 100644
--- a/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
@@ -140,7 +140,7 @@ export function CopyPromptButton({ stepsContainerRef, customPrompt }: CopyPrompt
return (
<>
<ButtonTooltip
- icon={showCopied ? <Check strokeWidth={2} className="text-brand" /> : <Copy />}
+ icon={showCopied ? <Check strokeWidth={2} className="text-primary" /> : <Copy />}
onClick={() => {
const textToCopy = customPrompt ?? buildConnectPrompt(stepsContainerRef.current)
copyToClipboard(textToCopy, () => setShowCopied(true))
diff --git a/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/content.tsx b/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/content.tsx
index 3f519fe7969..d0f222cddf0 100644
--- a/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/content.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/content.tsx
@@ -178,7 +178,7 @@ function DirectConnectionContent({ state, deploymentMode }: StepContentProps) {
</div>
{deploymentMode.isPlatform && temporaryDatabasePassword && (
<div className="flex items-center gap-2 border-t px-4 py-3 text-sm text-foreground-light">
- <Check size={16} className="text-brand shrink-0" />
+ <Check size={16} className="text-primary shrink-0" />
<span>New password shown until refresh.</span>
</div>
)}
diff --git a/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx b/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
index c31c5fa9dac..766a10cfe85 100644
--- a/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
@@ -55,7 +55,7 @@ export const PITRNotice = () => {
<p className="text-sm text-foreground-light">
Database changes are logged every <span className="text-foreground">2 minutes</span>,
with a total recovery period of up to{' '}
- <span className="text-brand">{retentionPeriod} days</span>.
+ <span className="text-primary">{retentionPeriod} days</span>.
</p>
</div>
</div>
diff --git a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/AdditionalMonthlySpend.tsx b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/AdditionalMonthlySpend.tsx
index d39a85d6dc4..71ec8011f6d 100644
--- a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/AdditionalMonthlySpend.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/AdditionalMonthlySpend.tsx
@@ -27,7 +27,7 @@ export const AdditionalMonthlySpend = ({
</div>
<div className="flex justify-between border-t pt-2">
<p>Total</p>
- <p className="font-mono text-right text-brand">
+ <p className="font-mono text-right text-primary">
${additionalMonthlySpend.computePrice + additionalMonthlySpend.diskPrice}
</p>
</div>
diff --git a/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx b/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
index 7ba68763b37..e894725a7b7 100644
--- a/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
+++ b/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
@@ -259,7 +259,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
>
<Check
className={cn(
- 'text-brand',
+ 'text-primary',
schema.name === field.value ? 'opacity-100' : 'opacity-0'
)}
strokeWidth={2}
@@ -370,7 +370,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
>
<Check
className={cn(
- 'text-brand',
+ 'text-primary',
entity.name === field.value ? 'opacity-100' : 'opacity-0'
)}
strokeWidth={2}
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx
index 874d3679df9..72a76cebe9f 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx
@@ -94,7 +94,7 @@ const DuckLakeModeSelector = ({
<div className="flex items-start justify-between">
<Icon size={18} strokeWidth={1.5} className="text-foreground-light" />
{selected ? (
- <Check size={16} className="text-brand" />
+ <Check size={16} className="text-primary" />
) : (
<span className="h-4 w-4 rounded-full border border-strong" />
)}
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx
index b47c5289670..3681dedef6b 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx
@@ -132,7 +132,7 @@ export const PublicationsComboBox = ({
>
<span>{pub.name}</span>
{selectedPublication === pub.name && (
- <Check className="text-brand" strokeWidth={2} size={13} />
+ <Check className="text-primary" strokeWidth={2} size={13} />
)}
</CommandItem>
))}
diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
index ac1f5b346c1..40fb1530d67 100644
--- a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
@@ -275,7 +275,7 @@ const TableNodeComponent = ({
'text-ellipsis overflow-hidden whitespace-nowrap min-w-0 max-w-[80%]',
schemaGraphContext.selectedEdge?.sourceHandle === column.id ||
schemaGraphContext.selectedEdge?.targetHandle === column.id
- ? 'text-brand'
+ ? 'text-primary'
: undefined
)}
title={column.name}
diff --git a/apps/studio/components/interfaces/Database/Tables/TableList.tsx b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
index 5961fd563ee..38947732363 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" />
+ <Check size={16} strokeWidth={2} className="text-primary" />
<p className="text-foreground-light">Enabled</p>
</div>
) : (
diff --git a/apps/studio/components/interfaces/Database/Triggers/EventTriggersList/EventTriggerList.tsx b/apps/studio/components/interfaces/Database/Triggers/EventTriggersList/EventTriggerList.tsx
index b4f41abc15e..db69c8a3c70 100644
--- a/apps/studio/components/interfaces/Database/Triggers/EventTriggersList/EventTriggerList.tsx
+++ b/apps/studio/components/interfaces/Database/Triggers/EventTriggersList/EventTriggerList.tsx
@@ -133,7 +133,7 @@ export const EventTriggerList = ({
<TableCell>
<div className="flex items-center justify-center">
{trigger.enabled_mode !== 'DISABLED' ? (
- <Check strokeWidth={2} className="text-brand" />
+ <Check strokeWidth={2} className="text-primary" />
) : (
<X strokeWidth={2} />
)}
diff --git a/apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx b/apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
index e0d00fbef26..6a1ce6b2442 100644
--- a/apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
+++ b/apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
@@ -157,7 +157,7 @@ export const TriggerList = ({ editTrigger, duplicateTrigger, deleteTrigger }: Tr
<TableCell>
<div className="flex items-center justify-center">
{x.enabled_mode !== 'DISABLED' ? (
- <Check strokeWidth={2} className="text-brand" />
+ <Check strokeWidth={2} className="text-primary" />
) : (
<X strokeWidth={2} />
)}
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.components.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.components.tsx
index 62a9f69a9ac..3a089981948 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.components.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.components.tsx
@@ -27,7 +27,7 @@ export const ValueChange = ({ from, to }: { from: string; to: string }) => (
)
export const PriceDelta = ({ delta }: { delta: number }) => (
- <span className={cn('text-xs', delta >= 0 ? 'text-brand' : 'text-destructive')}>
+ <span className={cn('text-xs', delta >= 0 ? 'text-primary' : 'text-destructive')}>
{delta >= 0 ? `+${formatCurrency(delta)}` : `-${formatCurrency(Math.abs(delta))}`}{' '}
<span className="text-foreground-lighter">per month</span>
</span>
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.RowCountIndicator.tsx b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.RowCountIndicator.tsx
index 166d726427d..c9d291756d4 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.RowCountIndicator.tsx
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.RowCountIndicator.tsx
@@ -34,7 +34,7 @@ export function RowCountIndicator({
-{formatRowCount(rowsRemovedByFilter)}
</span>
<ArrowRight size={10} className="text-foreground-muted" />
- <span className="text-brand font-medium">
+ <span className="text-primary font-medium">
{formatRowCount(actualRows)} {actualRows === 1 ? 'row' : 'rows'}
</span>
</div>
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
index 2489e735a51..1e0dff791de 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
@@ -120,7 +120,7 @@ export function getOperationIcon(operation: string): LucideIcon {
export function getOperationColor(operation: string): string {
const op = operation.toLowerCase()
if (op.includes('seq scan')) return 'text-warning'
- if (op.includes('index')) return 'text-brand'
+ if (op.includes('index')) return 'text-primary'
if (op.includes('join')) return 'text-foreground-light'
if (op.includes('sort') || op.includes('aggregate')) return 'text-foreground-light'
return 'text-foreground-light'
diff --git a/apps/studio/components/interfaces/Explorer/ExplorerNotebookTab.tsx b/apps/studio/components/interfaces/Explorer/ExplorerNotebookTab.tsx
index 7e8b92fb198..2b1c469df03 100644
--- a/apps/studio/components/interfaces/Explorer/ExplorerNotebookTab.tsx
+++ b/apps/studio/components/interfaces/Explorer/ExplorerNotebookTab.tsx
@@ -402,7 +402,7 @@ export const ExplorerNotebookTab = () => {
icon={
<AiIconAnimation
size={16}
- className="text-tertiary-foreground group-hover:text-brand"
+ className="text-tertiary-foreground group-hover:text-primary"
/>
}
loading={isCreating}
@@ -436,7 +436,7 @@ export const ExplorerNotebookTab = () => {
<Keyboard size={14} />
<span>Intellisense enabled</span>
</div>
- {isIntellisenseEnabled && <Check className="text-brand" size={16} />}
+ {isIntellisenseEnabled && <Check className="text-primary" size={16} />}
</DropdownMenuItem>
<DropdownMenuItem className="gap-x-2" onClick={handleCopyAsMarkdown}>
<Copy size={14} />
diff --git a/apps/studio/components/interfaces/Explorer/ExplorerQueryTab.tsx b/apps/studio/components/interfaces/Explorer/ExplorerQueryTab.tsx
index f855c9d7d7c..5963fce4cb9 100644
--- a/apps/studio/components/interfaces/Explorer/ExplorerQueryTab.tsx
+++ b/apps/studio/components/interfaces/Explorer/ExplorerQueryTab.tsx
@@ -183,7 +183,7 @@ export const ExplorerQueryTab = () => {
<Keyboard size={14} />
<span>Intellisense enabled</span>
</div>
- {isIntellisenseEnabled && <Check className="text-brand" size={16} />}
+ {isIntellisenseEnabled && <Check className="text-primary" size={16} />}
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem
diff --git a/apps/studio/components/interfaces/Functions/CommandRender.tsx b/apps/studio/components/interfaces/Functions/CommandRender.tsx
index c6a5446d497..d522fd10432 100644
--- a/apps/studio/components/interfaces/Functions/CommandRender.tsx
+++ b/apps/studio/components/interfaces/Functions/CommandRender.tsx
@@ -43,7 +43,7 @@ const Command = ({ item }: any) => {
}}
>
{isCopied ? (
- <Check size={14} strokeWidth={3} className="text-brand" />
+ <Check size={14} strokeWidth={3} className="text-primary" />
) : (
<Copy size={14} />
)}
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
index 204451e7b66..3e7fcc88027 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
@@ -322,7 +322,7 @@ export const EdgeFunctionDetails = () => {
description: 'Download the function to your local machine',
jsx: () => (
<>
- <span className="text-brand">supabase</span> functions download{' '}
+ <span className="text-primary">supabase</span> functions download{' '}
{selectedFunction?.slug}
</>
),
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx
index 689faa5e1d6..fe6431a631a 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx
@@ -19,7 +19,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">supabase</span> functions deploy {selectedFunction?.slug}
+ <span className="text-primary">supabase</span> functions deploy {selectedFunction?.slug}
</>
)
},
@@ -31,7 +31,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">supabase</span> functions delete {selectedFunction?.slug}
+ <span className="text-primary">supabase</span> functions delete {selectedFunction?.slug}
</>
)
},
@@ -46,7 +46,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">supabase</span> secrets list
+ <span className="text-primary">supabase</span> secrets list
</>
)
},
@@ -58,7 +58,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">supabase</span> secrets set NAME1=VALUE1 NAME2=VALUE2
+ <span className="text-primary">supabase</span> secrets set NAME1=VALUE1 NAME2=VALUE2
</>
)
},
@@ -70,7 +70,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">supabase</span> secrets unset NAME1 NAME2
+ <span className="text-primary">supabase</span> secrets unset NAME1 NAME2
</>
)
},
@@ -87,7 +87,7 @@ export const generateCLICommands = ({
jsx: () => {
return (
<>
- <span className="text-brand">curl</span> -L -X POST '{functionUrl}'{' '}
+ <span className="text-primary">curl</span> -L -X POST '{functionUrl}'{' '}
{selectedFunction?.verify_jwt
? `-H
'Authorization: Bearer [YOUR ANON KEY]' `
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
index f5a52cd2a14..76c96d9df43 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
@@ -176,7 +176,7 @@ export const EdgeFunctionRecentErrors = ({
<Check
size={16}
strokeWidth={1.5}
- className="mt-0.5 shrink-0 text-brand"
+ className="mt-0.5 shrink-0 text-primary"
aria-hidden="true"
/>
) : (
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
index fa1d4e56862..ab7a69f76db 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-default bg-brand-300',
+ is2xx && 'text-primary 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/Functions/EdgeFunctionsListItem.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
index db84ba3159e..4f66f1d8566 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
@@ -87,7 +87,7 @@ export const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemP
}}
>
{isCopied ? (
- <div className="text-brand">
+ <div className="text-primary">
<Check size={14} strokeWidth={3} />
</div>
) : (
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
index 42292b182c5..0dd29150beb 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
@@ -100,7 +100,7 @@ export const ProjectTableRow = ({
>
{projectRef}
{isCopied ? (
- <Check size={12} strokeWidth={1.25} className="text-brand" />
+ <Check size={12} strokeWidth={1.25} className="text-primary" />
) : (
<Copy
size={12}
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
index 30dc7cdc25a..95cef65eecf 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
@@ -240,7 +240,7 @@ interface DeletionSuccessProps {
}
const DeletionSuccess = ({ totalRowsDeleted }: DeletionSuccessProps) => (
- <div className="flex items-center gap-2 text-brand">
+ <div className="flex items-center gap-2 text-primary">
<CheckCircle2 size={16} />
<span className="text-sm">Successfully deleted {totalRowsDeleted.toLocaleString()} rows.</span>
</div>
@@ -265,7 +265,7 @@ const DeletionError = ({ error, onRetry }: DeletionErrorProps) => (
const ScheduleSuccess = () => (
<div className="space-y-2">
- <div className="flex items-center gap-2 text-brand">
+ <div className="flex items-center gap-2 text-primary">
<CheckCircle2 size={16} />
<span className="text-sm">Daily cleanup job scheduled successfully.</span>
</div>
diff --git a/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx b/apps/studio/components/interfaces/Integrations/Landing/IntegrationCard.tsx
index a4aa966eee7..f6f696079e2 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" />
- <span className="text-brand text-xs">Installed</span>
+ <BadgeCheck size={14} className="text-primary" />
+ <span className="text-primary text-xs">Installed</span>
</div>
)}
</div>
diff --git a/apps/studio/components/interfaces/Integrations/Queues/QueueCells.tsx b/apps/studio/components/interfaces/Integrations/Queues/QueueCells.tsx
index 7deaf9eb4a3..de291e16b41 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/QueueCells.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/QueueCells.tsx
@@ -49,7 +49,7 @@ export const QueueRLSCell = ({ queue }: QueueCellProps) => {
return (
<div className="flex items-center">
- {isRlsEnabled ? <Check size={14} className="text-brand" /> : <X size={14} />}
+ {isRlsEnabled ? <Check size={14} className="text-primary" /> : <X size={14} />}
</div>
)
}
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
index 576467916dd..cd987a61288 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
@@ -193,7 +193,7 @@ export const ColumnType = ({
</div>
<span className="absolute right-3 top-2">
{option.name === field.value ? (
- <Check className="text-brand" size={14} />
+ <Check className="text-primary" size={14} />
) : (
''
)}
@@ -244,7 +244,7 @@ export const ColumnType = ({
)}
{option.format === field.value && (
<span className="absolute right-3 top-2">
- <Check className="text-brand" size={14} />
+ <Check className="text-primary" size={14} />
</span>
)}
</div>
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx
index 40b1cd124f7..c9be7ff7b02 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx
@@ -372,7 +372,7 @@ export const CreateWrapperSheet = ({
<WarningIcon />
<span className="text-xs text-left">
This feature requires the{' '}
- <span className="text-brand">wrappers</span> extension to be
+ <span className="text-primary">wrappers</span> extension to be
of minimum version of 0.5.0.
</span>
</div>
diff --git a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
index 522c8f7d320..373fd1206d3 100644
--- a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
@@ -53,7 +53,7 @@ export const AlgorithmHoverCard = ({ algorithm, legacy }: AlgorithmHoverCardProp
href={link.url}
target="_blank"
rel="noopener noreferrer"
- className="text-xs text-brand hover:text-brand-600 flex items-center"
+ className="text-xs text-primary hover:text-brand-600 flex items-center"
>
<ExternalLink className="w-3 h-3 mr-1 shrink-0" />
<span className="truncate">{link.label}</span>
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
index 186aca27401..0d2e42ef1c5 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
@@ -283,7 +283,7 @@ export const JWTSecretKeysTable = () => {
<h2>Previously used keys</h2>
<p className="text-sm text-foreground-lighter">
These JWT signing keys are still used to{' '}
- <em className="text-brand not-italic">verify tokens</em> that are yet to expire.
+ <em className="text-primary not-italic">verify tokens</em> that are yet to expire.
Revoke once all tokens have expired.
</p>
</div>
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/rotate-key-dialog.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/rotate-key-dialog.tsx
index 001c7c84bee..38886942491 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/rotate-key-dialog.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/rotate-key-dialog.tsx
@@ -60,7 +60,7 @@ export function RotateKeyDialog({
<DialogTitle>Rotate JWT signing key</DialogTitle>
<DialogDescription>
Change the key used by Supabase Auth to create new JSON Web Tokens. Non-expired tokens
- remain <span className="text-brand">valid and accepted</span>!
+ remain <span className="text-primary">valid and accepted</span>!
</DialogDescription>
</DialogHeader>
<DialogSectionSeparator />
@@ -195,7 +195,7 @@ export function RotateKeyDialog({
text: (
<p>
Rotating the signing key only changes what key is used by Supabase Auth to
- issue <em className="text-brand not-italic">new tokens</em>
+ issue <em className="text-primary not-italic">new tokens</em>
.<br />
<br />
To prevent users from being prematurely signed out, you have to manually
@@ -250,9 +250,11 @@ export function RotateKeyDialog({
<p>
Some of your Edge Functions are set up to require a JWT in the{' '}
<code>Authorization</code> header signed with the{' '}
- <em className="text-brand not-italic">legacy JWT secret</em>. Rotation
+ <em className="text-primary not-italic">legacy JWT secret</em>. Rotation
causes{' '}
- <em className="text-brand not-italic">invocations by signed-in users</em>{' '}
+ <em className="text-primary not-italic">
+ invocations by signed-in users
+ </em>{' '}
to fail with HTTP 401 Unauthorized, as the JWT no longer meets this
requirement.
<br />
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
index 60470876c17..c5e15876cb2 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
@@ -436,14 +436,14 @@ export const JWTSettings = () => {
>
<ul className="space-y-4 text-sm">
<li className="flex gap-2 bg border rounded-md p-4">
- <Lightbulb size={24} className="shrink-0 text-brand" />
+ <Lightbulb size={24} className="shrink-0 text-primary" />
<div className="flex flex-col gap-2">
<p>Use new JWT Signing Keys and API Keys instead</p>
<p className="text-foreground-light">
Consider using a combination of the JWT Signing Keys and API Keys features to
achieve the same effect.{' '}
- <em className="text-brand not-italic">
+ <em className="text-primary not-italic">
Some or all of the warnings listed below might not apply when using these features
</em>
.
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
index d031991c8d5..254d95d95c1 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
@@ -190,7 +190,7 @@ export const BillingMetric = ({
<Link
href={metric.docLink.url}
target="_blank"
- className="transition text-brand hover:text-brand-600 underline"
+ className="transition text-primary hover:text-brand-600 underline"
>
{metric.docLink.title}
</Link>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx
index 0eb75aadc95..ba6d5818cbf 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx
@@ -77,7 +77,7 @@ export const ComputeMetric = ({
<Link
href={`${DOCS_URL}/guides/platform/manage-your-usage/branching`}
target="_blank"
- className="transition text-brand hover:text-brand-600 underline"
+ className="transition text-primary hover:text-brand-600 underline"
>
Read more
</Link>
@@ -90,7 +90,7 @@ export const ComputeMetric = ({
<Link
href={`${DOCS_URL}/guides/platform/manage-your-usage/compute`}
target="_blank"
- className="transition text-brand hover:text-brand-600 underline"
+ className="transition text-primary hover:text-brand-600 underline"
>
Read more
</Link>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
index 9674d99f0af..8193eba8a86 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
@@ -31,13 +31,13 @@ export const EnterpriseCard = ({ plan, isCurrentPlan, variants }: EnterpriseCard
>
<div className="flex flex-col justify-center px-4">
<div className="flex items-center space-x-2">
- <p className={cn('text-brand text-sm uppercase')}>{plan.name}</p>
+ <p className={cn('text-primary 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
</div>
) : plan.nameBadge ? (
- <div className="text-xs bg-surface-200 text-brand rounded-sm px-2 py-0.5">
+ <div className="text-xs bg-surface-200 text-primary rounded-sm px-2 py-0.5">
{plan.nameBadge}
</div>
) : null}
@@ -72,7 +72,7 @@ export const EnterpriseCard = ({ plan, isCurrentPlan, variants }: EnterpriseCard
key={typeof feature === 'string' ? feature : feature[0]}
className="flex items-center py-2 first:mt-0"
>
- <Check className="text-brand h-4 w-4" aria-hidden="true" strokeWidth={3} />
+ <Check className="text-primary h-4 w-4" aria-hidden="true" strokeWidth={3} />
<span className="text-foreground mb-0 ml-3 ">
{typeof feature === 'string' ? feature : feature[0]}
</span>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
index 08e2674fb37..ee1a08b9199 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanCard.tsx
@@ -174,7 +174,7 @@ function ControlCard({
>
<div className="w-full">
<div className="flex items-center space-x-2">
- <p className="text-brand text-sm uppercase">{plan.name}</p>
+ <p className="text-primary 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
@@ -207,7 +207,7 @@ function ControlCard({
<li key={typeof feature === 'string' ? feature : feature[0]} className="flex py-2">
<div className="w-[12px]">
<Check
- className="h-3 w-3 text-brand translate-y-[2.5px]"
+ className="h-3 w-3 text-primary translate-y-[2.5px]"
aria-hidden="true"
strokeWidth={3}
/>
@@ -331,7 +331,7 @@ function ParityCard({
>
<div className="flex items-center">
<div className="flex w-5">
- <Check className="h-4 w-4 text-brand" aria-hidden="true" strokeWidth={3} />
+ <Check className="h-4 w-4 text-primary" aria-hidden="true" strokeWidth={3} />
</div>
<span className="text-foreground">
{typeof feature === 'string' ? feature : feature[0]}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
index ad226853155..449fe7d5c9a 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
@@ -79,7 +79,7 @@ const Subscription = () => {
{isSuccess && (
<div className="space-y-6 w-full">
<div className="flex justify-between items-center">
- <p className="text-2xl text-brand leading-none">
+ <p className="text-2xl text-primary leading-none">
{currentPlan?.name ?? 'Unknown'} Plan
</p>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
index 484da2f54e7..bee25de3588 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
@@ -436,7 +436,7 @@ export const SubscriptionPlanUpdateDialog = ({
{' '}
<Link
href={`/org/${selectedOrganization?.slug}/billing#breakdown`}
- className="text-sm text-brand hover:text-brand-600 transition"
+ className="text-sm text-primary hover:text-brand-600 transition"
target="_blank"
>
+ current spend
@@ -565,7 +565,7 @@ export const SubscriptionPlanUpdateDialog = ({
className="flex items-center gap-2"
>
<div className="w-4">
- <Check className="h-3 w-3 text-brand" strokeWidth={3} />
+ <Check className="h-3 w-3 text-primary" strokeWidth={3} />
</div>
<div className="text-sm">
<p>{typeof feature === 'string' ? feature : feature[0]}</p>
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx
index ea477f87494..8ac3572f54b 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx
@@ -54,7 +54,7 @@ export const ScopeSection = ({
return (
<div className="first:border-t border-b flex flex-row space-x-1 text-sm text-foreground-light py-2 px-1">
<div className="pt-0.5">
- <Check className="size-4 text-brand" strokeWidth={1.5} />
+ <Check className="size-4 text-primary" strokeWidth={1.5} />
</div>
<div>
<span className="font-semibold text-foreground">{permissions}</span> {description}
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthSecrets/SecretRow.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthSecrets/SecretRow.tsx
index 8315926148d..53f9b14f709 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthSecrets/SecretRow.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthSecrets/SecretRow.tsx
@@ -61,7 +61,7 @@ export const SecretRow = ({ secret, appId }: SecretRowProps) => {
<div className="flex flex-col gap-1">
<div className="flex items-center gap-2">
<div className="flex items-center gap-2">
- {isNew && <Check size={14} className="text-brand" strokeWidth={3} />}
+ {isNew && <Check size={14} className="text-primary" strokeWidth={3} />}
<p className="font-mono text-sm">
{isNew ? secret.client_secret : `${secret.client_secret_alias}${'*'.repeat(36)}`}
</p>
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/PublishableApps.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/PublishableApps.tsx
index b7e4ab52a77..49838700d0c 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/PublishableApps.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/PublishableApps.tsx
@@ -165,7 +165,7 @@ export const PublishableApps = () => {
<div className="w-full space-y-4">
<div className="flex flex-col gap-0">
<div className="flex items-center gap-2">
- <Check size={14} className="text-brand" strokeWidth={3} />
+ <Check size={14} className="text-primary" strokeWidth={3} />
<p className="text-sm">You've created your new OAuth application.</p>
</div>
<p className="text-sm text-foreground-light">
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
index 9298948b4c8..41a180bcd91 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
@@ -44,7 +44,7 @@ function CopyableId({ id, label }: { id: string; label: string }) {
>
<span className="truncate">{id}</span>
{isCopied ? (
- <Check size={12} strokeWidth={1.25} className="text-brand shrink-0" />
+ <Check size={12} strokeWidth={1.25} className="text-primary shrink-0" />
) : (
<Copy
size={12}
diff --git a/apps/studio/components/interfaces/Organization/ProjectClaim/benefits.tsx b/apps/studio/components/interfaces/Organization/ProjectClaim/benefits.tsx
index ca31302ee82..d0f89b5b944 100644
--- a/apps/studio/components/interfaces/Organization/ProjectClaim/benefits.tsx
+++ b/apps/studio/components/interfaces/Organization/ProjectClaim/benefits.tsx
@@ -18,8 +18,8 @@ export const ProjectClaimBenefits = ({
<ProjectClaimLayout
title={
<>
- Claim a project <span className="text-brand">{projectClaim?.project?.name}</span> from{' '}
- <span className="text-brand">{requester?.name}</span>
+ Claim a project <span className="text-primary">{projectClaim?.project?.name}</span> from{' '}
+ <span className="text-primary">{requester?.name}</span>
</>
}
>
@@ -28,7 +28,7 @@ export const ProjectClaimBenefits = ({
<h3 className="">Why manage your database project on Supabase?</h3>
<ul className="space-y-3">
<li className="flex space-x-2">
- <CheckCircle2 className="text-brand w-5 h-5" />
+ <CheckCircle2 className="text-primary w-5 h-5" />
<span>
<span className="text-foreground-light">Excellent Technical Support</span>
<span className="block text-foreground-lighter">
@@ -38,7 +38,7 @@ export const ProjectClaimBenefits = ({
</span>
</li>
<li className="flex space-x-2">
- <CheckCircle2 className="text-brand w-5 h-5" />
+ <CheckCircle2 className="text-primary w-5 h-5" />
<span>
<span className="text-foreground-light">Unrestricted usage.</span>
<span className="block text-foreground-lighter">
@@ -48,7 +48,7 @@ export const ProjectClaimBenefits = ({
</span>
</li>
<li className="flex space-x-2">
- <CheckCircle2 className="text-brand w-5 h-5" />
+ <CheckCircle2 className="text-primary w-5 h-5" />
<span>
<span className="text-foreground-light">Visibility into your data.</span>
<span className="block text-foreground-lighter">
@@ -58,7 +58,7 @@ export const ProjectClaimBenefits = ({
</span>
</li>
<li className="flex space-x-2">
- <CheckCircle2 className="text-brand w-5 h-5" />
+ <CheckCircle2 className="text-primary w-5 h-5" />
<span>
<span className="text-foreground-light">Observability and easy debugging.</span>
<span className="block text-foreground-lighter">
@@ -68,7 +68,7 @@ export const ProjectClaimBenefits = ({
</li>
<li className="flex space-x-2">
<div>
- <CheckCircle2 className="text-brand w-5 h-5" />
+ <CheckCircle2 className="text-primary w-5 h-5" />
</div>
<span>
<span className="text-foreground-light">Easy Compute Scaling.</span>
diff --git a/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx b/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
index ce7711e7c7a..64f357152ee 100644
--- a/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
+++ b/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
@@ -68,8 +68,8 @@ export const ProjectClaimConfirm = ({
<ProjectClaimLayout
title={
<>
- Claim a project <span className="text-brand">{projectClaim?.project?.name}</span> from{' '}
- <span className="text-brand">{requester?.name}</span>
+ Claim a project <span className="text-primary">{projectClaim?.project?.name}</span> from{' '}
+ <span className="text-primary">{requester?.name}</span>
</>
}
>
@@ -117,7 +117,7 @@ export const ProjectClaimConfirm = ({
<ul className="space-y-3">
<li className="flex space-x-2">
<span>
- <CheckCircle2 className="text-brand h-5 w-5" />
+ <CheckCircle2 className="text-primary h-5 w-5" />
</span>
<span>
The project will be transferred to your Supabase organization{' '}
@@ -133,7 +133,7 @@ export const ProjectClaimConfirm = ({
</li>
<li className="flex space-x-2">
<span>
- <CheckCircle2 className="text-brand h-5 w-5" />
+ <CheckCircle2 className="text-primary h-5 w-5" />
</span>
<span>
<span className="text-foreground">{requester?.name}</span> will receive API access
@@ -143,7 +143,7 @@ export const ProjectClaimConfirm = ({
</li>
<li className="flex space-x-2">
<span>
- <CheckCircle2 className="text-brand h-5 w-5" />
+ <CheckCircle2 className="text-primary h-5 w-5" />
</span>
<span>
You'll be responsible for maintaining the project, which may include additional
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/MemberRow.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/MemberRow.tsx
index 4f31165413c..add41970950 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/MemberRow.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/MemberRow.tsx
@@ -118,7 +118,7 @@ export const MemberRow = memo(function MemberRow({ member }: MemberRowProps) {
{member.mfa_enabled ? (
<>
<span className="text-foreground-lighter">Enabled</span>
- <Check className="text-brand" strokeWidth={2} size={16} />
+ <Check className="text-primary" strokeWidth={2} size={16} />
</>
) : (
<>
diff --git a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
index 61125a2d5a2..afdacaceef1 100644
--- a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
@@ -233,7 +233,7 @@ export const Usage = () => {
<div className="flex items-center gap-2">
<p className={cn('text-sm transition', isLoadingSubscription && 'opacity-50')}>
Organization is on the{' '}
- <span className="font-medium text-brand">{subscription.plan.name} Plan</span>
+ <span className="font-medium text-primary">{subscription.plan.name} Plan</span>
</p>
<span className="text-border-stronger">
<svg
diff --git a/apps/studio/components/interfaces/ProjectCreation/DisabledWarningDueToIncident.tsx b/apps/studio/components/interfaces/ProjectCreation/DisabledWarningDueToIncident.tsx
index 64099772659..75d021084f0 100644
--- a/apps/studio/components/interfaces/ProjectCreation/DisabledWarningDueToIncident.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/DisabledWarningDueToIncident.tsx
@@ -19,7 +19,7 @@ export const DisabledWarningDueToIncident = ({ title }: DisabledWarningDueToInci
<div className="space-y-3">
<p className="text-sm leading-normal">
Our engineers are currently working on a fix. You can follow updates on{' '}
- <a className="text-brand" href="https://status.supabase.com/">
+ <a className="text-primary" href="https://status.supabase.com/">
https://status.supabase.com/
</a>
</p>
diff --git a/apps/studio/components/interfaces/ProjectCreation/ProjectCreationFooter.tsx b/apps/studio/components/interfaces/ProjectCreation/ProjectCreationFooter.tsx
index 0dc55290ae2..e50aaf28ece 100644
--- a/apps/studio/components/interfaces/ProjectCreation/ProjectCreationFooter.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/ProjectCreationFooter.tsx
@@ -107,7 +107,7 @@ export const ProjectCreationFooter = ({
<div className="col-span-4">
<div className="flex justify-between text-sm">
<span>Additional costs</span>
- <div className="text-brand flex gap-1 items-center font-mono font-medium">
+ <div className="text-primary flex gap-1 items-center font-mono font-medium">
<span role="status">${displayedAdditionalMonthlySpend}/m</span>
<InfoTooltip side="top" className="max-w-[450px] p-0">
<div className="p-4 text-sm text-foreground-light space-y-1">
diff --git a/apps/studio/components/interfaces/ProjectHome/PlanUsageCard.tsx b/apps/studio/components/interfaces/ProjectHome/PlanUsageCard.tsx
index 56a20b9292e..902ccffb398 100644
--- a/apps/studio/components/interfaces/ProjectHome/PlanUsageCard.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/PlanUsageCard.tsx
@@ -101,7 +101,7 @@ const ProgressRing = ({
transform="rotate(-90 9 9)"
className={cn(
'transition-[stroke-dashoffset] duration-500',
- isOver ? 'text-warning-600' : isApproaching ? 'text-warning' : 'text-brand'
+ isOver ? 'text-warning-600' : isApproaching ? 'text-warning' : 'text-primary'
)}
/>
</svg>
diff --git a/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx b/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
index c0b31d5b310..854383c090b 100644
--- a/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ProjectConnectionPopover.tsx
@@ -225,7 +225,7 @@ export const ProjectConnectionPopover = ({ projectRef }: ProjectConnectionPopove
<div
className={cn(
'absolute right-2 top-1/2 -translate-y-1/2 text-foreground-lighter opacity-0 transition-opacity group-hover:opacity-100',
- copiedItem === item.label && 'opacity-100 text-brand'
+ copiedItem === item.label && 'opacity-100 text-primary'
)}
>
{copiedItem === item.label ? <Check size={14} /> : <Copy size={14} />}
diff --git a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
index 69b31a420b6..ae4df4aa17a 100644
--- a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
@@ -30,7 +30,7 @@ const iconProps = {
}
const LoaderIcon = () => <Loader2 {...iconProps} className="animate-spin" />
const AlertIcon = () => <AlertTriangle {...iconProps} />
-const CheckIcon = () => <CheckCircle2 {...iconProps} className="text-brand" />
+const CheckIcon = () => <CheckCircle2 {...iconProps} className="text-primary" />
const DisabledIcon = () => <MinusCircle {...iconProps} className="text-foreground-lighter" />
export const StatusIcon = ({
diff --git a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexImprovementText.tsx b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexImprovementText.tsx
index 30d26c7ffe6..844568394f4 100644
--- a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexImprovementText.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexImprovementText.tsx
@@ -21,7 +21,7 @@ export const IndexImprovementText = ({
return (
<p className={cn('text-sm text-foreground-light mb-3', className)} {...props}>
Query's performance can be improved by{' '}
- <span className="text-brand">{improvement.toFixed(2)}%</span> by creating this{' '}
+ <span className="text-primary">{improvement.toFixed(2)}%</span> by creating this{' '}
{indexStatements.length > 1 ? 'indexes' : 'index'}:
</p>
)
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
index 01db8877c95..f7b96f5a4f7 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
@@ -104,7 +104,7 @@ export const QueryDetail = ({ selectedRow, onClickViewSuggestion, onClose }: Que
{isLinterWarning && (
<Alert
variant="default"
- className="mt-2 border-brand-400 bg-alternative [&>svg]:p-0.5 [&>svg]:bg-transparent [&>svg]:text-brand"
+ className="mt-2 border-brand-400 bg-alternative [&>svg]:p-0.5 [&>svg]:bg-transparent [&>svg]:text-primary"
>
<Lightbulb />
<AlertTitle>Suggested optimization: Add an index</AlertTitle>
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
index 1fe97d0dcc1..5f64a08d9f6 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
@@ -311,7 +311,7 @@ export const QueryIndexes = ({
{isLinterWarning ? (
<Alert
variant="default"
- className="border-brand-400 bg-alternative [&>svg]:p-0.5 [&>svg]:bg-transparent [&>svg]:text-brand my-3"
+ className="border-brand-400 bg-alternative [&>svg]:p-0.5 [&>svg]:bg-transparent [&>svg]:text-primary my-3"
>
<Lightbulb />
<AlertTitle>
@@ -320,7 +320,7 @@ export const QueryIndexes = ({
</AlertTitle>
<AlertDescription>
You can improve this query's performance by{' '}
- <span className="text-brand">{totalImprovement.toFixed(2)}%</span> by
+ <span className="text-primary">{totalImprovement.toFixed(2)}%</span> by
adding the following suggested{' '}
{index_statements.length > 1 ? 'indexes' : 'index'}
</AlertDescription>
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPanel.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPanel.tsx
index d052c10c2c5..66dc6290e9f 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryPanel.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPanel.tsx
@@ -71,13 +71,13 @@ export const QueryPanelScoreSection = ({
{after > before ? (
<ArrowUp size={14} className="text-warning" />
) : (
- <ArrowDown size={14} className="text-brand" />
+ <ArrowDown size={14} className="text-primary" />
)}
{before !== 0 && !isNaN(before) && isFinite(before) && (
<span
className={cn(
'font-mono tracking-tighter',
- after > before ? 'text-warning' : 'text-brand'
+ after > before ? 'text-warning' : 'text-primary'
)}
>
{(((before - after) / before) * 100).toFixed(2)}%
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/AnimatedCursors.tsx b/apps/studio/components/interfaces/Realtime/Inspector/AnimatedCursors.tsx
index 50fcf5c43c0..29afd32fecf 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/AnimatedCursors.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/AnimatedCursors.tsx
@@ -45,7 +45,7 @@ export const AnimatedCursors = () => {
<MousePointer2 size={20} />
</motion.div>
<motion.div
- className="absolute text-brand"
+ className="absolute text-primary"
animate={{ x: cursor2Position.x, y: cursor2Position.y }}
transition={{
duration: 1.2,
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/ChooseChannelPopover.tsx b/apps/studio/components/interfaces/Realtime/Inspector/ChooseChannelPopover.tsx
index 7938119109a..8a2bb65fc47 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/ChooseChannelPopover.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/ChooseChannelPopover.tsx
@@ -207,7 +207,7 @@ export const ChooseChannelPopover = ({
<div className="flex items-center gap-x-2">
<p className="text-foreground text-xs">
Currently joined{' '}
- <span className={config.isChannelPrivate ? 'text-brand' : 'text-warning'}>
+ <span className={config.isChannelPrivate ? 'text-primary' : 'text-warning'}>
{config.isChannelPrivate ? 'private' : 'public'}
</span>{' '}
channel:
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
index 4f4163cb860..99661a9ab32 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
@@ -143,7 +143,7 @@ const TableSelector = ({
>
<span>All tables</span>
{selectedSchemaName === '*' && (
- <Check className="text-brand" strokeWidth={2} />
+ <Check className="text-primary" strokeWidth={2} />
)}
</CommandItem>
)}
@@ -162,7 +162,7 @@ const TableSelector = ({
>
<span>{table.name}</span>
{selectedSchemaName === table.name && (
- <Check className="text-brand" strokeWidth={2} />
+ <Check className="text-primary" strokeWidth={2} />
)}
</CommandItem>
))}
diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditorEditorPanel.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditorEditorPanel.tsx
index 3872e5fa531..16b5cc101ea 100644
--- a/apps/studio/components/interfaces/SQLEditor/SQLEditorEditorPanel.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/SQLEditorEditorPanel.tsx
@@ -176,7 +176,7 @@ function LoadingSpinner() {
return (
<div className="overflow-y-auto h-full">
<div className="flex h-full w-full items-center justify-center">
- <Loader2 className="animate-spin text-brand" />
+ <Loader2 className="animate-spin text-primary" />
</div>
</div>
)
diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditorLayout.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditorLayout.tsx
index e3a3c0d6253..ec46e44ce2a 100644
--- a/apps/studio/components/interfaces/SQLEditor/SQLEditorLayout.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/SQLEditorLayout.tsx
@@ -115,7 +115,7 @@ const SQLEditorResultsPanel = () => {
return isLoading ? (
<div className="flex h-full w-full items-center justify-center">
- <Loader2 className="animate-spin text-brand" />
+ <Loader2 className="animate-spin text-primary" />
</div>
) : (
<UtilityPanel
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx
index cf10b862ce0..cec1d4017f4 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx
@@ -59,7 +59,7 @@ const SavingIndicator = ({ id }: SavingIndicatorProps) => {
{showSavedText ? (
<Tooltip>
<TooltipTrigger>
- <Check className="text-brand" size={14} strokeWidth={3} />
+ <Check className="text-primary" size={14} strokeWidth={3} />
</TooltipTrigger>
<TooltipContent side="bottom">All changes saved</TooltipContent>
</Tooltip>
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
index 8a65752c317..a580b03b282 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx
@@ -129,7 +129,7 @@ export const UtilityActions = ({
<Keyboard size={14} className="text-foreground-light" />
Intellisense enabled
</span>
- {intellisenseEnabled && <Check className="text-brand" size={16} />}
+ {intellisenseEnabled && <Check className="text-primary" size={16} />}
</DropdownMenuItem>
{IS_PLATFORM && (
<>
@@ -186,7 +186,7 @@ export const UtilityActions = ({
<DropdownMenuContent className="w-48">
<DropdownMenuItem className="justify-between" onClick={toggleIntellisense}>
Intellisense enabled
- {intellisenseEnabled && <Check className="text-brand" size={16} />}
+ {intellisenseEnabled && <Check className="text-primary" size={16} />}
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
index 4da0bb22374..9032e14a20e 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
@@ -210,7 +210,7 @@ export const ExposedFunctionSelector = ({
>
<div className="w-full flex items-center gap-x-2">
<div className="w-4 shrink-0 flex items-center justify-center">
- {isExposed && <Check size={16} className="text-brand shrink-0" />}
+ {isExposed && <Check size={16} className="text-primary shrink-0" />}
{!isSchemaExposed && (
<Tooltip>
<TooltipTrigger asChild>
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
index 5d087c6c438..8f4040a408b 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
@@ -156,7 +156,7 @@ export const ExposedSchemaSelector = ({
>
<div className="w-full flex flex-col">
<div className="w-full flex items-center gap-x-2">
- <Check size={16} className="text-brand shrink-0" />
+ <Check size={16} className="text-primary shrink-0" />
<span className="truncate">{schema}</span>
</div>
{internalSchemasCannotExpose.has(schema) ? (
@@ -187,7 +187,7 @@ export const ExposedSchemaSelector = ({
<div
className={cn('w-full flex items-center gap-x-2', !isExposed && 'ml-6')}
>
- {isExposed && <Check size={16} className="text-brand shrink-0" />}
+ {isExposed && <Check size={16} className="text-primary shrink-0" />}
<span className="truncate">{schema.name}</span>
</div>
</CommandItem>
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
index 8366b629ab1..88d2e3dd0e6 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
@@ -204,7 +204,7 @@ export const ExposedTableSelector = ({
>
<div className="w-full flex items-center gap-x-2">
<div className="w-4 shrink-0 flex items-center justify-center">
- {isExposed && <Check size={16} className="text-brand shrink-0" />}
+ {isExposed && <Check size={16} className="text-primary shrink-0" />}
{!isSchemaExposed && (
<Tooltip>
<TooltipTrigger asChild>
diff --git a/apps/studio/components/interfaces/Settings/API/HardenAPIModal.tsx b/apps/studio/components/interfaces/Settings/API/HardenAPIModal.tsx
index 3ed81f7a65b..e958a7e69b0 100644
--- a/apps/studio/components/interfaces/Settings/API/HardenAPIModal.tsx
+++ b/apps/studio/components/interfaces/Settings/API/HardenAPIModal.tsx
@@ -118,7 +118,7 @@ export const HardenAPIModal = ({ visible, onClose }: HardenAPIModalProps) => {
generate API routes. In some cases, it's better to use a custom schema. This is
important if you use tools that generate tables in the{' '}
<code className="text-code-inline">public</code> schema to{' '}
- <span className="text-brand">prevent accidental exposure of data</span>.
+ <span className="text-primary">prevent accidental exposure of data</span>.
</p>
<DocsButton
abbrev={false}
@@ -135,7 +135,7 @@ export const HardenAPIModal = ({ visible, onClose }: HardenAPIModalProps) => {
1. Create a custom <code className="text-code-inline">api</code> schema and expose it
</p>
{hasAPISchema && isAPISchemaExposed ? (
- <Check size={16} className="text-brand" />
+ <Check size={16} className="text-primary" />
) : (
<ChevronDown
size={16}
@@ -219,7 +219,7 @@ export const HardenAPIModal = ({ visible, onClose }: HardenAPIModalProps) => {
schemas
</p>
{!isPublicSchemaExposed ? (
- <Check size={16} className="text-brand" />
+ <Check size={16} className="text-primary" />
) : (
<ChevronDown
size={16}
diff --git a/apps/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert.tsx b/apps/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert.tsx
index 3c86281dec2..dbf350220dc 100644
--- a/apps/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert.tsx
+++ b/apps/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert.tsx
@@ -216,8 +216,8 @@ export const ProjectUpgradeAlert = () => {
<code className="text-xs">
{legacyAuthCustomRoles.map((role) => (
<div key={role} className="pb-1">
- ALTER ROLE <span className="text-brand">{role}</span> WITH
- PASSWORD '<span className="text-brand">newpassword</span>';
+ ALTER ROLE <span className="text-primary">{role}</span> WITH
+ PASSWORD '<span className="text-primary">newpassword</span>';
</div>
))}
</code>
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
index 91b805418b1..7d109344cdd 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': copied || pasted,
+ 'text-primary': copied || pasted,
})}
>
{copied ? 'Copied!' : pasted ? 'Pasted!' : 'Copy range'}
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
index 354eb829005..196e17f1302 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
@@ -98,7 +98,7 @@ export const ResponseCodeFormatter = ({ value }: { value: string }) => {
case '1':
return <ResponseCodeItem>{value}</ResponseCodeItem>
case '2':
- return <ResponseCodeItem className="bg-surface-100 text-brand">{value}</ResponseCodeItem>
+ return <ResponseCodeItem className="bg-surface-100 text-primary">{value}</ResponseCodeItem>
// 5XX responses
case '5':
return <ResponseCodeItem className="bg-red-300 text-red-1100">{value}</ResponseCodeItem>
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
index 2554b5b9452..740fd03b061 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
@@ -263,7 +263,7 @@ export const LogsQueryPanel = ({
href={`${DOCS_URL}/guides/platform/logs#unnesting-arrays`}
target="_blank"
rel="noreferrer"
- className="text-brand"
+ className="text-primary"
>
unnesting joins
<ExternalLink
@@ -380,7 +380,7 @@ const Field = ({
{isCopied ? (
<Tooltip>
<TooltipTrigger>
- <Check size={14} strokeWidth={3} className="text-brand" />
+ <Check size={14} strokeWidth={3} className="text-primary" />
</TooltipTrigger>
<TooltipContent side="bottom">Copied</TooltipContent>
</Tooltip>
diff --git a/apps/studio/components/interfaces/Settings/Logs/MultiSelectActionBar.tsx b/apps/studio/components/interfaces/Settings/Logs/MultiSelectActionBar.tsx
index e76aab3810c..855484d2f9d 100644
--- a/apps/studio/components/interfaces/Settings/Logs/MultiSelectActionBar.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/MultiSelectActionBar.tsx
@@ -62,7 +62,9 @@ export function MultiSelectActionBar({
<DropdownMenuTrigger asChild>
<Button
size="tiny"
- icon={copiedFormat ? <Check size={12} className="text-brand" /> : <Copy size={12} />}
+ icon={
+ copiedFormat ? <Check size={12} className="text-primary" /> : <Copy size={12} />
+ }
iconRight={<ChevronDown size={11} />}
>
{copiedFormat ? 'Copied!' : 'Copy'}
diff --git a/apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx b/apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx
index 0f077cd4aa5..a55f093d2ef 100644
--- a/apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx
+++ b/apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx
@@ -268,7 +268,7 @@ export const BucketFilePickerHeader = () => {
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
{view === option.key && (
- <Check size={16} className="text-brand" strokeWidth={2} />
+ <Check size={16} className="text-primary" strokeWidth={2} />
)}
</div>
</DropdownMenuItem>
@@ -282,7 +282,7 @@ export const BucketFilePickerHeader = () => {
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
{sortBy === option.key && (
- <Check size={16} className="text-brand" strokeWidth={2} />
+ <Check size={16} className="text-primary" strokeWidth={2} />
)}
</div>
</DropdownMenuItem>
@@ -300,7 +300,7 @@ export const BucketFilePickerHeader = () => {
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
{sortByOrder === option.key && (
- <Check size={16} className="text-brand" strokeWidth={2} />
+ <Check size={16} className="text-primary" strokeWidth={2} />
)}
</div>
</DropdownMenuItem>
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeader.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeader.tsx
index 41da3332a3a..de95158b572 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeader.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeader.tsx
@@ -360,7 +360,7 @@ export const FileExplorerHeader = ({
<DropdownMenuItem key={option.key} onClick={() => setView(option.key)}>
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
- {view === option.key && <Check size={16} className="text-brand" />}
+ {view === option.key && <Check size={16} className="text-primary" />}
</div>
</DropdownMenuItem>
))}
@@ -372,7 +372,7 @@ export const FileExplorerHeader = ({
<DropdownMenuItem key={option.key} onClick={() => setSortBy(option.key)}>
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
- {sortBy === option.key && <Check size={16} className="text-brand" />}
+ {sortBy === option.key && <Check size={16} className="text-primary" />}
</div>
</DropdownMenuItem>
))}
@@ -389,7 +389,7 @@ export const FileExplorerHeader = ({
<div className="flex items-center justify-between w-full">
<p>{option.name}</p>
{sortByOrder === option.key && (
- <Check size={16} className="text-brand" />
+ <Check size={16} className="text-primary" />
)}
</div>
</DropdownMenuItem>
diff --git a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
index 65d3e36a92f..b9a56876a62 100644
--- a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
+++ b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
@@ -58,7 +58,7 @@ function LinkSupportTicketSuccess() {
<div className="w-full flex flex-col items-center">
<div className="flex flex-col items-center gap-y-4 py-8">
<div className="relative">
- <Mail strokeWidth={1.5} size={60} className="text-brand" />
+ <Mail strokeWidth={1.5} size={60} className="text-primary" />
<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>
diff --git a/apps/studio/components/interfaces/Support/Success.tsx b/apps/studio/components/interfaces/Support/Success.tsx
index 4aea0fcd83e..84f7e073150 100644
--- a/apps/studio/components/interfaces/Support/Success.tsx
+++ b/apps/studio/components/interfaces/Support/Success.tsx
@@ -42,7 +42,7 @@ export const Success = ({
return (
<div className="flex w-full flex-col items-center gap-4 px-4 py-4 text-center">
- <Check strokeWidth={1.5} size={24} className="text-brand" />
+ <Check strokeWidth={1.5} size={24} className="text-primary" />
<div className="flex max-w-[620px] flex-col items-center gap-2">
<h3 className="text-xl">Support request sent</h3>
diff --git a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
index 678403d35d7..4fe13121d74 100644
--- a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
@@ -392,7 +392,7 @@ export const GridHeaderActions = ({ table, isRefetching }: GridHeaderActionsProp
<DropdownMenuContent className="w-48">
{isTable && realtimeEnabled && (
<DropdownMenuItem className="gap-x-2" onClick={() => setRealtimeDialogOpen(true)}>
- <Realtime size={14} className={isRealtimeEnabled ? 'text-brand' : ''} />
+ <Realtime size={14} className={isRealtimeEnabled ? 'text-primary' : ''} />
<span>{isRealtimeEnabled ? 'Disable' : 'Enable'} Realtime</span>
</DropdownMenuItem>
)}
diff --git a/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx b/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
index 5a5b13b8c7d..6a0c3565d71 100644
--- a/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/InsertButton.tsx
@@ -124,7 +124,7 @@ export const InsertButton = () => {
<ArrowUp
className={cn(
'transition duration-200 absolute bottom-0 right-0 translate-y-1 opacity-0 bg-brand-400 rounded-full',
- 'group-data-highlighted:translate-y-0 group-data-highlighted:text-brand group-data-highlighted:opacity-100'
+ 'group-data-highlighted:translate-y-0 group-data-highlighted:text-primary group-data-highlighted:opacity-100'
)}
strokeWidth={3}
size={12}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
index db8a45a3872..4b1d870a16e 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
@@ -239,7 +239,7 @@ const ColumnType = ({
<span className="text-foreground-lighter">{option.description}</span>
</div>
<span className="absolute right-3 top-2">
- {isSelected ? <Check className="text-brand" size={14} /> : ''}
+ {isSelected ? <Check className="text-primary" size={14} /> : ''}
</span>
</CommandItem>
)
@@ -283,7 +283,7 @@ const ColumnType = ({
)}
{isSelected && (
<span className="absolute right-3 top-2">
- <Check className="text-brand" size={14} />
+ <Check className="text-primary" size={14} />
</span>
)}
</div>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/AddRowOperationItem.tsx
index df196420abb..b1d1aa86e9b 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">
+ <CardContent className="py-2 px-3 font-mono text-xs text-primary">
{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 select-none font-medium">+</span>
+ <span className="text-primary 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 select-none font-medium">+</span>
+ <span className="text-primary 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 010f8718a89..50941e9fca7 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 select-none font-medium">+</span>
- <span className="text-brand truncate max-w-full" title={formattedNewValue}>
+ <span className="text-primary select-none font-medium">+</span>
+ <span className="text-primary truncate max-w-full" title={formattedNewValue}>
{formattedNewValue}
</span>
</div>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
index d68eab3e2fb..6902aa0f1b2 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
@@ -23,7 +23,7 @@ const columnRender = (name: string, isPrimaryKey = false) => {
{isPrimaryKey && (
<Tooltip>
<TooltipTrigger>
- <div className="text-brand">
+ <div className="text-primary">
<Key size={14} strokeWidth={2} />
</div>
</TooltipTrigger>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx
index 80175c081a9..79a2ef10477 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx
@@ -97,7 +97,7 @@ function DropZone({ onDrop: onDropFromParent, onClickUpload }: DropZoneProps) {
onClick={onClickUpload}
>
<p className="text-sm">
- Drag and drop, or <span className="text-brand">browse</span> your files
+ Drag and drop, or <span className="text-primary">browse</span> your files
</p>
</div>
)
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/ServiceFlowPanelControls.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/ServiceFlowPanelControls.tsx
index 07e8122ef09..699903e5b3f 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/ServiceFlowPanelControls.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/ServiceFlowPanelControls.tsx
@@ -107,14 +107,14 @@ export const ServiceFlowPanelControls = ({
<PanelBottom size={14} />
<span>Dock to bottom</span>
</div>
- {dock === 'bottom' && <Check size={14} className="text-brand" />}
+ {dock === 'bottom' && <Check size={14} className="text-primary" />}
</DropdownMenuItem>
<DropdownMenuItem className="justify-between" onClick={() => setDock('right')}>
<div className="flex items-center gap-x-2">
<PanelRight size={14} />
<span>Dock to right</span>
</div>
- {dock === 'right' && <Check size={14} className="text-brand" />}
+ {dock === 'right' && <Check size={14} className="text-primary" />}
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/apps/studio/components/layouts/ProjectLayout/BuildingState.tsx b/apps/studio/components/layouts/ProjectLayout/BuildingState.tsx
index 7e3314d6032..7bfd8a5af8f 100644
--- a/apps/studio/components/layouts/ProjectLayout/BuildingState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/BuildingState.tsx
@@ -96,7 +96,7 @@ const BuildingState = () => {
Browse the Supabase{' '}
<Link
href={`${DOCS_URL}`}
- className="mb-0 text-brand transition-colors hover:text-brand-600"
+ className="mb-0 text-primary transition-colors hover:text-brand-600"
target="_blank"
rel="noreferrer"
>
diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
index 1e0dceb7e0e..b2940cba282 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
@@ -115,7 +115,7 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {
{product !== undefined ? (
<>
Resume this project to access the{' '}
- <span className="text-brand">{product}</span> page.
+ <span className="text-primary">{product}</span> page.
</>
) : !isRestoreDisabled ? (
'Resume this project and get back to building!'
diff --git a/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx b/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
index a98799a1f9b..c1baf9c1eeb 100644
--- a/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
@@ -125,7 +125,7 @@ export const RestoringState = () => {
<div className="space-y-6 pt-6">
<div className="flex px-8 space-x-8">
<div className="mt-1">
- <CheckCircle className="text-brand" size={18} strokeWidth={2} />
+ <CheckCircle className="text-primary" size={18} strokeWidth={2} />
</div>
<div className="space-y-1">
<p>Restoration complete!</p>
diff --git a/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx b/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
index 53283b73222..fb672258e3c 100644
--- a/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
@@ -79,7 +79,7 @@ export const UpgradingState = () => {
{isCompleted ? (
<div className="grid gap-4">
<div className="relative mx-auto max-w-[300px]">
- <CheckCircle className="text-brand" size={40} strokeWidth={1.5} />
+ <CheckCircle className="text-primary" size={40} strokeWidth={1.5} />
</div>
<div className="space-y-2">
<p className="text-center">Upgrade completed!</p>
diff --git a/apps/studio/components/layouts/ProjectNeedsSecuring/ProjectNeedsSecuringView.tsx b/apps/studio/components/layouts/ProjectNeedsSecuring/ProjectNeedsSecuringView.tsx
index 7a186455ee1..9500020b190 100644
--- a/apps/studio/components/layouts/ProjectNeedsSecuring/ProjectNeedsSecuringView.tsx
+++ b/apps/studio/components/layouts/ProjectNeedsSecuring/ProjectNeedsSecuringView.tsx
@@ -54,7 +54,7 @@ import { useSidebarManagerSnapshot } from '@/state/sidebar-manager-state'
const StatusCell = ({ enabled, label }: { enabled: boolean; label: string }) => (
<div className="flex items-center gap-2 text-sm">
{enabled ? (
- <Check size={14} className="text-brand" aria-hidden="true" />
+ <Check size={14} className="text-primary" aria-hidden="true" />
) : (
<X size={14} className="text-destructive" aria-hidden="true" />
)}
diff --git a/apps/studio/components/ui/AIAssistantPanel/Confirm.tsx b/apps/studio/components/ui/AIAssistantPanel/Confirm.tsx
index 038b4103eae..1aa3704c953 100644
--- a/apps/studio/components/ui/AIAssistantPanel/Confirm.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/Confirm.tsx
@@ -49,7 +49,7 @@ export const ConfirmFooter = ({
)}
>
<div role="status" className="min-w-0 flex flex-1 items-center gap-2">
- {outcome === 'success' && <Check className="size-3.5 shrink-0 text-brand" />}
+ {outcome === 'success' && <Check className="size-3.5 shrink-0 text-primary" />}
{outcome === 'error' && <X className="size-3.5 shrink-0 text-danger" />}
<span>{message}</span>
</div>
diff --git a/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx b/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
index 7e4bd8ef7ed..597df537d14 100644
--- a/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
@@ -120,7 +120,7 @@ function MessageActionsThumbsUp({
strokeWidth={1.5}
className={cn(
isActive
- ? 'text-brand hover:text-brand-700'
+ ? 'text-primary hover:text-brand-700'
: 'text-foreground-light hover:text-foreground'
)}
/>
diff --git a/apps/studio/components/ui/AiAssistantDropdown.tsx b/apps/studio/components/ui/AiAssistantDropdown.tsx
index a44451dbfdf..bc9b352d0b2 100644
--- a/apps/studio/components/ui/AiAssistantDropdown.tsx
+++ b/apps/studio/components/ui/AiAssistantDropdown.tsx
@@ -156,7 +156,7 @@ export function AiAssistantDropdown({
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-44">
<DropdownMenuItem onClick={handleCopyPrompt} className="gap-2">
- {showCopied ? <Check size={14} className="text-brand" /> : <Copy size={14} />}
+ {showCopied ? <Check size={14} className="text-primary" /> : <Copy size={14} />}
{showCopied ? 'Copied!' : copyLabel}
</DropdownMenuItem>
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerTableEditorQueueOperations.tsx
index ae8a1a8445b..de4cc302953 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 select-none font-medium">+</span>
- <span className="text-brand truncate max-w-full">Blue</span>
+ <span className="text-primary select-none font-medium">+</span>
+ <span className="text-primary truncate max-w-full">Blue</span>
</div>
</CardContent>
</Card>
diff --git a/apps/studio/components/ui/CopyButton.tsx b/apps/studio/components/ui/CopyButton.tsx
index 29f276be2e8..5049023954a 100644
--- a/apps/studio/components/ui/CopyButton.tsx
+++ b/apps/studio/components/ui/CopyButton.tsx
@@ -62,7 +62,7 @@ const CopyButton = forwardRef<HTMLButtonElement, CopyButtonProps>(
showCopied ? (
<Check
strokeWidth={2}
- className={cn(variant === 'primary' ? 'text-inherit' : 'text-brand')}
+ className={cn(variant === 'primary' ? 'text-inherit' : 'text-primary')}
/>
) : (
(icon ?? <Copy />)
diff --git a/apps/studio/components/ui/ErrorCodeTooltip/ErrorCodeTooltip.tsx b/apps/studio/components/ui/ErrorCodeTooltip/ErrorCodeTooltip.tsx
index 83e5125a06f..ff0cb689841 100644
--- a/apps/studio/components/ui/ErrorCodeTooltip/ErrorCodeTooltip.tsx
+++ b/apps/studio/components/ui/ErrorCodeTooltip/ErrorCodeTooltip.tsx
@@ -102,7 +102,7 @@ export const ErrorCodeTooltip = ({ errorCode, service, children }: ErrorCodeTool
height={14}
width={72}
/>
- <span className="font-mono text-[11px] font-semibold text-brand tracking-wide">
+ <span className="font-mono text-[11px] font-semibold text-primary tracking-wide">
DOCS
</span>
</div>
diff --git a/apps/studio/components/ui/FunctionSelector.tsx b/apps/studio/components/ui/FunctionSelector.tsx
index 16cb3979061..fdeedb467c7 100644
--- a/apps/studio/components/ui/FunctionSelector.tsx
+++ b/apps/studio/components/ui/FunctionSelector.tsx
@@ -147,7 +147,7 @@ const FunctionSelector = ({
>
<span>{func.name}</span>
{value === func.name && (
- <Check className="text-brand" size={14} strokeWidth={2} />
+ <Check className="text-primary" size={14} strokeWidth={2} />
)}
</CommandItem>
))}
diff --git a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
index 8da6e6538a5..54da51c5bf8 100644
--- a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
+++ b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
@@ -54,7 +54,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
<div className="flex flex-col md:flex-row md:items-center gap-4 md:gap-8 transition-all pb-6 justify-between">
<div className="flex flex-col md:flex-row md:items-center gap-3">
<div className="flex flex-row items-center gap-3">
- <div className="flex h-6 w-6 items-center justify-center rounded-sm border border-brand-600 bg-brand-300 text-brand">
+ <div className="flex h-6 w-6 items-center justify-center rounded-sm border border-brand-600 bg-brand-300 text-primary">
<List size={14} strokeWidth={3} />
</div>
@@ -106,7 +106,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
href={`${DOCS_URL}/guides/platform/logs#unnesting-arrays`}
target="_blank"
rel="noreferrer"
- className="text-brand"
+ className="text-primary"
>
unnesting joins
<ExternalLink
@@ -218,7 +218,7 @@ const Field = ({
{isCopied ? (
<Tooltip>
<TooltipTrigger>
- <Check size={14} strokeWidth={3} className="text-brand" />
+ <Check size={14} strokeWidth={3} className="text-primary" />
</TooltipTrigger>
<TooltipContent side="bottom" className="font-sans">
Copied
diff --git a/apps/studio/components/ui/SchemaSelector.tsx b/apps/studio/components/ui/SchemaSelector.tsx
index 2871c566d62..cc1fd8a5fff 100644
--- a/apps/studio/components/ui/SchemaSelector.tsx
+++ b/apps/studio/components/ui/SchemaSelector.tsx
@@ -192,7 +192,7 @@ export const SchemaSelector = forwardRef<HTMLDivElement, SchemaSelectorProps>(
>
<span>All schemas</span>
{selectedSchemaName === '*' && (
- <Check className="text-brand" strokeWidth={2} size={16} />
+ <Check className="text-primary" strokeWidth={2} size={16} />
)}
</CommandItem>
)}
@@ -211,7 +211,7 @@ export const SchemaSelector = forwardRef<HTMLDivElement, SchemaSelectorProps>(
>
<span>{schema.name}</span>
{selectedSchemaName === schema.name && (
- <Check className="text-brand" strokeWidth={2} size={16} />
+ <Check className="text-primary" strokeWidth={2} size={16} />
)}
</CommandItem>
))}
diff --git a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx b/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
index 10aeeec6669..fa1d83f6f99 100644
--- a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
+++ b/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
@@ -182,7 +182,7 @@ const MergeRequestsPage: NextPageWithLayout = () => {
<div className="rounded-sm border rounded-lg bg-background px-6 py-4">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm text-foreground-light">
- <GitMerge strokeWidth={1.5} size={16} className="text-brand" />
+ <GitMerge strokeWidth={1.5} size={16} className="text-primary" />
<span className="text-foreground">{currentBranch.name}</span>
last viewed
</div>
diff --git a/apps/studio/pages/project/[ref]/database/backups/scheduled.tsx b/apps/studio/pages/project/[ref]/database/backups/scheduled.tsx
index acfbbcfaf01..c8e3801e225 100644
--- a/apps/studio/pages/project/[ref]/database/backups/scheduled.tsx
+++ b/apps/studio/pages/project/[ref]/database/backups/scheduled.tsx
@@ -122,7 +122,7 @@ const ScheduledBackups = () => {
restore to a specific time (down to the second) within your selected PITR
retention period.{' '}
<a
- className="text-brand transition-colors hover:text-brand-600"
+ className="text-primary transition-colors hover:text-brand-600"
href={`${DOCS_URL}/guides/platform/backups`}
>
Learn more
diff --git a/apps/studio/styles/code.css b/apps/studio/styles/code.css
index a409149a06c..ba48869d998 100644
--- a/apps/studio/styles/code.css
+++ b/apps/studio/styles/code.css
@@ -48,7 +48,7 @@
.token.string {
font-style: normal !important;
- @apply !text-brand;
+ @apply !text-primary;
}
.token.constant {
@@ -62,12 +62,12 @@
}
.token.number {
- @apply !text-brand;
+ @apply !text-primary;
}
.token.boolean,
.token.doc-comment.class-name {
- @apply text-brand;
+ @apply text-primary;
}
.codeBlock {
diff --git a/apps/studio/styles/grid.css b/apps/studio/styles/grid.css
index 87b98cdcdb7..1c272a8d16d 100644
--- a/apps/studio/styles/grid.css
+++ b/apps/studio/styles/grid.css
@@ -329,7 +329,7 @@
}
.sb-grid-column-header__inner svg {
- @apply border-brand-default text-brand;
+ @apply border-brand-default text-primary;
}
/*
diff --git a/apps/studio/styles/ui.css b/apps/studio/styles/ui.css
index 7f043980a39..5096e35154d 100644
--- a/apps/studio/styles/ui.css
+++ b/apps/studio/styles/ui.css
@@ -293,7 +293,7 @@
}
.is-highlighted {
- @apply text-brand;
+ @apply text-primary;
}
}
.codeblock-container + .codeblock-container {
@@ -404,7 +404,7 @@
.form-field-markdown {
a {
- @apply text-brand transition opacity-75 hover:opacity-100 underline;
+ @apply text-primary transition opacity-75 hover:opacity-100 underline;
}
}
diff --git a/apps/studio/tests/components/CopyButton.test.tsx b/apps/studio/tests/components/CopyButton.test.tsx
index 76c155d8ecb..817629847bf 100644
--- a/apps/studio/tests/components/CopyButton.test.tsx
+++ b/apps/studio/tests/components/CopyButton.test.tsx
@@ -21,5 +21,5 @@ test('does not show a green copied icon for primary buttons', async () => {
const icon = container.querySelector('svg')
expect(icon).toHaveClass('text-inherit')
- expect(icon).not.toHaveClass('text-brand')
+ expect(icon).not.toHaveClass('text-primary')
})
diff --git a/apps/ui-library/app/(app)/page.tsx b/apps/ui-library/app/(app)/page.tsx
index 3be4fc30c52..a5e76aa08de 100644
--- a/apps/ui-library/app/(app)/page.tsx
+++ b/apps/ui-library/app/(app)/page.tsx
@@ -61,7 +61,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Password-based Authentication</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/password-based-auth"
>
Go to block ➔
@@ -79,7 +79,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Social Authentication</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/social-auth"
>
Go to block ➔
@@ -97,7 +97,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Realtime Cursors</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/realtime-cursor"
>
Go to block ➔
@@ -116,7 +116,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>File Upload</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/dropzone"
>
Go to block ➔
@@ -134,7 +134,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Current User Avatar</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/current-user-avatar"
>
Go to block ➔
@@ -152,7 +152,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Realtime Avatar Stack</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/realtime-avatar-stack"
>
Go to block ➔
@@ -170,7 +170,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Realtime Chat</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/realtime-chat"
>
Go to block ➔
@@ -189,7 +189,7 @@ export default function Home() {
<div className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 pt-16 pb-6 text-xs uppercase font-mono text-foreground-light tracking-wider relative flex justify-between items-center">
<span>Infinite Query Hook</span>
<Link
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
href="/docs/nextjs/social-auth"
>
Go to block ➔
diff --git a/apps/ui-library/components/mdx-components.tsx b/apps/ui-library/components/mdx-components.tsx
index 0d473e740a6..27fbc8c744b 100644
--- a/apps/ui-library/components/mdx-components.tsx
+++ b/apps/ui-library/components/mdx-components.tsx
@@ -55,7 +55,7 @@ const components = {
a: ({ className, ...props }: React.HTMLAttributes<HTMLAnchorElement>) => (
<a
className={cn(
- 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2',
+ 'text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2',
className
)}
{...props}
diff --git a/apps/ui-library/components/tanstack-beta.tsx b/apps/ui-library/components/tanstack-beta.tsx
index 89da1a6e489..a8c4f15e28b 100644
--- a/apps/ui-library/components/tanstack-beta.tsx
+++ b/apps/ui-library/components/tanstack-beta.tsx
@@ -19,7 +19,7 @@ export default function TanStackBeta() {
href="https://tanstack.com/start/latest/docs/framework/react/quick-start"
target="_blank"
rel="noopener noreferrer"
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
>
TanStack Quickstart guide
</a>
diff --git a/apps/ui-library/registry/default/examples/current-user-avatar-demo.tsx b/apps/ui-library/registry/default/examples/current-user-avatar-demo.tsx
index fdd844699e5..caacab96cdc 100644
--- a/apps/ui-library/registry/default/examples/current-user-avatar-demo.tsx
+++ b/apps/ui-library/registry/default/examples/current-user-avatar-demo.tsx
@@ -30,7 +30,7 @@ const CurrentUserAvatarDemo = () => {
target="_blank"
rel="noopener noreferrer"
href="https://supabase.com/dashboard/sign-in"
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
>
Dashboard
</a>{' '}
diff --git a/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx b/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx
index b8ccfe89d72..dba32bb573d 100644
--- a/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx
+++ b/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx
@@ -106,7 +106,7 @@ const RealtimeAvatarStackDemo = () => {
target="_blank"
rel="noopener noreferrer"
href="https://supabase.com/dashboard/sign-in"
- className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2"
+ className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-primary hover:decoration-2"
>
Dashboard
</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 c5e4d0d2f97..c16ed311442 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">
+ <span className="text-lg font-medium text-foreground group-hover:text-primary">
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">
+ <span className="text-lg font-medium text-foreground group-hover:text-primary">
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">
+ <span className="text-lg font-medium text-foreground group-hover:text-primary">
Realtime or Pipelines?
</span>
<span className="text-sm leading-relaxed text-foreground-light">
diff --git a/apps/www/_go/stripe-projects/supabase-stripe-projects.tsx b/apps/www/_go/stripe-projects/supabase-stripe-projects.tsx
index 5d0eb6b21ef..e39b5f6d57e 100644
--- a/apps/www/_go/stripe-projects/supabase-stripe-projects.tsx
+++ b/apps/www/_go/stripe-projects/supabase-stripe-projects.tsx
@@ -126,14 +126,17 @@ stripe projects env --sync`,
<div className="flex flex-wrap gap-4 justify-center mt-4">
<a
href="https://docs.stripe.com/stripe-cli/install"
- className="text-brand hover:underline"
+ className="text-primary hover:underline"
>
Stripe CLI install docs
</a>
- <a href="https://docs.stripe.com/stripe-projects" className="text-brand hover:underline">
+ <a
+ href="https://docs.stripe.com/stripe-projects"
+ className="text-primary hover:underline"
+ >
Stripe Projects docs
</a>
- <a href="https://supabase.com/docs" className="text-brand hover:underline">
+ <a href="https://supabase.com/docs" className="text-primary hover:underline">
Supabase docs
</a>
</div>
diff --git a/apps/www/app/(home)/_components/Hero.tsx b/apps/www/app/(home)/_components/Hero.tsx
index bce7a78f7de..e10b92618c5 100644
--- a/apps/www/app/(home)/_components/Hero.tsx
+++ b/apps/www/app/(home)/_components/Hero.tsx
@@ -18,7 +18,7 @@ export function Hero() {
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4 items-end">
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none">
<span className="block">Build in a weekend</span>
- <span className="text-brand block">Scale to millions</span>
+ <span className="text-primary block">Scale to millions</span>
</h1>
<p className="text-foreground-lighter text-balance">
Start your project with a Postgres database. Add Authentication, Data APIs, Edge
diff --git a/apps/www/app/(products)/_shared/QuoteSection.tsx b/apps/www/app/(products)/_shared/QuoteSection.tsx
index 866014246fc..85d7ba5d940 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">{highlight}</span>
+ <span className="text-primary">{highlight}</span>
</>
)}
</p>
diff --git a/apps/www/app/(products)/auth/_components/FeaturesSection.tsx b/apps/www/app/(products)/auth/_components/FeaturesSection.tsx
index 7b576168625..83f66e8b78b 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-default/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-primary">
CW
</div>
<div className="flex flex-col">
@@ -215,7 +215,7 @@ function IntegratedSkeleton() {
</div>
<div className="flex items-center justify-between">
<span className="text-[10px] text-foreground-muted">Connected account</span>
- <span className="text-[9px] text-brand">Google</span>
+ <span className="text-[9px] text-primary">Google</span>
</div>
</div>
</div>
@@ -378,7 +378,7 @@ function IntegratedSkeleton() {
{ key: 'user.role', val: 'authenticated' },
].map((row) => (
<div key={row.key} className="flex items-center justify-between">
- <span className="font-mono text-[9px] text-brand">{row.key}</span>
+ <span className="font-mono text-[9px] text-primary">{row.key}</span>
<span className="ml-2 truncate font-mono text-[9px] text-foreground-muted">
{row.val}
</span>
@@ -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-default/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-primary">
On
</div>
</div>
diff --git a/apps/www/app/(products)/auth/_components/HighlightsSection.tsx b/apps/www/app/(products)/auth/_components/HighlightsSection.tsx
index 4e379c3d424..74e46741de3 100644
--- a/apps/www/app/(products)/auth/_components/HighlightsSection.tsx
+++ b/apps/www/app/(products)/auth/_components/HighlightsSection.tsx
@@ -57,7 +57,7 @@ export function HighlightsSection() {
<ul className="flex flex-col text-foreground-lighter text-sm gap-1.5">
{highlight.features.map((feature) => (
<li key={feature} className="flex items-start gap-2">
- <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-brand" />
+ <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-primary" />
<span>{feature}</span>
</li>
))}
diff --git a/apps/www/app/(products)/database/_components/FeaturesSection.tsx b/apps/www/app/(products)/database/_components/FeaturesSection.tsx
index 96b6d36b861..2d41ff2da87 100644
--- a/apps/www/app/(products)/database/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/database/_components/FeaturesSection.tsx
@@ -248,7 +248,11 @@ function RLSSkeleton() {
>
<div className="flex items-center gap-1.5 overflow-hidden">
{col.isPrimaryKey && (
- <Key size={12} strokeWidth={2} className="text-brand rotate-45 shrink-0" />
+ <Key
+ size={12}
+ strokeWidth={2}
+ className="text-primary rotate-45 shrink-0"
+ />
)}
<span className="text-foreground text-xs truncate font-medium">
{col.name}
@@ -442,7 +446,7 @@ function RealtimeSkeleton() {
<tr className="bg-surface-200">
<th className="border-b border-r border-default px-3 py-1.5 text-left font-normal">
<div className="flex items-center gap-1.5 overflow-hidden">
- <Key size={12} strokeWidth={2} className="text-brand rotate-45 shrink-0" />
+ <Key size={12} strokeWidth={2} className="text-primary rotate-45 shrink-0" />
<span className="text-foreground text-xs font-medium">id</span>
<span className="text-foreground-light text-xs">int8</span>
</div>
diff --git a/apps/www/app/(products)/database/_components/HighlightsSection.tsx b/apps/www/app/(products)/database/_components/HighlightsSection.tsx
index 481acf1c5d2..71f2b94c573 100644
--- a/apps/www/app/(products)/database/_components/HighlightsSection.tsx
+++ b/apps/www/app/(products)/database/_components/HighlightsSection.tsx
@@ -67,7 +67,7 @@ export function HighlightsSection() {
<ul className="flex flex-col text-foreground-lighter text-sm gap-1.5">
{highlight.features.map((feature) => (
<li key={feature} className="flex items-start gap-2">
- <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-brand" />
+ <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-primary" />
<span>{feature}</span>
</li>
))}
diff --git a/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx b/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
index 3d139ce391f..45223d686bc 100644
--- a/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
+++ b/apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
@@ -119,7 +119,7 @@ export function SpreadsheetIllustration() {
>
<div className="flex items-center gap-1.5 overflow-hidden">
{col.isPrimaryKey && (
- <Key size={12} strokeWidth={2} className="text-brand rotate-45 shrink-0" />
+ <Key size={12} strokeWidth={2} className="text-primary rotate-45 shrink-0" />
)}
<span className="text-foreground text-xs truncate font-medium">{col.name}</span>
<span className="text-foreground-light text-xs truncate">{col.format}</span>
diff --git a/apps/www/app/(products)/database/_components/VisualDemo.tsx b/apps/www/app/(products)/database/_components/VisualDemo.tsx
index 6505f55e07f..db2e18f1105 100644
--- a/apps/www/app/(products)/database/_components/VisualDemo.tsx
+++ b/apps/www/app/(products)/database/_components/VisualDemo.tsx
@@ -499,7 +499,7 @@ export function VisualDemo() {
<Key
size={12}
strokeWidth={2}
- className="text-brand rotate-45 shrink-0"
+ className="text-primary rotate-45 shrink-0"
/>
)}
<span className="text-foreground text-xs truncate font-medium">
diff --git a/apps/www/app/(products)/edge-functions/_components/CTASection.tsx b/apps/www/app/(products)/edge-functions/_components/CTASection.tsx
index c1b921f5f39..658eb674196 100644
--- a/apps/www/app/(products)/edge-functions/_components/CTASection.tsx
+++ b/apps/www/app/(products)/edge-functions/_components/CTASection.tsx
@@ -53,7 +53,11 @@ function TerminalAnimation() {
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.2 }}
className={
- line.accent ? 'text-brand' : line.dim ? 'text-foreground-light' : 'text-foreground'
+ line.accent
+ ? 'text-primary'
+ : line.dim
+ ? 'text-foreground-light'
+ : 'text-foreground'
}
>
{line.text || '\u00A0'}
diff --git a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
index 68f8f7f677a..0de696f849c 100644
--- a/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
@@ -141,7 +141,7 @@ function DatabaseChangesSkeleton() {
<tr className="bg-surface-200">
<th className="border-b border-r border-default px-3 py-1.5 text-left font-normal">
<div className="flex items-center gap-1.5 overflow-hidden">
- <Key size={12} strokeWidth={2} className="text-brand rotate-45 shrink-0" />
+ <Key size={12} strokeWidth={2} className="text-primary rotate-45 shrink-0" />
<span className="text-foreground text-xs font-medium">id</span>
<span className="text-foreground-light text-xs">int8</span>
</div>
@@ -568,7 +568,7 @@ function BroadcastSkeleton() {
height="14"
viewBox="0 0 24 24"
fill="none"
- className="text-brand"
+ className="text-primary"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden
@@ -628,7 +628,9 @@ 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-default text-brand' : 'border-border text-foreground-muted'
+ isFlashing
+ ? 'border-brand-default text-primary'
+ : 'border-border text-foreground-muted'
)}
style={{ left: `${xPercent}%` }}
>
diff --git a/apps/www/app/(products)/storage/_components/BucketTypesSection.tsx b/apps/www/app/(products)/storage/_components/BucketTypesSection.tsx
index 24ee0e94747..c302067f23a 100644
--- a/apps/www/app/(products)/storage/_components/BucketTypesSection.tsx
+++ b/apps/www/app/(products)/storage/_components/BucketTypesSection.tsx
@@ -57,7 +57,7 @@ export function BucketTypesSection() {
<ul className="flex flex-col text-foreground-lighter text-sm gap-1.5">
{bucket.features.map((feature) => (
<li key={feature} className="flex items-start gap-2">
- <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-brand" />
+ <Check className="w-3.5 h-3.5 mt-0.5 shrink-0 stroke-2 text-primary" />
<span>{feature}</span>
</li>
))}
diff --git a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx b/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
index 55379f28805..24db2ceac62 100644
--- a/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
+++ b/apps/www/app/(products)/storage/_components/FeaturesSection.tsx
@@ -97,7 +97,7 @@ function InteroperableSkeleton() {
height="34"
viewBox="0 0 24 24"
fill="none"
- className="relative z-10 text-brand"
+ className="relative z-10 text-primary"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
@@ -183,7 +183,7 @@ function CDNSkeleton() {
height="48"
viewBox="0 0 24 24"
fill="none"
- className="relative z-10 text-brand"
+ className="relative z-10 text-primary"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
@@ -217,7 +217,7 @@ function BucketsSkeleton() {
name: 'Files',
label: 'images, videos, docs',
icon: 'folder' as const,
- colorClass: 'text-brand',
+ colorClass: 'text-primary',
},
{
name: 'Analytics',
diff --git a/apps/www/app/blog/authors/[author]/AuthorClient.tsx b/apps/www/app/blog/authors/[author]/AuthorClient.tsx
index c55b3ddba6e..5886235dada 100644
--- a/apps/www/app/blog/authors/[author]/AuthorClient.tsx
+++ b/apps/www/app/blog/authors/[author]/AuthorClient.tsx
@@ -80,7 +80,7 @@ export default function AuthorClient({ author, authorId, blogs, initialView }: A
<Link
href={author.author_url}
target="_blank"
- className="text-brand hover:underline text-sm"
+ className="text-primary hover:underline text-sm"
>
{author.author_url.includes('github.com')
? 'GitHub'
diff --git a/apps/www/app/partners/catalog/IntegrationsContent.tsx b/apps/www/app/partners/catalog/IntegrationsContent.tsx
index f5779132da5..071567bf0dd 100644
--- a/apps/www/app/partners/catalog/IntegrationsContent.tsx
+++ b/apps/www/app/partners/catalog/IntegrationsContent.tsx
@@ -193,7 +193,7 @@ export default function IntegrationsContent({
<DefaultLayout>
<SectionContainer>
<div className="flex flex-col gap-3 mb-8">
- <span className="text-brand font-mono uppercase tracking-widest text-sm">
+ <span className="text-primary font-mono uppercase tracking-widest text-sm">
Partner Catalog
</span>
<div className="flex flex-col sm:flex-row sm:items-end sm:justify-between gap-4">
diff --git a/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx b/apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx
index 52bb5637aeb..f98bf9969a0 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 hover:underline transition-colors"
+ className="text-primary hover:underline transition-colors"
>
{category.name}
</Link>
@@ -379,7 +379,7 @@ function PartnerDetails({
}
target="_blank"
rel="noreferrer"
- className="text-brand hover:underline transition-colors"
+ className="text-primary hover:underline transition-colors"
>
{(() => {
try {
@@ -402,7 +402,7 @@ function PartnerDetails({
href={activeListing.docsUrl}
target="_blank"
rel="noreferrer"
- className="text-brand hover:underline transition-colors"
+ className="text-primary 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 a167e279cf8..d2ce5b7adbd 100644
--- a/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
+++ b/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
@@ -97,8 +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 hover:bg-brand-300/25',
- chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-brand'
+ 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-primary hover:bg-brand-300/25',
+ chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-primary'
)}
>
{chapter.shortTitle}
@@ -226,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 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-primary 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 5e619a543d3..c54e44e2954 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'
+ ? 'border-brand-500/40 bg-brand-300/40 text-primary'
: 'border-overlay text-foreground-light hover:text-foreground hover:bg-surface-100'
}`}
>
diff --git a/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx b/apps/www/app/state-of-startups/components/ParticipantsCarousel.tsx
index ecfa5ce21a6..7c5ce031542 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 transition-colors whitespace-nowrap"
+ className="text-xs md:text-sm font-mono tracking-widest uppercase text-foreground-lighter hover:text-primary 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 7efee4330ae..789b60d00e1 100644
--- a/apps/www/app/state-of-startups/components/SectionCallout.tsx
+++ b/apps/www/app/state-of-startups/components/SectionCallout.tsx
@@ -13,13 +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 text-xs font-mono uppercase tracking-widest">{eyebrow}</span>
+ <span className="text-primary 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 text-sm font-medium hover:underline w-fit"
+ className="inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline w-fit"
>
{cta}
<ArrowUpRight size={14} strokeWidth={2} />
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
index b63bd89fce7..23dde9e37bc 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
@@ -56,7 +56,7 @@ export function StateOfStartupsAuroraHeader() {
<h1 className="text-5xl md:text-6xl xl:text-8xl font-light text-foreground leading-[0.92] tracking-tight">
The State
<br />
- of Startups <span className="text-brand-500 dark:text-brand font-medium">2026</span>
+ of Startups <span className="text-brand-500 dark:text-primary font-medium">2026</span>
</h1>
</div>
</header>
diff --git a/apps/www/app/state-of-startups/components/SurveyChapter.tsx b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
index 99e88af612e..b8c62248c99 100644
--- a/apps/www/app/state-of-startups/components/SurveyChapter.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
@@ -56,7 +56,9 @@ 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`}>
+ <p
+ className={`text-sm uppercase font-mono text-balance tracking-wider text-primary`}
+ >
{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 bf69229f118..c6271c98d07 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'
+ const eyebrowColor = 'text-primary'
// 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 1a61e4e57ec..6d7d7311e27 100644
--- a/apps/www/app/state-of-startups/components/SurveyChart.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChart.tsx
@@ -26,7 +26,7 @@ interface SurveyChartProps {
}
const accentBarFg = 'bg-brand-default'
-const accentBarText = 'text-brand'
+const accentBarText = 'text-primary'
export function SurveyChart({
title,
diff --git a/apps/www/app/state-of-startups/components/SurveyCompareStatCard.tsx b/apps/www/app/state-of-startups/components/SurveyCompareStatCard.tsx
index 7ff9c754b4a..62398a96336 100644
--- a/apps/www/app/state-of-startups/components/SurveyCompareStatCard.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyCompareStatCard.tsx
@@ -10,7 +10,7 @@ function CompareValue({ caption, query }: { caption: string; query: Distribution
<span className="text-foreground-light text-xs font-mono uppercase tracking-widest">
{caption}
</span>
- <span className="text-brand text-4xl md:text-6xl font-mono tracking-tight tabular-nums">
+ <span className="text-primary text-4xl md:text-6xl font-mono tracking-tight tabular-nums">
{percent === null ? '—' : `${percent}%`}
</span>
</div>
diff --git a/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx b/apps/www/app/state-of-startups/components/SurveyPullQuoteGrid.tsx
index 36ef5dadbde..afc3f053b75 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 text-xs font-mono uppercase tracking-widest">
+ <span className="text-primary 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 e0288526d56..6b90daa3051 100644
--- a/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyRankedAnswersPair.tsx
@@ -11,7 +11,7 @@ export function SurveyRankedAnswersPair({
const accentBlocks = ['bg-brand-default', 'bg-brand-500', 'bg-brand-300']
- const accentRankText = 'text-brand'
+ const accentRankText = 'text-primary'
return (
<aside className="flex flex-col sm:flex-row flex-wrap divide-x divide-y divide-muted/50">
diff --git a/apps/www/app/state-of-startups/components/SurveyStatCard.tsx b/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
index d7ce992614f..b6a016baee0 100644
--- a/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyStatCard.tsx
@@ -28,7 +28,7 @@ export function SurveyStatCard({ label, query, value, cohortFilter }: SurveyStat
const { year } = useYear()
const accentBg = 'bg-brand-default'
- const accentText = 'text-brand'
+ const accentText = 'text-primary'
// A static `value` wins; otherwise resolve from the embedded dataset for the
// active year. Returns null when the option/column has no data that year
diff --git a/apps/www/app/state-of-startups/register/RegisterContent.tsx b/apps/www/app/state-of-startups/register/RegisterContent.tsx
index edf8c3d7479..e02aee634c0 100644
--- a/apps/www/app/state-of-startups/register/RegisterContent.tsx
+++ b/apps/www/app/state-of-startups/register/RegisterContent.tsx
@@ -89,7 +89,7 @@ export function RegisterContent() {
<h1 className="text-6xl md:text-8xl font-light text-foreground leading-[0.92] tracking-tight">
The State <br /> of Startups
<br />
- <span className="text-brand-600 dark:text-brand font-medium">2026</span>
+ <span className="text-brand-600 dark:text-primary font-medium">2026</span>
</h1>
</div>
@@ -192,10 +192,10 @@ function PreviousResultsCta() {
className="group grid gap-8 transition-colors md:grid-cols-[auto_1fr_auto] md:items-end md:gap-12"
>
<div className="flex w-fit flex-col gap-2" aria-hidden="true">
- <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">
+ <div className="w-fit bg-brand-300 px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-primary md:text-[2.25rem] md:leading-10">
State
</div>
- <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">
+ <div className="w-fit bg-brand-300 px-5 py-3 text-[1.75rem] leading-8 tracking-tight text-primary md:text-[2.25rem] md:leading-10">
of
</div>
<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">
diff --git a/apps/www/components/CodeBlock/CodeBlock.tsx b/apps/www/components/CodeBlock/CodeBlock.tsx
index f0d9a8da453..a2508edb049 100644
--- a/apps/www/components/CodeBlock/CodeBlock.tsx
+++ b/apps/www/components/CodeBlock/CodeBlock.tsx
@@ -160,7 +160,7 @@ function CodeBlock(props: CodeBlockProps) {
variant="text"
icon={
copied ? (
- <span className="text-brand">
+ <span className="text-primary">
<Check strokeWidth={3} />
</span>
) : (
diff --git a/apps/www/components/Contribute/Hero.tsx b/apps/www/components/Contribute/Hero.tsx
index 850fe4f6805..937f361db9e 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 md:text-base">
+ <h1 className="text-sm text-primary 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 fcf1402299c..46461de1dc2 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 hover:underline break-all"
+ className="text-primary hover:underline break-all"
target="_blank"
rel="noopener noreferrer"
/>
diff --git a/apps/www/components/EventCallout.tsx b/apps/www/components/EventCallout.tsx
index 8e989f78cf1..9f4b2a1f719 100644
--- a/apps/www/components/EventCallout.tsx
+++ b/apps/www/components/EventCallout.tsx
@@ -25,7 +25,7 @@ const EventCallout = ({ className, size = 'tiny', ...props }: PropsWithChildren<
)}
{...props}
>
- <span className="uppercase text-brand font-mono">Webinar</span>
+ <span className="uppercase text-primary font-mono">Webinar</span>
{/* <span className="uppercase px-2 text-xs">23 Oct</span> */}
<span className="">Migrating to Supabase Auth / Good Tape</span>
<ChevronRightIcon className="translate-x-0 transition-transform group-hover:translate-x-0.5 w-3 h-3 -ml-1" />
@@ -41,8 +41,8 @@ const EventCallout = ({ className, size = 'tiny', ...props }: PropsWithChildren<
)}
{...props}
>
- <VideoCameraIcon className="w-4 h-4 text-brand mr-2" />
- <span className="py-1 uppercase text-brand font-mono">Webinar</span>
+ <VideoCameraIcon className="w-4 h-4 text-primary mr-2" />
+ <span className="py-1 uppercase text-primary font-mono">Webinar</span>
<span className="py-1 uppercase mx-3 px-3 border-x">23 Oct</span>
<span className="py-1">Migrating to Supabase Auth / Good Tape</span>
<ChevronRightIcon className="translate-x-0 transition-transform group-hover:translate-x-0.5 w-3 h-3 ml-1.5" />
@@ -67,7 +67,7 @@ const EventCallout = ({ className, size = 'tiny', ...props }: PropsWithChildren<
</div>
<div className="flex flex-col gap-2 md:gap-3 grow max-w-xl xl:justify-center">
<div className="flex flex-row text-sm">
- <span className="uppercase text-brand font-mono">Webinar</span>
+ <span className="uppercase text-primary font-mono">Webinar</span>
<span className="mx-3 pl-3 border-l">23 Oct 2024 at 10AM PST</span>
</div>
diff --git a/apps/www/components/FeaturesMatrix.tsx b/apps/www/components/FeaturesMatrix.tsx
index d62adbff94d..a06bbea6078 100644
--- a/apps/www/components/FeaturesMatrix.tsx
+++ b/apps/www/components/FeaturesMatrix.tsx
@@ -213,7 +213,7 @@ export function FeaturesMatrix({ features }: FeaturesMatrixProps) {
<TableCell className="px-3 py-3 hover:bg-transparent!">
{selfHosted ? (
<div className="flex items-center gap-1.5">
- <Check size={14} className="text-brand shrink-0" />
+ <Check size={14} className="text-primary shrink-0" />
{tooling && (
<a
href={tooling.link}
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index f7fc62333dd..f8a8dfc11cd 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 hover:underline">
+ <Link href="/security" className="text-primary 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 text-sm">Thanks for subscribing!</p>
+ <p className="text-primary 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/7/LaunchSection/ArticleButtonListItem.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButtonListItem.tsx
index 546fe4f16d0..00a6b108c30 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButtonListItem.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButtonListItem.tsx
@@ -5,7 +5,7 @@ const ArticleButtonListItem = (props: Article) => {
return (
<Link href={props.url} className="group mr-2 mb-2">
<div className="flex flex-col">
- <span className="text-foreground group-hover:text-brand text-left text-base transition">
+ <span className="text-foreground group-hover:text-primary text-left text-base transition">
{props.title}
</span>
<p className="text-foreground-light text-left text-sm transition">{props.description}</p>
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
index 7bcdab787b7..462c09f91cf 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
@@ -18,7 +18,7 @@ export const ProductButtonListItem = (props: Article) => {
<SparklesIcon strokeWidth={1} />
</div>
<div className="flex flex-col items-start gap-0">
- <span className="group-hover:text-brand text-sm">{props.title}</span>
+ <span className="group-hover:text-primary text-sm">{props.title}</span>
<p className="text-foreground-light text-left text-sm">{props.description}</p>
</div>
</Link>
diff --git a/apps/www/components/Layouts/SectionHeading.tsx b/apps/www/components/Layouts/SectionHeading.tsx
index 832fb3df8ad..25a6b9b6e02 100644
--- a/apps/www/components/Layouts/SectionHeading.tsx
+++ b/apps/www/components/Layouts/SectionHeading.tsx
@@ -22,7 +22,7 @@ const SectionHeading = ({
)}
>
{eyebrow && (
- <span className="text-brand font-mono text-sm uppercase tracking-wide">{eyebrow}</span>
+ <span className="text-primary font-mono text-sm uppercase tracking-wide">{eyebrow}</span>
)}
<h2 className="text-foreground text-3xl md:text-4xl tracking-tight max-w-[35ch] text-balance">
{title}
diff --git a/apps/www/components/MarkdownActions.tsx b/apps/www/components/MarkdownActions.tsx
index c82218e0e31..af7f5f43e91 100644
--- a/apps/www/components/MarkdownActions.tsx
+++ b/apps/www/components/MarkdownActions.tsx
@@ -52,7 +52,7 @@ export function MarkdownActions({
className={cn(itemClass, 'cursor-pointer text-left')}
>
{copied ? (
- <Check size={14} strokeWidth={1.5} className="text-brand" aria-hidden />
+ <Check size={14} strokeWidth={1.5} className="text-primary" aria-hidden />
) : (
<Copy size={14} strokeWidth={1.5} aria-hidden />
)}
diff --git a/apps/www/components/Nav/MenuItem.tsx b/apps/www/components/Nav/MenuItem.tsx
index ff1bbca8942..6f3478a6076 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'
+ hoverColor === 'brand' && 'group-hover/menu-item:text-primary'
)}
>
{title}
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index ac46655b3a5..b39115b8d15 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 data-open:text-brand! focus-ring focus-visible:text-foreground px-2.5 h-full'
+ 'bg-transparent! hover:text-primary data-open:text-primary! 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 px-2.5 h-full"
+ className="group-hover:bg-transparent text-foreground focus-visible:text-primary px-2.5 h-full"
hoverColor="brand"
/>
</NavigationMenuLink>
diff --git a/apps/www/components/OpenSource/RepoCard.tsx b/apps/www/components/OpenSource/RepoCard.tsx
index 8cdcf75dd0b..85eb2cc2a26 100644
--- a/apps/www/components/OpenSource/RepoCard.tsx
+++ b/apps/www/components/OpenSource/RepoCard.tsx
@@ -48,7 +48,7 @@ const RepoCard = ({ repo, activeTab, index }: { repo: any; activeTab: number; in
/>
</svg>
- <p className="text-foreground group-hover:text-brand text-lg m-0 leading-none">
+ <p className="text-foreground group-hover:text-primary text-lg m-0 leading-none">
{repo.name}
</p>
</div>
diff --git a/apps/www/components/OpenSource/Repos.tsx b/apps/www/components/OpenSource/Repos.tsx
index 75208fdf76f..6027a2f9127 100644
--- a/apps/www/components/OpenSource/Repos.tsx
+++ b/apps/www/components/OpenSource/Repos.tsx
@@ -32,7 +32,7 @@ const Tab = ({ isActive, label, icon, onClick }: TabProps) => (
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
- className={cn('text-foreground-light shrink-0', isActive && 'text-brand')}
+ className={cn('text-foreground-light shrink-0', isActive && 'text-primary')}
>
<path
d={icon}
diff --git a/apps/www/components/OpenSource/Sponsorships.tsx b/apps/www/components/OpenSource/Sponsorships.tsx
index bcd6adb1409..89f0033d7f7 100644
--- a/apps/www/components/OpenSource/Sponsorships.tsx
+++ b/apps/www/components/OpenSource/Sponsorships.tsx
@@ -44,7 +44,7 @@ const Sponsorships = ({ sponsorships }: { sponsorships: any[] }) => {
</svg>
)}
- <p className="text-foreground group-hover:text-brand text-lg m-0 leading-none">
+ <p className="text-foreground group-hover:text-primary text-lg m-0 leading-none">
{link.name}
</p>
</div>
diff --git a/apps/www/components/Partners/PartnerLinkBox.tsx b/apps/www/components/Partners/PartnerLinkBox.tsx
index 2786966736c..acdb035c417 100644
--- a/apps/www/components/Partners/PartnerLinkBox.tsx
+++ b/apps/www/components/Partners/PartnerLinkBox.tsx
@@ -17,7 +17,7 @@ const PartnerLinkBox = ({
const colors = {
amber: 'bg-amber-300 text-amber-900',
blue: 'bg-blue-300 text-blue-900',
- brand: 'bg-brand-300 text-brand',
+ brand: 'bg-brand-300 text-primary',
}
const content = (
diff --git a/apps/www/components/Pricing/ComputePricingTable.tsx b/apps/www/components/Pricing/ComputePricingTable.tsx
index f7a41c265be..d99d608734d 100644
--- a/apps/www/components/Pricing/ComputePricingTable.tsx
+++ b/apps/www/components/Pricing/ComputePricingTable.tsx
@@ -51,7 +51,7 @@ const ComputePricingTable = () => {
{column.url ? (
<Link
href={column.url}
- className="underline text-brand hover:text-brand-600"
+ className="underline text-primary hover:text-brand-600"
target="_blank"
>
{column.value}
@@ -83,7 +83,7 @@ const ComputePricingTable = () => {
</th>
<td
className={`px-4 py-3 ${
- column.key === 'plan' ? 'text-brand pt-16 lg:pt-3' : ''
+ column.key === 'plan' ? 'text-primary pt-16 lg:pt-3' : ''
}`}
>
{column.value}
diff --git a/apps/www/components/Pricing/PricingComputeSection.tsx b/apps/www/components/Pricing/PricingComputeSection.tsx
index 1cbb1da6d03..3dd252eff7e 100644
--- a/apps/www/components/Pricing/PricingComputeSection.tsx
+++ b/apps/www/components/Pricing/PricingComputeSection.tsx
@@ -164,7 +164,7 @@ const PricingComputeSection = () => {
<Link
href="https://supabase.com/docs/guides/platform/manage-your-usage/compute"
target="_blank"
- className="transition text-brand hover:text-brand-600"
+ className="transition text-primary hover:text-brand-600"
>
usage-based billing for compute
</Link>{' '}
@@ -172,7 +172,7 @@ const PricingComputeSection = () => {
<Link
href="https://supabase.com/docs/guides/platform/compute-add-ons"
target="_blank"
- className="transition text-brand hover:text-brand-600"
+ className="transition text-primary hover:text-brand-600"
>
Compute Add-ons
</Link>
diff --git a/apps/www/components/Pricing/PricingDiskSection.tsx b/apps/www/components/Pricing/PricingDiskSection.tsx
index 1cabb993f40..5c7873f03a1 100644
--- a/apps/www/components/Pricing/PricingDiskSection.tsx
+++ b/apps/www/components/Pricing/PricingDiskSection.tsx
@@ -74,7 +74,7 @@ const PricingDiskSection = () => (
<tbody key={`${diskType.name}-mobile`}>
<tr>
<th className="py-3 pl-4 text-left font-medium pt-16 lg:pt-3 w-[60%]">Disk Type</th>
- <td className="px-4 py-3 text-brand pt-16 lg:pt-3">{diskType.name}</td>
+ <td className="px-4 py-3 text-primary pt-16 lg:pt-3">{diskType.name}</td>
</tr>
<tr>
<th className="py-3 pl-4 text-left font-medium ">Max Size</th>
diff --git a/apps/www/components/Pricing/PricingFAQs.tsx b/apps/www/components/Pricing/PricingFAQs.tsx
index c2e3d1fa878..fac4609fa57 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 hover:text-brand-600"
+ className="transition underline text-primary hover:text-brand-600"
>
Open a support ticket
</a>{' '}
diff --git a/apps/www/components/Pricing/PricingPlans.tsx b/apps/www/components/Pricing/PricingPlans.tsx
index cbbff8f5b82..a7380bb0742 100644
--- a/apps/www/components/Pricing/PricingPlans.tsx
+++ b/apps/www/components/Pricing/PricingPlans.tsx
@@ -168,7 +168,7 @@ const PricingPlans = ({ organizations, hasExistingOrganizations }: PricingPlansP
<Check
className={cn(
'h-4 w-4',
- plan.name === 'Enterprise' ? 'text-foreground' : 'text-brand'
+ plan.name === 'Enterprise' ? 'text-foreground' : 'text-primary'
)}
aria-hidden="true"
strokeWidth={3}
diff --git a/apps/www/components/ProductIcon.tsx b/apps/www/components/ProductIcon.tsx
index c8d3fd15626..32a2135a72d 100644
--- a/apps/www/components/ProductIcon.tsx
+++ b/apps/www/components/ProductIcon.tsx
@@ -15,12 +15,12 @@ function ProductIcon({ icon, color }: ProductIcon) {
}
case 'alt':
return {
- container: 'bg-brand-200 text-brand',
+ container: 'bg-brand-200 text-primary',
svg: 'stroke-brand-default',
}
case 'gray':
return {
- container: 'bg- text-brand',
+ container: 'bg- text-primary',
svg: 'stroke-brand-default',
}
case 'black':
@@ -39,8 +39,8 @@ function ProductIcon({ icon, color }: ProductIcon) {
!color || color === 'black' ? 'bg-foreground text-background-alternative' : '',
color && color === 'gray' ? 'bg-border-strong text-foreground-light' : '',
color && color === 'green' ? 'bg-brand-default text-brand-100' : '',
- color && color === 'alt' ? 'bg-alternative text-brand' : '',
- // color && color === 'alt' ? 'bg-surface-300 text-brand' : '',
+ color && color === 'alt' ? 'bg-alternative text-primary' : '',
+ // color && color === 'alt' ? 'bg-surface-300 text-primary' : '',
].join(' ')}
>
<svg
diff --git a/apps/www/components/Products/Functions/FunctionsHero.tsx b/apps/www/components/Products/Functions/FunctionsHero.tsx
index 299f68a9af4..f9a851cfb54 100644
--- a/apps/www/components/Products/Functions/FunctionsHero.tsx
+++ b/apps/www/components/Products/Functions/FunctionsHero.tsx
@@ -204,7 +204,7 @@ const FunctionsHero = () => {
/>
<div className="text-foreground rounded-sm p-1.5 opacity-0 group-hover:opacity-100 transition-opacity">
{copied ? (
- <span className="text-brand">
+ <span className="text-primary">
<Check className="w-3.5 h-3.5" />
</span>
) : (
diff --git a/apps/www/components/Products/Functions/LocalDXImage.tsx b/apps/www/components/Products/Functions/LocalDXImage.tsx
index 584c27b9cb4..bc01d4a5ee2 100644
--- a/apps/www/components/Products/Functions/LocalDXImage.tsx
+++ b/apps/www/components/Products/Functions/LocalDXImage.tsx
@@ -121,7 +121,7 @@ const LocalDXImage = ({ isHovered = false }: { isHovered?: boolean }) => {
<div className="text-foreground rounded p-1.5 ml-2 opacity-0 group-hover:opacity-100 transition-opacity shrink-0">
{copied ? (
- <span className="text-brand">
+ <span className="text-primary">
<Check className="w-3.5 h-3.5" />
</span>
) : (
diff --git a/apps/www/components/Products/FunctionsVisual.tsx b/apps/www/components/Products/FunctionsVisual.tsx
index 6cfb778f373..2e1617f8e41 100644
--- a/apps/www/components/Products/FunctionsVisual.tsx
+++ b/apps/www/components/Products/FunctionsVisual.tsx
@@ -107,7 +107,7 @@ const FunctionsVisual: React.FC<Props> = ({ className }) => {
>
<span className="mr-2">$</span>
supabase
- <span className="ml-1 text-brand inline-block">
+ <span className="ml-1 text-primary inline-block">
functions <span ref={typerRef}>{firstString}</span>
</span>
</div>
diff --git a/apps/www/components/Sections/CommunitySlider.tsx b/apps/www/components/Sections/CommunitySlider.tsx
index a3a6ea83249..aabdfc6f4c6 100644
--- a/apps/www/components/Sections/CommunitySlider.tsx
+++ b/apps/www/components/Sections/CommunitySlider.tsx
@@ -131,7 +131,7 @@ const CommunitySlider = () => {
<p className="text-foreground-muted my-3 text-base">{card.abstract}</p>
{card.url && (
- <div className="text-brand block cursor-pointer text-sm">Read Customer Story</div>
+ <div className="text-primary block cursor-pointer text-sm">Read Customer Story</div>
)}
</div>
)
diff --git a/apps/www/components/Sections/CustomerQuotesSection.tsx b/apps/www/components/Sections/CustomerQuotesSection.tsx
index 2f92b9ec4ba..746258b53d7 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 border-t mt-4 pt-4 cursor-pointer text-sm flex items-center justify-between">
+ <div className="text-primary 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/PageHeader.tsx b/apps/www/components/Sections/PageHeader.tsx
index 1728ef47923..a7dcca16a63 100644
--- a/apps/www/components/Sections/PageHeader.tsx
+++ b/apps/www/components/Sections/PageHeader.tsx
@@ -16,7 +16,7 @@ const PageHeader = ({ breadcrumb, title, h1, subheader, className }: Props) => (
<SectionContainerWithCn height="narrow">
{breadcrumb && <div className="mb-6">{breadcrumb}</div>}
{title && (
- <p className="mb-3 font-mono text-sm uppercase tracking-widest text-brand">{title}</p>
+ <p className="mb-3 font-mono text-sm uppercase tracking-widest text-primary">{title}</p>
)}
<h1 className="h1 font-normal tracking-tight text-foreground md:text-3xl lg:text-4xl">
{h1}
diff --git a/apps/www/components/Sections/ProductHeader2.tsx b/apps/www/components/Sections/ProductHeader2.tsx
index a060c052140..b106d5b072f 100644
--- a/apps/www/components/Sections/ProductHeader2.tsx
+++ b/apps/www/components/Sections/ProductHeader2.tsx
@@ -53,7 +53,7 @@ const ProductHeader = ({ footerPosition = 'left', ...props }: Props) => {
{props.icon && <ProductIcon icon={props.icon} />}
{props.title && (
<span
- className="text-brand-600 dark:text-brand font-mono uppercase"
+ className="text-brand-600 dark:text-primary font-mono uppercase"
key={`product-name-${props.title}`}
>
{props.title}
diff --git a/apps/www/components/Sections/ProductHeaderCentered.tsx b/apps/www/components/Sections/ProductHeaderCentered.tsx
index 56aab49f078..5529cec01c9 100644
--- a/apps/www/components/Sections/ProductHeaderCentered.tsx
+++ b/apps/www/components/Sections/ProductHeaderCentered.tsx
@@ -64,7 +64,7 @@ const ProductHeaderCentered = (props: Types) => (
{props.icon && <ProductIcon icon={props.icon} />}
{props.title && (
<span
- className="text-brand font-mono uppercase tracking-widest text-sm"
+ className="text-primary font-mono uppercase tracking-widest text-sm"
key={`product-name-${props.title}`}
>
{props.title}
diff --git a/apps/www/components/Sections/ProductModulesHeader.tsx b/apps/www/components/Sections/ProductModulesHeader.tsx
index 43da166e737..eead919cf60 100644
--- a/apps/www/components/Sections/ProductModulesHeader.tsx
+++ b/apps/www/components/Sections/ProductModulesHeader.tsx
@@ -80,7 +80,7 @@ const ProductModulesHeader = (props: Types) => (
{/* {props.icon && <ProductIcon icon={props.icon} />} */}
{props.title && (
<span
- className="text-brand font-mono uppercase tracking-widest text-sm"
+ className="text-primary font-mono uppercase tracking-widest text-sm"
key={`product-name-${props.title}`}
>
{props.title}
diff --git a/apps/www/components/Solutions/CustomerEvidenceSection.tsx b/apps/www/components/Solutions/CustomerEvidenceSection.tsx
index ea9e01ce155..09931daf891 100644
--- a/apps/www/components/Solutions/CustomerEvidenceSection.tsx
+++ b/apps/www/components/Solutions/CustomerEvidenceSection.tsx
@@ -49,7 +49,7 @@ const CustomerEvidenceSection = ({
<ul className="space-y-3 mb-6 grow">
{customer.highlights.map((highlight, i) => (
<li key={i} className="flex items-start gap-3 text-foreground-lighter text-sm">
- <Check className="w-4 h-4 text-brand shrink-0 mt-0.5" />
+ <Check className="w-4 h-4 text-primary shrink-0 mt-0.5" />
<span>{highlight}</span>
</li>
))}
@@ -57,7 +57,7 @@ const CustomerEvidenceSection = ({
{customer.cta && (
<Link
href={customer.cta.href}
- className="inline-flex items-center gap-2 text-sm text-brand hover:text-brand-600 transition-colors"
+ className="inline-flex items-center gap-2 text-sm text-primary hover:text-brand-600 transition-colors"
>
{customer.cta.label}
<ArrowRight className="w-4 h-4" />
diff --git a/apps/www/components/Solutions/PricingComparisonSection.tsx b/apps/www/components/Solutions/PricingComparisonSection.tsx
index 6af38024405..483a7c97b66 100644
--- a/apps/www/components/Solutions/PricingComparisonSection.tsx
+++ b/apps/www/components/Solutions/PricingComparisonSection.tsx
@@ -32,7 +32,7 @@ export interface PricingComparisonSectionProps {
const PlanValue = ({ value }: { value: ReactNode | boolean }) => {
if (value === true) {
- return <Check className="w-4 h-4 text-brand" strokeWidth={2} aria-label="Included" />
+ return <Check className="w-4 h-4 text-primary" strokeWidth={2} aria-label="Included" />
}
if (value === false) {
return (
diff --git a/apps/www/components/SubprocessorUpdatesForm.tsx b/apps/www/components/SubprocessorUpdatesForm.tsx
index c2369c4a2ad..02f5d0a344f 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 hover:underline"
+ className="text-primary hover:underline"
target="_blank"
rel="noopener noreferrer"
>
diff --git a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
index 1a9edcf973c..da7ffd580cc 100644
--- a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
+++ b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
@@ -96,7 +96,7 @@ export function StateOfStartupsHeader({ showProgressBars = true }: StateOfStartu
<TextBlock
text="State"
bgColor="bg-brand-300"
- textColor="text-brand"
+ textColor="text-primary"
showProgressBar={showProgressBars}
delay={randomDelays[0]}
progressBgColor="bg-surface-400 dark:bg-surface-300"
@@ -105,7 +105,7 @@ export function StateOfStartupsHeader({ showProgressBars = true }: StateOfStartu
<TextBlock
text="of"
bgColor="bg-brand-300"
- textColor="text-brand"
+ textColor="text-primary"
showProgressBar={showProgressBars}
delay={randomDelays[1]}
progressBgColor="bg-surface-400 dark:bg-surface-300"
diff --git a/apps/www/components/SurveyResults/SurveyChapter.tsx b/apps/www/components/SurveyResults/SurveyChapter.tsx
index beb6c7b612c..6eb9b463363 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 uppercase font-mono text-balance tracking-wider">
+ <p className="text-sm text-primary 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 3f877a46ee0..d139ffcf0ee 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 font-mono uppercase tracking-wider text-sm">
+ <h3 className="pt-8 pb-4 px-8 md:border-r border-muted text-primary 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 9400997daa5..4dbb2435996 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'
+ ? 'text-primary'
: 'text-foreground'
: 'text-foreground-muted'
}`}
diff --git a/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx b/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
index 1d2b022b991..53416173c3b 100644
--- a/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
+++ b/apps/www/components/SurveyResults/SurveyRankedAnswersPair.tsx
@@ -36,7 +36,7 @@ export function SurveyRankedAnswersPair({
<ol className="flex flex-col gap-3">
{item.answers.map((answer, answerIndex) => (
<li key={answerIndex} className="flex flex-col gap-2">
- <span className="text-sm font-mono text-brand">#{answerIndex + 1}</span>
+ <span className="text-sm font-mono text-primary">#{answerIndex + 1}</span>
<span
className={`${['text-2xl', 'text-lg', 'text-sm'][answerIndex] || 'text-lg'} text-foreground`}
>
diff --git a/apps/www/components/SurveyResults/SurveyStatCard.tsx b/apps/www/components/SurveyResults/SurveyStatCard.tsx
index 35474ef8ad6..91088efa519 100644
--- a/apps/www/components/SurveyResults/SurveyStatCard.tsx
+++ b/apps/www/components/SurveyResults/SurveyStatCard.tsx
@@ -105,7 +105,7 @@ export function SurveyStatCard({ label, percent }: { label: string; percent: num
{/* Text */}
<div className="flex flex-col gap-2">
<p
- className={`md:-ml-1 md:mt-8 text-2xl md:text-6xl font-mono tracking-tight inline-block flex flex-row items-baseline ${hasAnimated ? 'text-brand' : 'text-foreground-muted'} transition-colors duration-1000`}
+ className={`md:-ml-1 md:mt-8 text-2xl md:text-6xl font-mono tracking-tight inline-block flex flex-row items-baseline ${hasAnimated ? 'text-primary' : 'text-foreground-muted'} transition-colors duration-1000`}
>
{displayValue}
<span className="md:text-4xl">%</span>
diff --git a/apps/www/components/Wrapped/Pages/Devs.tsx b/apps/www/components/Wrapped/Pages/Devs.tsx
index fdb906a1774..0d0fe2f4e39 100644
--- a/apps/www/components/Wrapped/Pages/Devs.tsx
+++ b/apps/www/components/Wrapped/Pages/Devs.tsx
@@ -110,7 +110,7 @@ export const Devs = () => {
<div className="flex flex-col justify-end h-full px-4 py-0 relative">
<div className="flex justify-between items-center">
<h2 className="font-medium tracking-tighter text-6xl md:text-7xl lg:text-[5.6rem] translate-y-2 lg:translate-y-[10px]">
- Devs <span className="text-brand">love</span> Supabase
+ Devs <span className="text-primary">love</span> Supabase
</h2>
</div>
</div>
@@ -130,7 +130,7 @@ export const Devs = () => {
className="relative max-w-240 mx-auto border-x border-b p-8 bg-surface-75 w-[95%] md:w-full"
>
<div className="flex flex-col gap-2">
- <p className="text-4xl md:text-5xl font-mono font-medium text-brand tracking-tighter">
+ <p className="text-4xl md:text-5xl font-mono font-medium text-primary tracking-tighter">
<AnimatedCounter
value={stat.number}
increment={stat.increment}
@@ -160,7 +160,7 @@ export const Devs = () => {
<div className="flex flex-col gap-2">
<div className="flex flex-col">
<p
- className={`text-2xl md:text-3xl font-mono font-medium tracking-tighter ${stat.increment > 0 ? 'text-brand' : 'text-foreground'}`}
+ className={`text-2xl md:text-3xl font-mono font-medium tracking-tighter ${stat.increment > 0 ? 'text-primary' : 'text-foreground'}`}
>
{stat.suffix ? (
<>
diff --git a/apps/www/components/Wrapped/Pages/Home.tsx b/apps/www/components/Wrapped/Pages/Home.tsx
index c665399c52d..2be854ea4cc 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 whitespace-nowrap">
+ <p className="text-sm font-mono font-medium text-primary 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 d559fcfcf25..81ba3b4e0f8 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-default/10 text-brand px-2 py-0.5 rounded-full">
+ <span className="text-xs bg-brand-default/10 text-primary px-2 py-0.5 rounded-full">
Launch Week
</span>
)}
diff --git a/apps/www/data/products/modules/vector.tsx b/apps/www/data/products/modules/vector.tsx
index e0024a2704b..9eddf9f86b8 100644
--- a/apps/www/data/products/modules/vector.tsx
+++ b/apps/www/data/products/modules/vector.tsx
@@ -160,7 +160,7 @@ export default (isMobile?: boolean) => ({
<>
<span className="heading-gradient">Simple yet</span>
<br />
- <span className="text-brand">powerful APIs</span>
+ <span className="text-primary">powerful APIs</span>
</>
),
paragraph: 'Easy-to-use client libraries for managing and querying vector stores in Postgres.',
@@ -240,7 +240,7 @@ docs.query(
<>
<span className="heading-gradient">Powerful Features</span>
<br />
- <span className="text-brand">Scale to millions</span>
+ <span className="text-primary">Scale to millions</span>
</>
),
paragraph:
diff --git a/apps/www/data/solutions/beginners.tsx b/apps/www/data/solutions/beginners.tsx
index 1d6dafd4d18..0f4655809dc 100644
--- a/apps/www/data/solutions/beginners.tsx
+++ b/apps/www/data/solutions/beginners.tsx
@@ -56,7 +56,7 @@ const data: () => {
h1: (
<>
<span className="block text-foreground">Build in a weekend</span>
- <span className="text-brand block md:ml-0">Scale to millions</span>
+ <span className="text-primary block md:ml-0">Scale to millions</span>
</>
),
subheader: [
diff --git a/apps/www/data/solutions/hosted-postgres.tsx b/apps/www/data/solutions/hosted-postgres.tsx
index 0a64cbfe456..44c28a7837b 100644
--- a/apps/www/data/solutions/hosted-postgres.tsx
+++ b/apps/www/data/solutions/hosted-postgres.tsx
@@ -440,7 +440,7 @@ const data: () => {
href="https://www.multigres.com"
target="_blank"
rel="noopener noreferrer"
- className="text-foreground underline hover:text-brand transition-colors"
+ className="text-foreground underline hover:text-primary transition-colors"
>
Multigres
</a>{' '}
diff --git a/apps/www/data/solutions/vibe-coders.tsx b/apps/www/data/solutions/vibe-coders.tsx
index 24d6c1b6f49..69a85465449 100644
--- a/apps/www/data/solutions/vibe-coders.tsx
+++ b/apps/www/data/solutions/vibe-coders.tsx
@@ -50,7 +50,7 @@ const useVibeCodersContent: () => {
h1: (
<>
<span className="block text-foreground">Your weekend prototype</span>
- <span className="text-brand block md:ml-0">deserves production</span>
+ <span className="text-primary block md:ml-0">deserves production</span>
</>
),
subheader: [
diff --git a/apps/www/layouts/comparison.tsx b/apps/www/layouts/comparison.tsx
index e24567e4920..2c249d7f63b 100644
--- a/apps/www/layouts/comparison.tsx
+++ b/apps/www/layouts/comparison.tsx
@@ -86,7 +86,7 @@ const LayoutComparison = ({ components, props }: Props) => {
{/* Title and description */}
<div className="mb-16 max-w-5xl space-y-8">
<div className="space-y-4">
- <p className="text-brand text-center">Alternative</p>
+ <p className="text-primary text-center">Alternative</p>
<h1 className="h1 text-center">{props.blog.title}</h1>
<div className="text-muted flex justify-center space-x-3 text-sm">
<p>{props.blog.date}</p>
diff --git a/apps/www/pages/aws-reinvent-2025.tsx b/apps/www/pages/aws-reinvent-2025.tsx
index 5d6ae07bd66..af21a2cb29a 100644
--- a/apps/www/pages/aws-reinvent-2025.tsx
+++ b/apps/www/pages/aws-reinvent-2025.tsx
@@ -48,7 +48,7 @@ const AWSReInvent2025: NextPage = () => {
<ul className="space-y-3 mb-8">
{data.consultationSection.features.map((feature, idx) => (
<li key={idx} className="flex items-start gap-3">
- <CheckCircle className="size-4 lg:size-5 text-brand mt-1 lg:mt-0.5 shrink-0" />
+ <CheckCircle className="size-4 lg:size-5 text-primary mt-1 lg:mt-0.5 shrink-0" />
<span className="text-foreground-light">{feature}</span>
</li>
))}
diff --git a/apps/www/pages/beta.tsx b/apps/www/pages/beta.tsx
index 65117376c28..4abd8f5cf36 100644
--- a/apps/www/pages/beta.tsx
+++ b/apps/www/pages/beta.tsx
@@ -116,7 +116,7 @@ const Hero = (props: Props) => {
<div className="col-span-12 text-foreground md:col-span-9 lg:col-span-8 xl:col-span-6">
<p className="mb-10 text-4xl">Supabase is the Postgres development platform.</p>
<p className="text-2xl">
- Today, we're moving to <span className="text-brand">Beta</span>
+ Today, we're moving to <span className="text-primary">Beta</span>
</p>
<time itemProp="datePublished" dateTime="2020-12-03" className="text-sm opacity-80">
Published December 3rd, 2020
@@ -137,7 +137,7 @@ const Introduction = () => {
<a
href="https://news.ycombinator.com/item?id=23319901"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Alpha
</a>{' '}
@@ -152,7 +152,7 @@ const Introduction = () => {
<a
href="/blog/2020/12/02/case-study-xendit"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Xendit
</a>
@@ -160,7 +160,7 @@ const Introduction = () => {
<a
href="/blog/2020/12/02/case-study-monitoro"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Monitoro
</a>
@@ -168,7 +168,7 @@ const Introduction = () => {
<a
href="/blog/2020/12/02/case-study-tayfa"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
TAYFA
</a>{' '}
@@ -221,7 +221,7 @@ const TableOfContents = (props: any) => {
<div className="container grid grid-cols-12 gap-4 px-8 py-20 mx-auto lg:px-28">
<div className="col-span-12 mb-10 text-base">
<p className="text-2xl text-foreground">
- Supabase <span className="text-brand">Beta</span> is starting now.
+ Supabase <span className="text-primary">Beta</span> is starting now.
</p>
</div>
<div className="grid grid-cols-12 col-span-12 gap-y-10">
@@ -346,7 +346,7 @@ const Performance = () => {
<a
href="https://elixir-lang.org/"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Elixir
</a>{' '}
@@ -354,7 +354,7 @@ const Performance = () => {
<a
href="https://github.com/supabase/realtime"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Realtime engine
</a>
@@ -362,7 +362,7 @@ const Performance = () => {
<a
href="https://postgrest.org/en/v7.0.0/"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
PostgREST
</a>{' '}
@@ -374,7 +374,7 @@ const Performance = () => {
<a
href="https://github.com/supabase/benchmarks/"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
benchmarks
</a>{' '}
@@ -444,7 +444,11 @@ const Security = () => {
</li>
<li className="mb-5">
Adopted the{' '}
- <a href="https://snyk.io/" target="_blank" className="text-brand hover:text-brand">
+ <a
+ href="https://snyk.io/"
+ target="_blank"
+ className="text-primary hover:text-primary"
+ >
Snyk
</a>{' '}
dependency monitor as part of our SSDLC on several key component of our system, to
@@ -456,7 +460,7 @@ const Security = () => {
<a
href="https://github.com/PostgREST/postgrest/pull/1600#issuecomment-735257952"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
now uses
</a>{' '}
@@ -502,7 +506,7 @@ const Reliability = () => {
<a
href="https://status.supabase.com"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
https://status.supabase.com
</a>{' '}
@@ -544,7 +548,7 @@ const NewFeaturesAndIntegrations = () => {
<a
href="/docs/reference/javascript/auth-signup"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
JavaScript
</a>{' '}
@@ -552,7 +556,7 @@ const NewFeaturesAndIntegrations = () => {
<a
href="/docs/guides/auth/architecture#client-layer"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
HTTP
</a>
@@ -572,7 +576,7 @@ const NewFeaturesAndIntegrations = () => {
<a
href="/docs/guides/client-libraries#realtime-changes"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
subscribe to changes in your database
</a>{' '}
@@ -589,7 +593,7 @@ const NewFeaturesAndIntegrations = () => {
<a
href="/docs/reference/javascript/select?example=query-referenced-tables"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
querying from multiple tables
</a>{' '}
@@ -597,7 +601,7 @@ const NewFeaturesAndIntegrations = () => {
<a
href="/docs/reference/javascript/rpc"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
invoke complex functions
</a>
@@ -680,7 +684,7 @@ const BetaPricing = () => (
<a
href="mailto:[email protected]"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
</a>
@@ -693,7 +697,7 @@ const BetaPricing = () => (
</ul>
<p>
The Supabase Base plan is now called the Supabase Pro Plan as per the{' '}
- <a href="https://supabase.com/pricing" className="text-brand hover:text-brand">
+ <a href="https://supabase.com/pricing" className="text-primary hover:text-primary">
pricing page
</a>
.
@@ -724,7 +728,7 @@ const OpenSource = () => (
<a
href="https://github.com/sponsors/supabase/"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
sponsorship
</a>{' '}
@@ -736,7 +740,7 @@ const OpenSource = () => (
<a
href="/blog/2020/12/02/supabase-striveschool"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
partnering with Strive School
</a>{' '}
@@ -749,7 +753,7 @@ const OpenSource = () => (
<a
href="mailto:[email protected]"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
</a>{' '}
@@ -760,7 +764,7 @@ const OpenSource = () => (
<a
href="https://github.com/supabase"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
our GitHub.
</a>{' '}
@@ -796,7 +800,7 @@ const FundingPartners = () => (
<a
href="https://twitter.com/supabase"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
Twitter
</a>{' '}
@@ -833,7 +837,7 @@ const ScalingOurTeam = () => (
<a
href="mailto:[email protected]"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
</a>
@@ -891,7 +895,7 @@ const WhatsNext = () => (
<a
href="mailto:[email protected]"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
</a>{' '}
@@ -899,7 +903,7 @@ const WhatsNext = () => (
<a
href="https://github.com/supabase/supabase/discussions"
target="_blank"
- className="text-brand hover:text-brand"
+ className="text-primary hover:text-primary"
>
discussion
</a>{' '}
diff --git a/apps/www/pages/brand-assets.tsx b/apps/www/pages/brand-assets.tsx
index 4a9844fb9c5..e9dc514accb 100644
--- a/apps/www/pages/brand-assets.tsx
+++ b/apps/www/pages/brand-assets.tsx
@@ -91,7 +91,7 @@ const Index = () => {
<p className="text-foreground-lighter text-sm">
When building a{' '}
<Link
- className="text-brand underline"
+ className="text-primary underline"
href="/docs/guides/platform/oauth-apps/build-a-supabase-integration"
>
Supabase Integration
diff --git a/apps/www/pages/careers.tsx b/apps/www/pages/careers.tsx
index 89ccd7085b9..0f92d2e5d43 100644
--- a/apps/www/pages/careers.tsx
+++ b/apps/www/pages/careers.tsx
@@ -134,7 +134,7 @@ const CareerPage = ({
<DefaultLayout>
<header>
<SectionContainer className="pt-12 pb-8! lg:pt-24 py-0 text-center space-y-4">
- <h1 className="text-sm text-brand md:text-base">
+ <h1 className="text-sm text-primary md:text-base">
<span className="sr-only">Supabase </span>Careers
</h1>
<h2 className="text-3xl md:text-4xl xl:text-5xl lg:max-w-2xl xl:max-w-3xl lg:mx-auto tracking-[-1px]">
diff --git a/apps/www/pages/contact-us.tsx b/apps/www/pages/contact-us.tsx
index 1bd9b6456c1..33b6ea80498 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 hover:underline"
+ className="inline-block mt-2 lg:mt-3 font-mono text-base lg:text-lg text-primary hover:underline"
>
{email}
</a>
@@ -87,7 +87,7 @@ const ContactUs = ({}: Props) => {
description={
<>
To report suspected violations of our{' '}
- <Link href="/aup" className="text-brand hover:underline">
+ <Link href="/aup" className="text-primary 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 hover:underline"
+ className="inline-block font-mono text-base lg:text-lg text-primary hover:underline"
>
</a>
diff --git a/apps/www/pages/customers/[slug].tsx b/apps/www/pages/customers/[slug].tsx
index 7455192f142..fd3988516a2 100644
--- a/apps/www/pages/customers/[slug].tsx
+++ b/apps/www/pages/customers/[slug].tsx
@@ -150,7 +150,7 @@ function CaseStudyPage(props: any) {
<div className="flex flex-col gap-4 sm:gap-8 max-w-xxl">
<Link
href="/customers"
- className="text-brand hover:text-brand-600 sm:mb-2 mt-0"
+ className="text-primary hover:text-brand-600 sm:mb-2 mt-0"
>
Customer Stories
</Link>
diff --git a/apps/www/pages/events/[slug].tsx b/apps/www/pages/events/[slug].tsx
index 106be659865..651bfbb67ff 100644
--- a/apps/www/pages/events/[slug].tsx
+++ b/apps/www/pages/events/[slug].tsx
@@ -284,8 +284,8 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
<div className="h-full flex flex-col justify-between">
<div className="flex flex-col gap-2 md:gap-3 items-start mb-8">
<div className="flex flex-row text-sm items-center flex-wrap">
- <Icon className="hidden sm:inline-block w-4 h-4 text-brand mr-2" />
- <span className="uppercase text-brand font-mono">
+ <Icon className="hidden sm:inline-block w-4 h-4 text-primary mr-2" />
+ <span className="uppercase text-primary font-mono">
{event.type_label ?? event.type}
</span>
<span className="mx-3 px-3 border-x">
diff --git a/apps/www/pages/regions.tsx b/apps/www/pages/regions.tsx
index 23ef0346d59..0e63c268aaa 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 hover:underline">
+ <Link href="/go/byoc-early-access" className="text-primary hover:underline">
Ask about early access to BYOC
</Link>
.
diff --git a/apps/www/pages/solutions/innovation-teams.tsx b/apps/www/pages/solutions/innovation-teams.tsx
index 0777a4904fa..29e2fdb13ac 100644
--- a/apps/www/pages/solutions/innovation-teams.tsx
+++ b/apps/www/pages/solutions/innovation-teams.tsx
@@ -83,7 +83,7 @@ const InnovationTeams: NextPage = () => {
{data.aiBuilderEcosystem.builders.map(
(builder: { name: string; description: string }) => (
<li key={builder.name} className="flex gap-3">
- <Check className="w-5 h-5 text-brand mt-0.5 shrink-0" />
+ <Check className="w-5 h-5 text-primary mt-0.5 shrink-0" />
<div>
<span className="text-foreground font-medium">{builder.name}</span>
<span className="text-foreground-lighter">: {builder.description}</span>
diff --git a/apps/www/pages/state-of-startups-2025.tsx b/apps/www/pages/state-of-startups-2025.tsx
index f0b7b7ca99d..5f2586b8d0b 100644
--- a/apps/www/pages/state-of-startups-2025.tsx
+++ b/apps/www/pages/state-of-startups-2025.tsx
@@ -151,8 +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 hover:bg-brand-300/25',
- chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-brand'
+ 'block px-6 py-2 text-xs transition-colors font-mono uppercase tracking-wider text-center text-foreground-light hover:text-primary hover:bg-brand-300/25',
+ chapterIndex + 1 === activeChapter && 'bg-brand-300/40 text-primary'
)}
>
{chapter.shortTitle}
@@ -204,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 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-primary 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}
@@ -277,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 transition-colors"
+ className="text-xs md:text-sm font-mono text-center tracking-widest uppercase text-foreground-lighter hover:text-primary transition-colors"
>
{participant.company}
</Link>
diff --git a/apps/www/pages/support.tsx b/apps/www/pages/support.tsx
index 0aee149d2e3..30e3137d6ad 100644
--- a/apps/www/pages/support.tsx
+++ b/apps/www/pages/support.tsx
@@ -49,7 +49,7 @@ const Index = () => {
<DefaultLayout className="min-h-fit!">
<div className="bg-alternative">
<SectionContainerWithCn className="space-y-2 text-center">
- <h1 className="text-brand font-mono text-base uppercase tracking-widest">
+ <h1 className="text-primary font-mono text-base uppercase tracking-widest">
{data.hero.h1}
</h1>
<p className="h1 tracking-[-1px]">{data.hero.title}</p>
diff --git a/apps/www/styles/globals.css b/apps/www/styles/globals.css
index 0eb58785337..d7d730b0642 100644
--- a/apps/www/styles/globals.css
+++ b/apps/www/styles/globals.css
@@ -264,7 +264,7 @@ h6:not(.overwrite) {
}
.toc-animate {
- @apply translate-x-1! text-brand!;
+ @apply translate-x-1! text-primary!;
}
.prose-toc a {
diff --git a/packages/config/css/theme.css b/packages/config/css/theme.css
index 553f69c935c..a93a6b5e121 100644
--- a/packages/config/css/theme.css
+++ b/packages/config/css/theme.css
@@ -74,8 +74,8 @@
--color-brand-400: hsl(var(--brand-400));
--color-brand-500: hsl(var(--brand-500));
--color-brand-600: hsl(var(--brand-600));
- /* text-brand uses accessible --primary; fills use brand-default. */
- --color-brand: var(--primary);
+ /* Alias leftover bg-brand / border-brand to the bright fill. Prefer brand-default / primary. */
+ --color-brand: hsl(var(--brand-default));
--color-brand-default: hsl(var(--brand-default));
--color-_secondary-200: hsl(var(--secondary-200));
--color-_secondary-400: hsl(var(--secondary-400));
diff --git a/packages/dev-tools/DevToolbar.tsx b/packages/dev-tools/DevToolbar.tsx
index 287ad47549e..1c506b0c57a 100644
--- a/packages/dev-tools/DevToolbar.tsx
+++ b/packages/dev-tools/DevToolbar.tsx
@@ -91,7 +91,7 @@ function EventRow({ event }: { event: DevTelemetryEvent }) {
<span
className={cn(
'font-mono text-xs uppercase',
- event.source === 'client' ? 'text-brand' : 'text-foreground-light'
+ event.source === 'client' ? 'text-primary' : 'text-foreground-light'
)}
>
{event.source}
diff --git a/packages/marketing/src/forms/MarketingForm.tsx b/packages/marketing/src/forms/MarketingForm.tsx
index ab596317c4a..c16d982c959 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 [&_a]:decoration-brand">
+ <div className="text-xs text-foreground-lighter leading-relaxed [&_a]:text-primary [&_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 791c991e675..0697c44d78e 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 uppercase font-mono tracking-wider">
+ <p className="text-sm text-primary 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 3fe1e58e69a..a583c1c6064 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 prose-a:decoration-brand 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-primary prose-a:decoration-brand max-w-none">
<ReactMarkdown components={components}>{section.content}</ReactMarkdown>
</article>
)
diff --git a/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx b/packages/ui-patterns/src/Admonition/AdmonitionIcons.tsx
index e2dee6783e9..f19c70a4354 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 bg-brand-default dark:bg-brand-500/50',
+ success: 'text-white dark:text-primary 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/AssistantChat/AssistantCommandsPopover.tsx b/packages/ui-patterns/src/AssistantChat/AssistantCommandsPopover.tsx
index 8ef147cb66c..ebefa1a4631 100644
--- a/packages/ui-patterns/src/AssistantChat/AssistantCommandsPopover.tsx
+++ b/packages/ui-patterns/src/AssistantChat/AssistantCommandsPopover.tsx
@@ -210,7 +210,7 @@ const AssistantCommandsPopover = forwardRef<
// closing of the popover is handled by the keydown event in AssistantChatForm
}}
>
- <span className="text-brand">/</span>
+ <span className="text-primary">/</span>
<span className="text-default">{command}</span>
</CommandItem>
))}
diff --git a/packages/ui-patterns/src/Chart/index.tsx b/packages/ui-patterns/src/Chart/index.tsx
index e6237fc8b29..bce8fb58749 100644
--- a/packages/ui-patterns/src/Chart/index.tsx
+++ b/packages/ui-patterns/src/Chart/index.tsx
@@ -528,7 +528,7 @@ const ChartValueDifferential = React.forwardRef<HTMLDivElement, ChartValueDiffer
ref={ref}
className={cn(
variant === 'positive'
- ? 'text-brand'
+ ? 'text-primary'
: variant === 'negative'
? 'text-destructive'
: 'text-foreground-light',
diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
index e012d265901..1f4bebecf5f 100644
--- a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
@@ -258,7 +258,7 @@ function AiMessages({ messages }: { messages: Array<Message> }) {
href={source.url}
target="_blank"
rel="noopener noreferrer"
- className="text-sm text-brand hover:underline"
+ className="text-sm text-primary hover:underline"
>
{source.url}
</a>
diff --git a/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx b/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
index 2243999342e..8ba5f00e8fc 100644
--- a/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
+++ b/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
@@ -191,7 +191,7 @@ export const TextConfirmModal = forwardRef<
className="h-[23px] px-1.5 py-0 border-muted text-sm whitespace-pre break-all"
iconRight={
showCopied ? (
- <Check strokeWidth={2} className="text-brand" />
+ <Check strokeWidth={2} className="text-primary" />
) : (
<Copy />
)
diff --git a/packages/ui-patterns/src/GlassPanel/index.tsx b/packages/ui-patterns/src/GlassPanel/index.tsx
index d4c62473863..3be7363141e 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 justify-end text-sm">Learn more</span>}
+ {showLink && <span className="text-primary 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 31ab7eff76f..6a07b672f3f 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 hover:underline"
+ className="text-primary 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 ef3fa0d8e3b..de25f87dbc0 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 hover:underline inline-flex items-center"
+ className="text-primary 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 hover:underline inline-flex items-center"
+ className="text-primary 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/MetricCard/index.tsx b/packages/ui-patterns/src/MetricCard/index.tsx
index 03dc22514d6..45fb432c80b 100644
--- a/packages/ui-patterns/src/MetricCard/index.tsx
+++ b/packages/ui-patterns/src/MetricCard/index.tsx
@@ -202,7 +202,7 @@ const MetricCardDifferential = React.forwardRef<HTMLDivElement, MetricCardDiffer
ref={ref}
className={cn(
variant === 'positive'
- ? 'text-brand'
+ ? 'text-primary'
: variant === 'negative'
? 'text-destructive'
: 'text-foreground-light',
diff --git a/packages/ui-patterns/src/Toc/toc.tsx b/packages/ui-patterns/src/Toc/toc.tsx
index 2aa299244c9..d8c2322eb98 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 transition-colors py-1 wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-foreground',
+ 'text-foreground-lighter hover:text-primary 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/src/components/CustomHTMLElements/CustomHTMLElements.utils.ts b/packages/ui/src/components/CustomHTMLElements/CustomHTMLElements.utils.ts
index 082e2a1c7f6..b77b89a4a33 100644
--- a/packages/ui/src/components/CustomHTMLElements/CustomHTMLElements.utils.ts
+++ b/packages/ui/src/components/CustomHTMLElements/CustomHTMLElements.utils.ts
@@ -107,13 +107,13 @@ export const highlightSelectedNavItem = (id: string) => {
const navMenuItems = document.querySelectorAll<HTMLAnchorElement>('.function-link-item a')
// find any currently active items and remove them
- const currentActiveItems = document.querySelectorAll('.function-link-list .text-brand')
- currentActiveItems.forEach((item) => item.classList.remove('text-brand'))
+ const currentActiveItems = document.querySelectorAll('.function-link-list .text-primary')
+ currentActiveItems.forEach((item) => item.classList.remove('text-primary'))
// Add active class to the current item
navMenuItems.forEach((item) => {
if (item.href.split('/').at(-1) === id) {
- item.classList.add('text-brand')
+ item.classList.add('text-primary')
}
})
}
diff --git a/packages/ui/src/lib/tailwind-demo-classes.ts b/packages/ui/src/lib/tailwind-demo-classes.ts
index 278492255d9..5d2f6aecaa0 100644
--- a/packages/ui/src/lib/tailwind-demo-classes.ts
+++ b/packages/ui/src/lib/tailwind-demo-classes.ts
@@ -39,7 +39,7 @@ export default {
'text-contrast',
'text-destructive',
'text-warning',
- 'text-brand',
+ 'text-primary',
],
colors: [
'bg-destructive-200',