Skip to content

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

chore: update old `brand-700` to new `brand-400`

Jonathan Summers-Muir2b3d49af3b36
diff --git a/apps/docs/components/reference/OldVersionAlert.tsx b/apps/docs/components/reference/OldVersionAlert.tsx
index a9c04d535d8..4a5a601966a 100644
--- a/apps/docs/components/reference/OldVersionAlert.tsx
+++ b/apps/docs/components/reference/OldVersionAlert.tsx
@@ -27,7 +27,7 @@ const OldVersionAlert = ({ sections }: OldVersionAlertProps) => {
You're viewing an older version of this library.
<br />
<Link href={latestVersionUrl}>
- <a className="underline decoration-brand-700 underline-offset-4 decoration-1">
+ <a className="underline decoration-brand-400 underline-offset-4 decoration-1">
Switch to the latest
</a>
</Link>
diff --git a/apps/www/components/Button.tsx b/apps/www/components/Button.tsx
index 40730032717..549409500a4 100644
--- a/apps/www/components/Button.tsx
+++ b/apps/www/components/Button.tsx
@@ -13,8 +13,8 @@ const Button = (props: Props) => {
const colorClass =
type === 'primary'
- ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-700 hover:bg-brand-300 focus:ring-2 focus:ring-offset-2 focus:ring-brand-300'
- : 'text-brand-700 bg-none'
+ ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-400 hover:bg-brand-300 focus:ring-2 focus:ring-offset-2 focus:ring-brand-300'
+ : 'text-brand-400 bg-none'
const textClass = type === 'primary' ? 'font-medium left-3 group-hover:left-0' : 'font-normal'
diff --git a/apps/www/components/Nav/Company.tsx b/apps/www/components/Nav/Company.tsx
index d7c21238697..3332c475b76 100644
--- a/apps/www/components/Nav/Company.tsx
+++ b/apps/www/components/Nav/Company.tsx
@@ -82,7 +82,7 @@ const Company = () => {
<div className="mt-6 text-sm font-medium">
<a
href="/blog"
- className="dark:text-brand dark:hover:text-brand-700 text-gray-600 transition duration-150 ease-in-out hover:text-gray-500"
+ className="dark:text-brand dark:hover:text-brand-400 text-gray-600 transition duration-150 ease-in-out hover:text-gray-500"
>
View all posts <span aria-hidden="true">&rarr;</span>
</a>
diff --git a/packages/ui/src/components/Breadcrumb/Breadcrumb.module.css b/packages/ui/src/components/Breadcrumb/Breadcrumb.module.css
index 60a6ec4e374..6296701e328 100644
--- a/packages/ui/src/components/Breadcrumb/Breadcrumb.module.css
+++ b/packages/ui/src/components/Breadcrumb/Breadcrumb.module.css
@@ -10,11 +10,11 @@
.sbui-breadcrumb--item {
@apply text-gray-500 hover:text-gray-600;
@apply cursor-pointer;
- @apply dark:text-dark-200 dark:hover:text-brand-700;
+ @apply dark:text-dark-200 dark:hover:text-brand-400;
}
.sbui-breadcrumb--item__active {
- @apply text-brand-700 dark:text-brand-700;
+ @apply text-brand-400 dark:text-brand-400;
}
.sbui-breadcrumb--separator {
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index 3997786a9ea..a0afcf80f5e 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -54,7 +54,7 @@ const buttonVariants = cva(
text-brand-1100
bg-brand-200 hover:bg-brand-400
border-brand-600 hover:border-brand-300
- dark:border-brand-700 hover:dark:border-brand-300
+ dark:border-brand-400 hover:dark:border-brand-300
focus-visible:border-brand-300
focus-visible:outline-brand-600
shadow-sm`,
diff --git a/packages/ui/src/components/Checkbox/Checkbox.module.css b/packages/ui/src/components/Checkbox/Checkbox.module.css
index 1139bc4136f..a955fe0b51d 100644
--- a/packages/ui/src/components/Checkbox/Checkbox.module.css
+++ b/packages/ui/src/components/Checkbox/Checkbox.module.css
@@ -27,8 +27,8 @@
}
.sbui-checkbox[type='checkbox']:checked {
- @apply dark:bg-brand-700;
- @apply bg-brand-700;
+ @apply dark:bg-brand-400;
+ @apply bg-brand-400;
border-color: transparent;
background-size: 100% 100%;
background-position: center;
@@ -38,7 +38,7 @@
/* .sbui-checkbox {
@apply border border-solid rounded;
- @apply text-brand-700 border-gray-300 transition-all;
+ @apply text-brand-400 border-gray-300 transition-all;
@apply hover:border-brand-300 focus:ring-brand-300 focus:outline-none;
@apply dark:bg-transparent dark:border-dark-400 dark:text-white;
diff --git a/packages/ui/src/components/Form/examples/AuthForm.tsx b/packages/ui/src/components/Form/examples/AuthForm.tsx
index b64e5d18614..1b4987e2387 100644
--- a/packages/ui/src/components/Form/examples/AuthForm.tsx
+++ b/packages/ui/src/components/Form/examples/AuthForm.tsx
@@ -338,7 +338,7 @@ const AuthForm = () => {
</div>
<div className="flex items-center gap-3">
{active ? (
- <div className="bg-brand-200 border-brand-700 text-brand flex items-center gap-1 rounded-full border py-1 px-1 text-xs">
+ <div className="bg-brand-200 border-brand-400 text-brand flex items-center gap-1 rounded-full border py-1 px-1 text-xs">
<span className="bg-brand text-brand-200 rounded-full p-0.5 text-xs">
<IconCheck strokeWidth={2} size={12} />
</span>
diff --git a/packages/ui/src/components/Modal/Modal.stories.tsx b/packages/ui/src/components/Modal/Modal.stories.tsx
index 863c71ddef9..218bc53277f 100644
--- a/packages/ui/src/components/Modal/Modal.stories.tsx
+++ b/packages/ui/src/components/Modal/Modal.stories.tsx
@@ -147,7 +147,7 @@ export const Default = (args: any) => (
{...args}
header={
<div className="flex items-center gap-2 text-scale-1200">
- <div className="text-brand-700">
+ <div className="text-brand-400">
<IconLink2 />
</div>
<div className="flex items-baseline gap-2">
diff --git a/packages/ui/src/components/Radio/Radio.module.css b/packages/ui/src/components/Radio/Radio.module.css
index 1f235aa5b0b..79a393d9617 100644
--- a/packages/ui/src/components/Radio/Radio.module.css
+++ b/packages/ui/src/components/Radio/Radio.module.css
@@ -43,9 +43,9 @@
@apply h-4 w-4 ml-0 mr-3.5 rounded-2xl border border-solid transition-all;
@apply text-brand-600 cursor-pointer border-gray-500;
- @apply focus:ring-brand-300 hover:border-brand-700 focus:outline-none;
+ @apply focus:ring-brand-300 hover:border-brand-400 focus:outline-none;
- @apply dark:bg-transparent dark:hover:border-brand-700;
+ @apply dark:bg-transparent dark:hover:border-brand-400;
} */
/* .sbui-radio:checked {
diff --git a/packages/ui/src/components/Tabs/Tabs.module.css b/packages/ui/src/components/Tabs/Tabs.module.css
index 9769765d554..f5cc40ac1ff 100644
--- a/packages/ui/src/components/Tabs/Tabs.module.css
+++ b/packages/ui/src/components/Tabs/Tabs.module.css
@@ -12,7 +12,7 @@
}
.sbui-tab-button-underline--active {
- @apply border-brand-700;
+ @apply border-brand-400;
@apply rounded-none;
@apply text-gray-600;
@apply dark:text-white;
diff --git a/packages/ui/src/components/Typography/Link.module.css b/packages/ui/src/components/Typography/Link.module.css
index afc0911abfc..448eb19b3f4 100644
--- a/packages/ui/src/components/Typography/Link.module.css
+++ b/packages/ui/src/components/Typography/Link.module.css
@@ -1,3 +1,3 @@
a.sbui-typography-link {
- @apply text-sm text-brand-700 dark:text-brand-700 cursor-pointer;
+ @apply text-sm text-brand-400 dark:text-brand-400 cursor-pointer;
}
diff --git a/packages/ui/src/components/shadcn/ui/badge.tsx b/packages/ui/src/components/shadcn/ui/badge.tsx
index 6846cabce76..cccbca72050 100644
--- a/packages/ui/src/components/shadcn/ui/badge.tsx
+++ b/packages/ui/src/components/shadcn/ui/badge.tsx
@@ -9,7 +9,7 @@ const badgeVariants = cva(
variants: {
variant: {
default: 'bg-surface-200 text-light border border-scale-700',
- brand: 'bg-brand-200 text-brand-primary border border-brand-700',
+ brand: 'bg-brand-200 text-brand-primary border border-brand-400',
secondary:
'bg-secondary hover:bg-secondary/80 border-transparent text-secondary-foreground',
destructive: 'bg-destructive-400 text-destructive border border-destructive-300',
@@ -56,7 +56,7 @@ const badgeVariants = cva(
// },
// dot: '-ml-0.5 mr-1.5 h-2 w-2 rounded-full',
// color: {
-// brand: 'bg-brand-200 text-brand-1100 border border-brand-700',
+// brand: 'bg-brand-200 text-brand-1100 border border-brand-400',
// scale: 'bg-scale-200 text-scale-1100 border border-scale-700',
// tomato: `bg-tomato-200 text-tomato-1100 border border-tomato-700`,
// red: `bg-red-200 text-red-1100 border border-red-700`,
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index 25782badb7e..2779aa37be4 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -216,7 +216,7 @@ export default {
},
dot: '-ml-0.5 mr-1.5 h-2 w-2 rounded-full',
color: {
- brand: 'bg-brand-200 text-brand-1100 border border-brand-700',
+ brand: 'bg-brand-200 text-brand-1100 border border-brand-400',
scale: 'bg-scale-200 text-scale-1100 border border-scale-700',
tomato: `bg-tomato-200 text-tomato-1100 border border-tomato-700`,
red: `bg-red-200 text-red-1100 border border-red-700`,
@@ -269,7 +269,7 @@ export default {
description: `text-scale-1100`,
},
success: {
- base: `bg-brand-300 dark:bg-brand-100 border-brand-700`,
+ base: `bg-brand-300 dark:bg-brand-100 border-brand-400`,
icon: `text-brand`,
header: `text-brand-1200`,
description: `text-brand-1100`,
diff --git a/studio/.storybook/preview.css b/studio/.storybook/preview.css
index 7232a33ea5d..7838b9a4816 100644
--- a/studio/.storybook/preview.css
+++ b/studio/.storybook/preview.css
@@ -89,7 +89,7 @@
}
.react-datepicker__day--in-selecting-range {
- @apply bg-brand-700 text-scale-fixed-100 border-brand-700;
+ @apply bg-brand-400 text-scale-fixed-100 border-brand-400;
}
.react-datepicker__day--selecting-range-start {
diff --git a/studio/components/grid/components/header/Header.tsx b/studio/components/grid/components/header/Header.tsx
index 80f32781146..029dd615bda 100644
--- a/studio/components/grid/components/header/Header.tsx
+++ b/studio/components/grid/components/header/Header.tsx
@@ -192,7 +192,7 @@ const DefaultHeader = ({
<IconFileText className="-translate-x-[2px]" />
<IconArrowUp
className={clsx(
- 'transition duration-200 absolute bottom-0 right-0 translate-y-1 opacity-0 bg-brand-700 rounded-full',
+ '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'
)}
strokeWidth={3}
diff --git a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index 2107aac22b7..72177f07f78 100644
--- a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -104,7 +104,7 @@ const ProviderForm = ({ provider }: ProviderFormProps) => {
</div>
<div className="flex items-center gap-3">
{isActive ? (
- <div className="flex items-center gap-1 rounded-full border border-brand-700 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-brand">
<span className="rounded-full bg-brand p-0.5 text-xs text-brand-200">
<IconCheck strokeWidth={2} size={12} />
</span>
diff --git a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
index 723a9108f3f..dc7e4cd26cc 100644
--- a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
+++ b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
@@ -176,7 +176,7 @@ const UpgradingState = () => {
/>
</div>
) : isCompleted ? (
- <div className="flex items-center justify-center w-5 h-5 border rounded-full bg-brand-300 border-brand-700">
+ <div className="flex items-center justify-center w-5 h-5 border rounded-full bg-brand-300 border-brand-400">
<IconCheck size={12} className="text-white" strokeWidth={2} />
</div>
) : (
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
index 2f7227836d3..fa14c67cd88 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
@@ -13,7 +13,7 @@ const FileExplorerHeaderSelection = () => {
} = storageExplorerStore
return (
- <div className="z-10 flex h-[40px] items-center rounded-t-md bg-brand-700 px-2 py-1 shadow dark:bg-brand-600">
+ <div className="z-10 flex h-[40px] items-center rounded-t-md bg-brand-400 px-2 py-1 shadow dark:bg-brand-600">
<Button
icon={<IconX size={16} strokeWidth={2} />}
type="text"
diff --git a/studio/styles/date-picker.scss b/studio/styles/date-picker.scss
index 0764165de06..491e5a5e1f8 100644
--- a/studio/styles/date-picker.scss
+++ b/studio/styles/date-picker.scss
@@ -77,7 +77,7 @@
}
.react-datepicker__day--in-selecting-range {
- @apply bg-brand-700 text-scale-fixed-100 border-brand-700;
+ @apply bg-brand-400 text-scale-fixed-100 border-brand-400;
}
.react-datepicker__day--selecting-range-start {