The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update old `brand-800` to new `brand-500`
Jonathan Summers-Muire92931390c1c
diff --git a/apps/docs/layouts/tutorials/TutorialLayout.tsx b/apps/docs/layouts/tutorials/TutorialLayout.tsxindex 3c9877e6761..be494c2aa33 100644--- a/apps/docs/layouts/tutorials/TutorialLayout.tsx+++ b/apps/docs/layouts/tutorials/TutorialLayout.tsx@@ -64,7 +64,7 @@ const Layout: FC<Props> = (props: Props) => {<p className="text-brand tracking-wider">Tutorials</p><article className={['prose dark:prose-dark ', 'max-w-none'].join(' ')}><h1>{props.meta.title}</h1>- <div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-800 to-brand my-16"></div>+ <div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-500 to-brand my-16"></div><MDXProvider components={components} children={props.children} /></article>diff --git a/apps/docs/pages/reference/cli/config.tsx b/apps/docs/pages/reference/cli/config.tsxindex 1d7e448b234..29a4ab5f4a3 100644--- a/apps/docs/pages/reference/cli/config.tsx+++ b/apps/docs/pages/reference/cli/config.tsx@@ -29,7 +29,7 @@ export default function Config() {<div className="relative col-span-12 md:col-span-9 transition-all ease-out duration-100"><div className="w-full prose"><h1 className="">CLI configuration</h1>- <div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-800 to-brand my-8"></div>+ <div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-500 to-brand my-8"></div><ReactMarkdown>{specFile.info.description}</ReactMarkdown><div>{TAGS.map((tag) =>diff --git a/apps/www/components/Button.tsx b/apps/www/components/Button.tsxindex babd6994b7f..1b5938ed997 100644--- a/apps/www/components/Button.tsx+++ b/apps/www/components/Button.tsx@@ -13,7 +13,7 @@ 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-800 focus:ring-2 focus:ring-offset-2 focus:ring-brand-500'+ ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-700 hover:bg-brand-500 focus:ring-2 focus:ring-offset-2 focus:ring-brand-500': 'text-brand-700 bg-none'const textClass = type === 'primary' ? 'font-medium left-3 group-hover:left-0' : 'font-normal'diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsxindex e8ad79db017..2facb71cf43 100644--- a/apps/www/components/Nav/index.tsx+++ b/apps/www/components/Nav/index.tsx@@ -299,7 +299,7 @@ const Nav = () => {className="hidden group lg:flex"type="text"icon={- <div className="flex items-center justify-center w-4 h-4 text-brand-800">+ <div className="flex items-center justify-center w-4 h-4 text-brand-500"><divclassName={[`text-scale-900 flex h-3 w-3 items-center justify-centerdiff --git a/apps/www/components/ProductIcon.tsx b/apps/www/components/ProductIcon.tsxindex 59288f247dc..f5c39baae9c 100644--- a/apps/www/components/ProductIcon.tsx+++ b/apps/www/components/ProductIcon.tsx@@ -9,7 +9,7 @@ function ProductIcon({ icon, color }: ProductIcon) {className={['inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md',!color || color === 'black' ? 'bg-scale-1200 text-scale-100' : '',- color && color === 'green' ? 'bg-brand-800 dark:bg-brand-600 text-brand-100' : '',+ color && color === 'green' ? 'bg-brand-500 dark:bg-brand-600 text-brand-100' : '',].join(' ')}><svgdiff --git a/apps/www/pages/beta.tsx b/apps/www/pages/beta.tsxindex bec142fdab7..f737449fe70 100644--- a/apps/www/pages/beta.tsx+++ b/apps/www/pages/beta.tsx@@ -313,7 +313,7 @@ const Performance = () => {<Barcolor={stat.name === 'Supabase'- ? 'bg-brand dark:bg-brand-800'+ ? 'bg-brand dark:bg-brand-500': 'bg-brand-300 dark:bg-brand-400'}finalPercentage={Math.ceil((stat.value / maxValue) * 100)}diff --git a/apps/www/pages/careers/index.tsx b/apps/www/pages/careers/index.tsxindex d6acf681121..d734e3eb9c6 100644--- a/apps/www/pages/careers/index.tsx+++ b/apps/www/pages/careers/index.tsx@@ -445,10 +445,10 @@ const CareerPage: NextPage = ({ jobs, contributors }: any) => {className="flex lg:block items-start space-x-6 lg:space-x-0 lg:w-full"><div className="lg:flex items-center">- <h3 className="bg-brand-600 border-[1px] border-brand-800 text-brand text-md text-center w-[44px] px-2 py-1.5 rounded-md">+ <h3 className="bg-brand-600 border-[1px] border-brand-500 text-brand text-md text-center w-[44px] px-2 py-1.5 rounded-md">{i + 1}</h3>- <div className="h-[100px] w-[1px] sm:h-[100px] mx-auto lg:h-[1px] lg:w-full bg-brand-800 lg:pr-6"></div>+ <div className="h-[100px] w-[1px] sm:h-[100px] mx-auto lg:h-[1px] lg:w-full bg-brand-500 lg:pr-6"></div></div><div className="lg:mt-6"><h2 className="sm:text-lg max-w-[75%] xl:max-w-none xl:w-11/12 lg:max-w-none">@@ -461,7 +461,7 @@ const CareerPage: NextPage = ({ jobs, contributors }: any) => {</div>)})}- <h3 className="bg-brand-600 border-[1px] border-brand-800 text-brand text-xl w-[44px] min-h-[40px] px-2 py-1 rounded-md grid justify-items-center items-center">+ <h3 className="bg-brand-600 border-[1px] border-brand-500 text-brand text-xl w-[44px] min-h-[40px] px-2 py-1 rounded-md grid justify-items-center items-center"><IconCheck /></h3></div>diff --git a/apps/www/pages/open-source/index.tsx b/apps/www/pages/open-source/index.tsxindex 1aac63bdcbe..5fff6c0a379 100644--- a/apps/www/pages/open-source/index.tsx+++ b/apps/www/pages/open-source/index.tsx@@ -82,8 +82,8 @@ const OpenSource = () => {{maintainerPills.map((x) => (<likey={x}- className={`mx-4 rounded-t-lg inline-block p-2 cursor-pointer hover:text-brand-800 ${- activePill == x ? 'bg-gray-200 dark:bg-gray-400 text-brand-800' : ''+ className={`mx-4 rounded-t-lg inline-block p-2 cursor-pointer hover:text-brand-500 ${+ activePill == x ? 'bg-gray-200 dark:bg-gray-400 text-brand-500' : ''}`}onClick={() => setActivePill(x)}>diff --git a/apps/www/pages/partners/experts/[slug].tsx b/apps/www/pages/partners/experts/[slug].tsxindex 8603d2a86ac..10f9e46698f 100644--- a/apps/www/pages/partners/experts/[slug].tsx+++ b/apps/www/pages/partners/experts/[slug].tsx@@ -160,7 +160,7 @@ function Partner({<div className="flex items-center justify-between py-2"><span className="text-scale-900">Category</span><Link href={`/partners/experts#${partner.category.toLowerCase()}`}>- <a className="text-brand hover:text-brand-800 transition-colors">+ <a className="text-brand hover:text-brand-500 transition-colors">{partner.category}</a></Link>@@ -172,7 +172,7 @@ function Partner({href={partner.website}target="_blank"rel="noreferrer"- className="text-brand hover:text-brand-800 transition-colors"+ className="text-brand hover:text-brand-500 transition-colors">{new URL(partner.website).host}</a>@@ -185,7 +185,7 @@ function Partner({href={partner.docs}target="_blank"rel="noreferrer"- className="text-brand hover:text-brand-800 transition-colors"+ className="text-brand hover:text-brand-500 transition-colors"><span className="flex items-center space-x-1"><span>Learn</span>diff --git a/apps/www/pages/partners/integrations/[slug].tsx b/apps/www/pages/partners/integrations/[slug].tsxindex cf1bb175550..850011be8bf 100644--- a/apps/www/pages/partners/integrations/[slug].tsx+++ b/apps/www/pages/partners/integrations/[slug].tsx@@ -201,7 +201,7 @@ function Partner({<div className="flex items-center justify-between py-2"><span className="text-scale-900">Category</span><Link href={`/partners/integrations#${partner.category.toLowerCase()}`}>- <a className="text-brand hover:text-brand-800 transition-colors">+ <a className="text-brand hover:text-brand-500 transition-colors">{partner.category}</a></Link>@@ -213,7 +213,7 @@ function Partner({href={partner.website}target="_blank"rel="noreferrer"- className="text-brand hover:text-brand-800 transition-colors"+ className="text-brand hover:text-brand-500 transition-colors">{new URL(partner.website).host}</a>@@ -226,7 +226,7 @@ function Partner({href={partner.docs}target="_blank"rel="noreferrer"- className="text-brand hover:text-brand-800 transition-colors"+ className="text-brand hover:text-brand-500 transition-colors"><span className="flex items-center space-x-1"><span>Learn</span>diff --git a/apps/www/pages/partners/integrations/index.tsx b/apps/www/pages/partners/integrations/index.tsxindex 7665cace8fa..5c75d264915 100644--- a/apps/www/pages/partners/integrations/index.tsx+++ b/apps/www/pages/partners/integrations/index.tsx@@ -200,10 +200,10 @@ function IntegrationPartnersPage(props: Props) {<a className="text-scale-1200">INTEGRATIONS</a></Link><Link href={`/partners/experts`}>- <a className="transition-colors text-brand hover:text-brand-800">EXPERTS</a>+ <a className="transition-colors text-brand hover:text-brand-500">EXPERTS</a></Link><Link href={`/partners/integrations#become-a-partner`}>- <a className="flex items-center space-x-1 transition-colors text-brand hover:text-brand-800">+ <a className="flex items-center space-x-1 transition-colors text-brand hover:text-brand-500">BECOME A PARTNER <IconArrowRight /></a></Link>diff --git a/apps/www/pages/realtime/Realtime.tsx b/apps/www/pages/realtime/Realtime.tsxindex 24d82a4f836..a6493b21025 100644--- a/apps/www/pages/realtime/Realtime.tsx+++ b/apps/www/pages/realtime/Realtime.tsx@@ -66,7 +66,7 @@ function RealtimePage() {<div className="bg-scale-300 border-scale-500 relative flex h-[372px] w-[560px] items-center justify-center overflow-hidden rounded border drop-shadow-md"><divclassName={[- 'border-brand-800 relative h-12 w-48 bg-[#34B27B]',+ 'border-brand-500 relative h-12 w-48 bg-[#34B27B]',`flex items-center justify-center ${RealtimeStyles['shape']}`,].join(' ')}>diff --git a/apps/www/styles/index.css b/apps/www/styles/index.cssindex 2e10d81a737..8802058a5cb 100644--- a/apps/www/styles/index.css+++ b/apps/www/styles/index.css@@ -95,7 +95,7 @@ h6:not(.overwrite) {}.heading-gradient-brand {- @apply text-[#3ECF8E00] bg-clip-text bg-gradient-to-b from-brand-1000 to-brand dark:to-brand-800;+ @apply text-[#3ECF8E00] bg-clip-text bg-gradient-to-b from-brand-1000 to-brand dark:to-brand-500;}.toc-animate {diff --git a/packages/ui/src/components/Admonition/index.tsx b/packages/ui/src/components/Admonition/index.tsxindex d4b2bec0686..435b24bb717 100644--- a/packages/ui/src/components/Admonition/index.tsx+++ b/packages/ui/src/components/Admonition/index.tsx@@ -21,7 +21,7 @@ export const Admonition = ({: type === 'info'? 'bg-scale-500 border-scale-800': type === 'tip'- ? 'bg-brand-300 border-brand-800'+ ? 'bg-brand-300 border-brand-500': type === 'caution'? 'bg-yellow-400 border-yellow-800': type === 'danger'diff --git a/packages/ui/src/components/Badge/Badge.module.css b/packages/ui/src/components/Badge/Badge.module.cssindex 38c8ed21ddf..1e4b89c8ca6 100644--- a/packages/ui/src/components/Badge/Badge.module.css+++ b/packages/ui/src/components/Badge/Badge.module.css@@ -1,5 +1,5 @@/* .sbui-badge {- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-500 bg-opacity-10 text-brand-800;+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-500 bg-opacity-10 text-brand-500;}.sbui-badge--large {diff --git a/packages/ui/src/components/Button/Button.module.css b/packages/ui/src/components/Button/Button.module.cssindex d9cac9315ac..0ec5b8c86e2 100644--- a/packages/ui/src/components/Button/Button.module.css+++ b/packages/ui/src/components/Button/Button.module.css@@ -50,7 +50,7 @@Button varients*//* .sbui-btn-primary {- @apply text-white bg-brand-800 hover:bg-brand-600;+ @apply text-white bg-brand-500 hover:bg-brand-600;@apply dark:hover:bg-brand;} */.dark .sbui-btn-primary {@@ -87,7 +87,7 @@@apply dark:text-white dark:border-dark-400 dark:hover:text-white dark:hover:border-white;} *//* .sbui-btn-link {- @apply bg-transparent text-brand-800 border-none hover:bg-brand hover:bg-opacity-25;+ @apply bg-transparent text-brand-500 border-none hover:bg-brand hover:bg-opacity-25;box-shadow: none;} *//* .sbui-btn-text {diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsxindex ae80a6835ae..482b5a57cef 100644--- a/packages/ui/src/components/Button/Button.tsx+++ b/packages/ui/src/components/Button/Button.tsx@@ -53,9 +53,9 @@ const buttonVariants = cva(alternative: `text-brand-1100bg-brand-200 hover:bg-brand-400- border-brand-600 hover:border-brand-800- dark:border-brand-700 hover:dark:border-brand-800- focus-visible:border-brand-800+ border-brand-600 hover:border-brand-500+ dark:border-brand-700 hover:dark:border-brand-500+ focus-visible:border-brand-500focus-visible:outline-brand-600shadow-sm`,outline: `diff --git a/packages/ui/src/components/Command/Command.icons.tsx b/packages/ui/src/components/Command/Command.icons.tsxindex bc3fdcee576..77f98d6c308 100644--- a/packages/ui/src/components/Command/Command.icons.tsx+++ b/packages/ui/src/components/Command/Command.icons.tsx@@ -30,7 +30,7 @@ export const AiIcon = ({ className = 'text-brand' }: AiIconProps) => (export const AiIconChat = () => (<divclassName="w-7 h-7- bg-gradient-to-r from-brand to-brand-800+ bg-gradient-to-r from-brand to-brand-500ring-brand-600ring-1diff --git a/packages/ui/src/components/Form/Form.stories.tsx b/packages/ui/src/components/Form/Form.stories.tsxindex 45f022d2f7c..ebfaa35304b 100644--- a/packages/ui/src/components/Form/Form.stories.tsx+++ b/packages/ui/src/components/Form/Form.stories.tsx@@ -473,7 +473,7 @@ export const CardForm = () => {descriptionText={<span>This can be found in{' '}- <span className="text-brand underline cursor-pointer transition hover:text-brand-800">+ <span className="text-brand underline cursor-pointer transition hover:text-brand-500">the developer settings</span></span>diff --git a/packages/ui/src/components/Icon/Icon.module.css b/packages/ui/src/components/Icon/Icon.module.cssindex a9a9de6e63e..e700a8d935b 100644--- a/packages/ui/src/components/Icon/Icon.module.css+++ b/packages/ui/src/components/Icon/Icon.module.css@@ -3,7 +3,7 @@}.sbui-icon-container--brand {- @apply bg-brand-800 bg-opacity-10 text-brand-800;+ @apply bg-brand-500 bg-opacity-10 text-brand-500;}.sbui-icon-container--gray {diff --git a/packages/ui/src/components/Loading/Loading.module.css b/packages/ui/src/components/Loading/Loading.module.cssindex fe814195451..11bc689ac07 100644--- a/packages/ui/src/components/Loading/Loading.module.css+++ b/packages/ui/src/components/Loading/Loading.module.css@@ -10,7 +10,7 @@}.sbui-loading-spinner {- @apply text-brand-800 animate-spin;+ @apply text-brand-500 animate-spin;margin: auto;position: absolute;top: 0;diff --git a/studio/.storybook/preview.css b/studio/.storybook/preview.cssindex 2ba4312331c..2cbd73c923f 100644--- a/studio/.storybook/preview.css+++ b/studio/.storybook/preview.css@@ -85,7 +85,7 @@}.react-datepicker__day--in-range {- @apply bg-brand-800 text-scale-fixed-100 border-brand-800;+ @apply bg-brand-500 text-scale-fixed-100 border-brand-500;}.react-datepicker__day--in-selecting-range {@@ -101,7 +101,7 @@}.react-datepicker__day--selected {- @apply bg-brand-800 text-white;+ @apply bg-brand-500 text-white;}.react-datepicker__day--range-start {diff --git a/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx b/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsxindex 42d4f0c4a1a..e28c5988ca3 100644--- a/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx+++ b/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx@@ -254,7 +254,7 @@ const TableForm = ({key={column.name}className={['px-2 py-1 rounded cursor-pointer transition',- `${isSelected ? 'bg-brand-800' : 'bg-scale-500 hover:bg-scale-700'}`,+ `${isSelected ? 'bg-brand-500' : 'bg-scale-500 hover:bg-scale-700'}`,].join(' ')}onClick={() => {if (isSelected) {diff --git a/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx b/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsxindex b493941459f..be5f333d787 100644--- a/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx+++ b/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx@@ -139,7 +139,7 @@ const APIKeys = () => {for your tables and configured policies. You may also use the service key whichcan be found{' '}<Link href={`/project/${projectRef}/settings/api`}>- <a className="transition text-brand-800 hover:text-brand">here</a>+ <a className="transition text-brand-500 hover:text-brand">here</a></Link>{' '}to bypass RLS.</p>diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsxindex a39a293c3c7..debabfd77a5 100644--- a/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx@@ -47,7 +47,7 @@ const SavingIndicator = ({ id }: SavingIndicatorProps) => {{showSavedText ? (<Tooltip.Root delayDuration={0}><Tooltip.Trigger>- <IconCheck className="text-brand-800" size={14} strokeWidth={3} />+ <IconCheck className="text-brand-500" size={14} strokeWidth={3} /></Tooltip.Trigger><Tooltip.Content side="bottom"><Tooltip.Arrow className="radix-tooltip-arrow" />diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsxindex 8f2b97f1b26..2dad6f0c0f5 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx@@ -367,7 +367,7 @@ const ColumnEditor = ({<p>You will need to{' '}<Link href={`/project/${ref}/database/extensions?filter=pgsodium`}>- <a className="text-brand-800 hover:text-brand transition">install</a>+ <a className="text-brand-500 hover:text-brand transition">install</a></Link>{' '}the extension <code className="text-xs">pgsodium</code> first before beingable to encrypt your column.diff --git a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsxindex 6d57ad97aec..b2eeb8357dc 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-800 border-brand-700">+ <div className="flex items-center justify-center w-5 h-5 border rounded-full bg-brand-500 border-brand-700"><IconCheck size={12} className="text-white" strokeWidth={2} /></div>) : (diff --git a/studio/components/ui/PasswordStrengthBar.tsx b/studio/components/ui/PasswordStrengthBar.tsxindex 9976e1395ae..286affc53a2 100644--- a/studio/components/ui/PasswordStrengthBar.tsx+++ b/studio/components/ui/PasswordStrengthBar.tsx@@ -39,7 +39,7 @@ const PasswordStrengthBar = ({? passwordStrengthMessage: 'This is the password to your postgres database, so it must be strong and hard to guess.'}{' '}<span- className="text-brand-800 underline hover:text-brand transition cursor-pointer"+ className="text-brand-500 underline hover:text-brand transition cursor-pointer"onClick={generateStrongPassword}>Generate a passworddiff --git a/studio/styles/date-picker.scss b/studio/styles/date-picker.scssindex cdd92a1d887..da6bf18de28 100644--- a/studio/styles/date-picker.scss+++ b/studio/styles/date-picker.scss@@ -73,7 +73,7 @@}.react-datepicker__day--in-range {- @apply bg-brand-800 text-scale-fixed-100 border-brand-800;+ @apply bg-brand-500 text-scale-fixed-100 border-brand-500;}.react-datepicker__day--in-selecting-range {@@ -90,7 +90,7 @@.react-datepicker__day--selected,.react-datepicker__day--selected.react-datepicker__day--highlighted {- @apply bg-brand-800 text-white;+ @apply bg-brand-500 text-white;}.react-datepicker__day--range-start {