The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Replace all occurences of text-scale-1200 with text-foreground (#17723)
Joshen Lim7aee78a8b826
diff --git a/studio/components/grid/components/editor/JsonEditor.tsx b/studio/components/grid/components/editor/JsonEditor.tsxindex 83e5a694b4e..49bca275ae7 100644--- a/studio/components/grid/components/editor/JsonEditor.tsx+++ b/studio/components/grid/components/editor/JsonEditor.tsx@@ -125,7 +125,7 @@ export const JsonEditor = <TRow, TSummaryRow = unknown>({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Expand editor</span>+ <span className="text-xs text-foreground">Expand editor</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx b/studio/components/grid/components/formatter/ForeignKeyFormatter.tsxindex d6a91029ddf..975dd6d1eb8 100644--- a/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx+++ b/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx@@ -75,7 +75,7 @@ export const ForeignKeyFormatter = (props: PropsWithChildren<FormatterProps<Supa'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">View referencing record</span>+ <span className="text-xs text-foreground">View referencing record</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/grid/components/grid/ColumnHeader.tsx b/studio/components/grid/components/grid/ColumnHeader.tsxindex 5c490e82791..bfde220ff30 100644--- a/studio/components/grid/components/grid/ColumnHeader.tsx+++ b/studio/components/grid/components/grid/ColumnHeader.tsx@@ -139,7 +139,7 @@ export function ColumnHeader<R>({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Primary key</span>+ <span className="text-xs text-foreground">Primary key</span></div></Tooltip.Content></Tooltip.Portal>@@ -163,7 +163,7 @@ export function ColumnHeader<R>({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Encrypted column</span>+ <span className="text-xs text-foreground">Encrypted column</span></div></Tooltip.Content></Tooltip.Portal>@@ -200,15 +200,15 @@ function renderColumnIcon(<div><p className="text-xs text-scale-1100">Foreign key relation:</p><div className="flex items-center space-x-1">- <p className="text-xs text-scale-1200">{name}</p>+ <p className="text-xs text-foreground">{name}</p><IconArrowRight size="tiny" strokeWidth={1.5} />- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">{foreignKey?.targetTableSchema}.{foreignKey?.targetTableName}.{foreignKey?.targetColumnName}</p></div>{foreignKey?.deletionAction !== FOREIGN_KEY_CASCADE_ACTION.NO_ACTION && (- <p className="text-xs text-scale-1200 mt-1">+ <p className="text-xs text-foreground mt-1">On delete: {getForeignKeyCascadeAction(foreignKey?.deletionAction)}</p>)}diff --git a/studio/components/grid/components/header/Header.tsx b/studio/components/grid/components/header/Header.tsxindex 758cb072500..fced3c76d60 100644--- a/studio/components/grid/components/header/Header.tsx+++ b/studio/components/grid/components/header/Header.tsx@@ -406,7 +406,7 @@ const RowHeader = ({ table, sorts, filters }: RowHeaderProps) => {icon={<IconX size="tiny" strokeWidth={2} />}onClick={deselectRows}/>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{allRowsSelected? `${totalRows} rows selected`: selectedRows.size > 1diff --git a/studio/components/grid/components/header/RLSBannerWarning.tsx b/studio/components/grid/components/header/RLSBannerWarning.tsxindex 6f27e1821de..124444f0142 100644--- a/studio/components/grid/components/header/RLSBannerWarning.tsx+++ b/studio/components/grid/components/header/RLSBannerWarning.tsx@@ -58,7 +58,7 @@ export default function RLSBannerWarning() {<div className="ml-20 absolute right-2"><Buttontype="outline"- className="hover:text-scale-1200 text-amber-900 dark:text-amber-900 border border-amber-800"+ className="hover:text-foreground text-amber-900 dark:text-amber-900 border border-amber-800"onClick={() => setIsOpen(true)}>Dismissdiff --git a/studio/components/grid/components/header/sort/SortRow.tsx b/studio/components/grid/components/header/sort/SortRow.tsxindex cde4967167b..e02023e2773 100644--- a/studio/components/grid/components/header/sort/SortRow.tsx+++ b/studio/components/grid/components/header/sort/SortRow.tsx@@ -107,7 +107,7 @@ const SortRow = ({ table, index, columnName, sort, onDelete, onToggle, onDrag }:<IconMenu strokeWidth={2} size={16} /></span><div className="grow">- <span className="flex grow items-center gap-1 truncate text-sm text-scale-1200">+ <span className="flex grow items-center gap-1 truncate text-sm text-foreground"><span className="text-xs text-scale-900">{index > 0 ? 'then by' : 'sort by'}</span>{column.name}</span>diff --git a/studio/components/grid/components/menu/ColumnMenu.tsx b/studio/components/grid/components/menu/ColumnMenu.tsxindex 0d4af517ce5..a30158eb384 100644--- a/studio/components/grid/components/menu/ColumnMenu.tsx+++ b/studio/components/grid/components/menu/ColumnMenu.tsx@@ -65,7 +65,7 @@ const ColumnMenu = ({ column, isEncrypted }: ColumnMenuProps) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Encrypted columns cannot be edited</span></div>diff --git a/studio/components/interfaces/Account/AuditLogs.tsx b/studio/components/interfaces/Account/AuditLogs.tsxindex fcf3d12a52d..7ae9cfe4ce3 100644--- a/studio/components/interfaces/Account/AuditLogs.tsx+++ b/studio/components/interfaces/Account/AuditLogs.tsx@@ -198,7 +198,7 @@ const AuditLogs = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{dateSortDesc ? 'Sort latest first' : 'Sort earliest first'}</span></div>diff --git a/studio/components/interfaces/Account/NewAccessTokenButton.tsx b/studio/components/interfaces/Account/NewAccessTokenButton.tsxindex e3b7e9eeabd..14a62e8f340 100644--- a/studio/components/interfaces/Account/NewAccessTokenButton.tsx+++ b/studio/components/interfaces/Account/NewAccessTokenButton.tsx@@ -56,7 +56,7 @@ const NewAccessTokenButton = observer(({ onCreateToken }: NewAccessTokenButtonPr}}><div className="space-y-1">- <p className="block text-scale-1200">Generate token for experimental API</p>+ <p className="block text-foreground">Generate token for experimental API</p></div></Dropdown.Item>,]}@@ -82,7 +82,7 @@ const NewAccessTokenButton = observer(({ onCreateToken }: NewAccessTokenButtonPronCancel={() => setIsOpen(!isOpen)}header={<div className="flex items-baseline gap-2">- <h5 className="text-sm text-scale-1200">+ <h5 className="text-sm text-foreground">{tokenScope === 'V0' ? 'Generate token for experimental API' : 'Generate New Token'}</h5></div>diff --git a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsxindex 41b3f87e449..d0d14f5a1de 100644--- a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx+++ b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx@@ -84,7 +84,7 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {<Collapsible.Trigger asChild><buttontype="button"- className="group flex w-full items-center justify-between rounded py-3 px-6 text-scale-1200"+ className="group flex w-full items-center justify-between rounded py-3 px-6 text-foreground"><div className="flex items-center gap-3"><IconChevronUp@@ -128,7 +128,7 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {<divclassName="group border-t- border-scale-500 bg-scale-100 py-6 px-6 text-scale-1200 dark:bg-scale-300+ border-scale-500 bg-scale-100 py-6 px-6 text-foreground dark:bg-scale-300"><div className="mx-auto my-6 max-w-lg space-y-6">@@ -198,7 +198,7 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update provider settings</span></div>diff --git a/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx b/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsxindex b65d3edbad2..6041dbbf9f1 100644--- a/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx+++ b/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx@@ -80,7 +80,7 @@ const TemplateEditor = ({ template, authConfig }: TemplateEditorProps) => {if (property.type === 'string') {return (<div key={x} className="space-y-3">- <label className="col-span-12 text-sm text-scale-1200 lg:col-span-5">+ <label className="col-span-12 text-sm text-foreground lg:col-span-5">{property.title}</label><Inputdiff --git a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsxindex 6f87834faae..c4d07021228 100644--- a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx+++ b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx@@ -53,17 +53,17 @@ const PolicyDefinition = ({'w-[300px] space-y-2 border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">This expression will be added to queries that refer to the table ifrow-level security is enabled.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Rows for which the expression returns true will be visible. Any rows forwhich the expression returns false or null will not be visible to the user(in a SELECT), and will not be available for modification (in an UPDATE orDELETE).</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Such rows are silently suppressed - no error is reported.</p></div>@@ -100,16 +100,16 @@ const PolicyDefinition = ({'w-[300px] space-y-2 border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">This expression will be used in INSERT and UPDATE queries against the tableif row-level security is enabled.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Only rows for which the expression evaluates to true will be allowed. Anerror will be thrown if the expression evaluates to false or null for any ofthe records inserted or any of the records that result from the update.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Note that this expression is evaluated against the proposed new contents ofthe row, not the original contents.</p>diff --git a/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModalTitle.tsx b/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModalTitle.tsxindex 74e8bf8dc10..e321577dd5e 100644--- a/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModalTitle.tsx+++ b/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModalTitle.tsx@@ -32,7 +32,7 @@ const PolicyEditorModalTitle = ({<div className="flex items-center space-x-3"><spanonClick={onSelectBackFromTemplates}- className="cursor-pointer text-scale-900 transition-colors hover:text-scale-1200"+ className="cursor-pointer text-scale-900 transition-colors hover:text-foreground"><IconChevronLeft strokeWidth={2} size={14} /></span>diff --git a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsxindex cdd8ee29829..6f149978c70 100644--- a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx+++ b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx@@ -30,7 +30,7 @@ const PolicyRow = ({<div className="flex grow flex-col space-y-1"><div className="flex items-center space-x-4"><p className="font-mono text-xs text-scale-1000">{policy.command}</p>- <p className="text-sm text-scale-1200">{policy.name}</p>+ <p className="text-sm text-foreground">{policy.name}</p></div><div className="flex items-center space-x-2"><p className="text-scale-1000 text-sm">Applied to:</p>@@ -56,7 +56,7 @@ const PolicyRow = ({'border border-scale-200 max-w-[220px] text-center',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{policy.roles.slice(3).join(', ')}</span></div>@@ -115,7 +115,7 @@ const PolicyRow = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to edit RLS policies</span></div>diff --git a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsxindex 4fefe5456e8..eb4ad5594b1 100644--- a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx+++ b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx@@ -70,7 +70,7 @@ const PolicyTableRowHeader = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create RLS policies</span></div>@@ -98,7 +98,7 @@ const PolicyTableRowHeader = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to toggle RLS</span></div>diff --git a/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx b/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsxindex f3b57719a60..4d7e9684afc 100644--- a/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx+++ b/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx@@ -15,7 +15,7 @@ const TemplatePreview = ({ selectedTemplate }: TemplatePreviewProps) => {<div className="my-5 h-full space-y-6 px-6"><div className="space-y-2"><div className="flex flex-col space-y-2">- <h3 className="text-scale-1200 text-base">{templateName}</h3>+ <h3 className="text-foreground text-base">{templateName}</h3><p className="text-scale-1100 text-sm">{description}</p></div></div>diff --git a/studio/components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsx b/studio/components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsxindex 191ac4de0f7..945d7a1e014 100644--- a/studio/components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsx+++ b/studio/components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsx@@ -42,7 +42,7 @@ const RedirectUrlList = ({) : (<divclassName={[- 'flex items-center border-scale-400 bg-scale-200 text-scale-1200',+ 'flex items-center border-scale-400 bg-scale-200 text-foreground','justify-center gap-2 rounded border px-6 py-8 text-sm',].join(' ')}>diff --git a/studio/components/interfaces/Auth/RedirectUrls/RedirectUrls.tsx b/studio/components/interfaces/Auth/RedirectUrls/RedirectUrls.tsxindex 495fb5d6326..ec428cd2a9a 100644--- a/studio/components/interfaces/Auth/RedirectUrls/RedirectUrls.tsx+++ b/studio/components/interfaces/Auth/RedirectUrls/RedirectUrls.tsx@@ -135,7 +135,7 @@ const RedirectUrls = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update redirect URLs</span></div>@@ -224,7 +224,7 @@ const RedirectUrls = () => {<div className="px-5"><p className="mb-2 text-sm text-scale-1100">Are you sure you want to remove{' '}- <span className="text-scale-1200">{selectedUrlToDelete}</span>?+ <span className="text-foreground">{selectedUrlToDelete}</span>?</p><p className="text-scale-1100 text-sm">This URL will no longer work with your authentication configuration.diff --git a/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx b/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsxindex 610817e94fe..b578ccf8a35 100644--- a/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx+++ b/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx@@ -3,7 +3,7 @@ import { PropsWithChildren } from 'react'const ValueContainer = ({ children }: PropsWithChildren<{}>) => (<divclassName="- bg-scale-100 dark:bg-scale-300 border-scale-500 text-scale-1200 flex items-center+ bg-scale-100 dark:bg-scale-300 border-scale-500 text-foreground flex items-centerjustify-between gap-2border px-6py-4 text-smdiff --git a/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx b/studio/components/interfaces/Auth/Users/AddUserDropdown.tsxindex ffd0f7c13b8..6092f1ac708 100644--- a/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx+++ b/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx@@ -57,7 +57,7 @@ const AddUserDropdown = ({ projectKpsVersion }: AddUserDropdownProps) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to invite users</span></div>@@ -88,7 +88,7 @@ const AddUserDropdown = ({ projectKpsVersion }: AddUserDropdownProps) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create users</span></div>diff --git a/studio/components/interfaces/Auth/Users/UserDropdown.tsx b/studio/components/interfaces/Auth/Users/UserDropdown.tsxindex f8f7f77029c..cf8d89d7503 100644--- a/studio/components/interfaces/Auth/Users/UserDropdown.tsx+++ b/studio/components/interfaces/Auth/Users/UserDropdown.tsx@@ -147,7 +147,7 @@ const UserDropdown = ({ user, canRemoveUser, canRemoveMFAFactors }: UserDropdown'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to remove a user's authentication factors.</span></div>@@ -175,7 +175,7 @@ const UserDropdown = ({ user, canRemoveUser, canRemoveMFAFactors }: UserDropdown'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete users</span></div>diff --git a/studio/components/interfaces/Auth/Users/UsersListItem.tsx b/studio/components/interfaces/Auth/Users/UsersListItem.tsxindex c21c8e71cce..1751841ff06 100644--- a/studio/components/interfaces/Auth/Users/UsersListItem.tsx+++ b/studio/components/interfaces/Auth/Users/UsersListItem.tsx@@ -21,17 +21,17 @@ const UserListItem = ({ user, canRemoveUser, canRemoveMFAFactors }: UserListItem<Table.tr className="relative" key={user.id}><Table.td className="whitespace-nowrap"><div className="flex items-center gap-2">- <span className="text-sm text-scale-1200">{!user.email ? '-' : user.email}</span>+ <span className="text-sm text-foreground">{!user.email ? '-' : user.email}</span></div></Table.td><Table.td className="whitespace-nowrap">- <span className="text-scale-1200">{!user.phone ? '-' : user.phone}</span>+ <span className="text-foreground">{!user.phone ? '-' : user.phone}</span></Table.td><Table.td className="table-cell">- <span className="capitalize text-scale-1200">{user?.raw_app_meta_data?.provider}</span>+ <span className="capitalize text-foreground">{user?.raw_app_meta_data?.provider}</span></Table.td><Table.td className="table-cell">- <span className="text-scale-1200">{createdAt?.format('DD MMM, YYYY HH:mm')}</span>+ <span className="text-foreground">{createdAt?.format('DD MMM, YYYY HH:mm')}</span></Table.td><Table.td className="table-cell">{!isUserConfirmed ? (diff --git a/studio/components/interfaces/BillingV2/InvoiceStatusBadge.tsx b/studio/components/interfaces/BillingV2/InvoiceStatusBadge.tsxindex d6a1a12a6cc..c5328fb5c39 100644--- a/studio/components/interfaces/BillingV2/InvoiceStatusBadge.tsx+++ b/studio/components/interfaces/BillingV2/InvoiceStatusBadge.tsx@@ -58,7 +58,7 @@ const InvoiceStatusBadge = ({ status }: InvoiceStatusBadgeProps) => {].join(' ')}>{[InvoiceStatus.OPEN, InvoiceStatus.UNCOLLECTIBLE].includes(status) && (- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">We were not able to collect the money. Make sure you have a valid payment method andenough funds. Outstanding invoices may cause restrictions. You can manually pay theusing the "Pay Now" button.@@ -66,19 +66,19 @@ const InvoiceStatusBadge = ({ status }: InvoiceStatusBadgeProps) => {)}{status === InvoiceStatus.DRAFT && (- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">The invoice will soon be finalized and charged for.</p>)}{status === InvoiceStatus.PAID && (- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">The invoice has been paid successfully. No action is required on your side.</p>)}{status === InvoiceStatus.VOID && (- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">This invoice has been forgiven. No action is required on your side.</p>)}diff --git a/studio/components/interfaces/BillingV2/SpendCapModal.tsx b/studio/components/interfaces/BillingV2/SpendCapModal.tsxindex d70e5b2e0de..0243d1bae8c 100644--- a/studio/components/interfaces/BillingV2/SpendCapModal.tsx+++ b/studio/components/interfaces/BillingV2/SpendCapModal.tsx@@ -64,7 +64,7 @@ const SpendCapModal = ({ visible, onHide }: SpendCapModalProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Monthly Active Users: A user that has made an API request in thelast month</span>@@ -98,7 +98,7 @@ const SpendCapModal = ({ visible, onHide }: SpendCapModalProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Single Sign-On Monthly Active Users: A user that has made an APIrequest in the last month</span>diff --git a/studio/components/interfaces/BillingV2/Subscription/AddOns/AddOns.tsx b/studio/components/interfaces/BillingV2/Subscription/AddOns/AddOns.tsxindex add189560b2..937f0061180 100644--- a/studio/components/interfaces/BillingV2/Subscription/AddOns/AddOns.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/AddOns/AddOns.tsx@@ -208,7 +208,7 @@ const AddOns = () => {<Link href={`/project/${projectRef}/settings/billing/usage#ram`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Memory</p><IconChevronRight@@ -225,7 +225,7 @@ const AddOns = () => {<Link href={`/project/${projectRef}/settings/billing/usage#cpu`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">CPU</p><IconChevronRight@@ -257,7 +257,7 @@ const AddOns = () => {<Link href={`/project/${projectRef}/settings/billing/usage#disk_io`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Max Disk Throughput</p><IconChevronRight@@ -277,7 +277,7 @@ const AddOns = () => {<Link href={`/project/${projectRef}/settings/billing/usage#disk_io`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Baseline Disk Throughput</p><IconChevronRight@@ -323,9 +323,7 @@ const AddOns = () => {</p>{!sufficientPgVersion ? (<Alert_Shadcn_ className="mt-2">- <AlertTitle_Shadcn_>- Your project is too old enable PITR- </AlertTitle_Shadcn_>+ <AlertTitle_Shadcn_>Your project is too old enable PITR</AlertTitle_Shadcn_><AlertDescription_Shadcn_><p className="text-sm leading-normal mb-2">Reach out to us via support if you're interesteddiff --git a/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx b/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsxindex c6096abdf49..c6159105f22 100644--- a/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx@@ -158,7 +158,7 @@ const BillingBreakdown = ({}: BillingBreakdownProps) => {<Link href={`/project/${projectRef}/settings/billing/usage#${metric.anchor}`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">{metric.name}</p><IconChevronRight@@ -189,7 +189,7 @@ const BillingBreakdown = ({}: BillingBreakdownProps) => {'border border-scale-200',].join(' ')}>- <div className="text-xs text-scale-1200">+ <div className="text-xs text-foreground">{usageFee.pricingStrategy === 'UNIT' ? (<div><p>@@ -260,11 +260,11 @@ const BillingBreakdown = ({}: BillingBreakdownProps) => {'border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Exceeding your plans included usage will lead to restrictions toyour project.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Upgrade to a usage-based plan or disable the spend cap to avoidrestrictions.</p>diff --git a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsxindex 1f6e9568d54..471b20bfc22 100644--- a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx@@ -174,7 +174,7 @@ const SpendCapSidePanel = () => {<><Table.tr key={categoryId}><Table.td>- <p className="text-xs text-scale-1200">{category.title}</p>+ <p className="text-xs text-foreground">{category.title}</p></Table.td><Table.td>{null}</Table.td></Table.tr>@@ -185,9 +185,7 @@ const SpendCapSidePanel = () => {<p className="text-xs pl-4">{item.title}</p></Table.td><Table.td>- <p className="text-xs pl-4">- {item.plans['pro']}- </p>+ <p className="text-xs pl-4">{item.plans['pro']}</p></Table.td></Table.tr>)@@ -258,8 +256,8 @@ const SpendCapSidePanel = () => {<pclassName={clsx('text-sm transition',- !isFreePlan && 'group-hover:text-scale-1200',- isSelected ? 'text-scale-1200' : 'text-scale-1000'+ !isFreePlan && 'group-hover:text-foreground',+ isSelected ? 'text-foreground' : 'text-scale-1000')}>{option.name}diff --git a/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx b/studio/components/interfaces/BillingV2/Subscription/Subscription.tsxindex 2edafb2f14c..f788d0fd44d 100644--- a/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx@@ -40,7 +40,7 @@ const Subscription = ({}: SubscriptionProps) => {<><div className="border-b"><div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-6">- <h3 className="text-scale-1200 text-xl">Subscription</h3>+ <h3 className="text-foreground text-xl">Subscription</h3></div></div>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/EnterpriseCard.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/EnterpriseCard.tsxindex cbf139f924b..ec7f8a2a344 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/EnterpriseCard.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/EnterpriseCard.tsx@@ -44,7 +44,7 @@ const EnterpriseCard = ({ plan, isCurrentPlan }: EnterpriseCardProps) => {{plan.features.map((feature) => (<li key={feature} className="flex items-center py-2 first:mt-0"><IconCheck className="text-brand h-4 w-4" aria-hidden="true" strokeWidth={3} />- <span className="dark:text-scale-1200 mb-0 ml-3 ">{feature}</span>+ <span className="dark:text-foreground mb-0 ml-3 ">{feature}</span></li>))}</ul>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/ExitSurveyModal.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/ExitSurveyModal.tsxindex 42afe0be7ca..e549a4f6db7 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/ExitSurveyModal.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/ExitSurveyModal.tsx@@ -169,7 +169,7 @@ const ExitSurveyModal = ({ visible, onClose }: ExitSurveyModalProps) => {${active? ` bg-scale-1200 text-scale-100 opacity-100 hover:bg-opacity-75`- : ` bg-scale-700 text-scale-1200 opacity-25 hover:opacity-50`+ : ` bg-scale-700 text-foreground opacity-25 hover:opacity-50`}`}>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/PaymentMethodSelection.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/PaymentMethodSelection.tsxindex c1e5151a91d..cbc4d97ec4d 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/PaymentMethodSelection.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/PaymentMethodSelection.tsx@@ -105,7 +105,7 @@ const PaymentMethodSelection = ({'w-48 border border-scale-200 text-center', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add new payment methods to thisorganization</span>@@ -145,7 +145,7 @@ const PaymentMethodSelection = ({onClick={() => setShowAddNewPaymentMethodModal(true)}><IconPlus size={16} />- <p className="transition text-scale-1000 group-hover:text-scale-1200">+ <p className="transition text-scale-1000 group-hover:text-foreground">Add new payment method</p></div>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionPaymentMethod.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionPaymentMethod.tsxindex ae705f20c2a..3f554172d0c 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionPaymentMethod.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionPaymentMethod.tsx@@ -155,7 +155,7 @@ const SubscriptionPaymentMethod = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Please email [email protected] to change your payment method.</span></div>@@ -171,7 +171,7 @@ const SubscriptionPaymentMethod = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You do not have permission to change the payment method</span></div>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsxindex 72d3b8103cf..c71b6df0b5c 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx@@ -216,7 +216,7 @@ const TierUpdateSidePanel = () => {<ShimmeringLoader className="w-[30px] h-[24px]" /></div>) : (- <p className="text-scale-1200 text-lg">${price}</p>+ <p className="text-foreground text-lg">${price}</p>)}<p className="text-scale-1000 text-sm">{tierMeta?.costUnit}</p></div>@@ -276,7 +276,7 @@ const TierUpdateSidePanel = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You do not have permission to change the subscription plan.</span></div>diff --git a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsxindex 1d2d8f269e9..05813e0229c 100644--- a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx+++ b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx@@ -36,7 +36,9 @@ const SectionContent = ({</div>{links && links.length && (<div className="space-y-2">- <p className="text-sm text-scale-1200 dark:text-scale-1100 mb-2">More information</p>+ <p className="text-sm text-foreground dark:text-scale-1100 mb-2">+ More information+ </p>{links.map((link) => (<div key={link.url}><Link href={link.url}>diff --git a/studio/components/interfaces/BillingV2/Usage/Usage.tsx b/studio/components/interfaces/BillingV2/Usage/Usage.tsxindex 3f1d04a8f8d..d4fb6339188 100644--- a/studio/components/interfaces/BillingV2/Usage/Usage.tsx+++ b/studio/components/interfaces/BillingV2/Usage/Usage.tsx@@ -139,7 +139,7 @@ const Usage = () => {<><div><div className="1xl:px-28 mx-auto flex flex-col px-5 lg:px-16 2xl:px-32 pt-6 space-y-4">- <h3 className="text-scale-1200 text-xl">{isOrgBilling ? 'Project ' : ''}Usage</h3>+ <h3 className="text-foreground text-xl">{isOrgBilling ? 'Project ' : ''}Usage</h3></div></div><div>@@ -196,7 +196,7 @@ const Usage = () => {className={cn('flex items-center space-x-2 py-3 hover:opacity-100 transition cursor-pointer',activeTab === category.key- ? 'border-b border-scale-1200 text-scale-1200'+ ? 'border-b border-scale-1200 text-foreground': 'opacity-50')}>diff --git a/studio/components/interfaces/BillingV2/Usage/UsageSection.tsx b/studio/components/interfaces/BillingV2/Usage/UsageSection.tsxindex 8f2f147b1b6..6dcb6974b42 100644--- a/studio/components/interfaces/BillingV2/Usage/UsageSection.tsx+++ b/studio/components/interfaces/BillingV2/Usage/UsageSection.tsx@@ -14,7 +14,11 @@ import Link from 'next/link'import SparkBar from 'components/ui/SparkBar'import clsx from 'clsx'import { ProjectSubscriptionResponse } from 'data/subscriptions/project-subscription-v2-query'-import { ChartTooltipValueFormatter, ChartYFormatterCompactNumber, getUpgradeUrl } from './Usage.utils'+import {+ ChartTooltipValueFormatter,+ ChartYFormatterCompactNumber,+ getUpgradeUrl,+} from './Usage.utils'import { formatBytes } from 'lib/helpers'import UsageBarChart from './UsageBarChart'import Panel from 'components/ui/Panel'@@ -111,11 +115,11 @@ const UsageSection = ({'border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Exceeding your plans included usage will lead to restrictionsto your project.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Upgrade to a usage-based plan or disable the spend cap toavoid restrictions.</p>@@ -229,7 +233,9 @@ const UsageSection = ({data={chartData}yLeftMargin={chartMeta[attribute.key].margin}yFormatter={(value) => ChartYFormatterCompactNumber(value, attribute.unit)}- tooltipFormatter={(value) => ChartTooltipValueFormatter(value, attribute.unit)}+ tooltipFormatter={(value) =>+ ChartTooltipValueFormatter(value, attribute.unit)+ }/>) : (<Panel>@@ -255,7 +261,9 @@ const UsageSection = ({</p></div></div>- <Link href={`/project/${projectRef}/settings/billing/subscription?panel=subscriptionPlan`}>+ <Link+ href={`/project/${projectRef}/settings/billing/subscription?panel=subscriptionPlan`}+ ><a><Button type="primary">Upgrade plan</Button></a>diff --git a/studio/components/interfaces/Database/Backups/BackupItem.tsx b/studio/components/interfaces/Database/Backups/BackupItem.tsxindex e8c3fbf82b1..d049e439edf 100644--- a/studio/components/interfaces/Database/Backups/BackupItem.tsx+++ b/studio/components/interfaces/Database/Backups/BackupItem.tsx@@ -42,7 +42,7 @@ const BackupItem = ({ index, backup, onSelectBackup }: BackupItemProps) => {index ? 'border-t dark:border-dark' : ''}`}>- <p className="text-sm text-scale-1200 ">{generateBackupName(backup)}</p>+ <p className="text-sm text-foreground ">{generateBackupName(backup)}</p><div className="">{generateSideButtons(backup)}</div></div>)diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsxindex a347952ecf0..ea875c4be24 100644--- a/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx+++ b/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx@@ -48,7 +48,7 @@ const PITRNotice = ({}) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to amend subscriptions</span></div>@@ -66,7 +66,7 @@ const PITRNotice = ({}) => {<div className="space-y-2"><p className="text-sm">Recovery retention period</p><p className="text-sm text-scale-1100">- Database changes are logged every <span className="text-scale-1200">2 minutes</span>,+ 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>.</p>diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsxindex 65b0ff813cc..1bf3a21cbd9 100644--- a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx+++ b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx@@ -160,7 +160,7 @@ const PITRSelection = () => {'border-scale-200 border w-48 text-center',].join(' ')}>- <span className="text-scale-1200 text-xs">+ <span className="text-foreground text-xs">Selected date is out of range where backups are available</span></div>@@ -196,7 +196,7 @@ const PITRSelection = () => {type="button"className={`${prevMonthButtonDisabled && 'cursor-not-allowed opacity-50'}- text-scale-1100 hover:text-scale-1200 focus:outline-none+ text-scale-1100 hover:text-foreground focus:outline-none`}><IconChevronLeft size={16} strokeWidth={2} />@@ -210,7 +210,7 @@ const PITRSelection = () => {type="button"className={`${nextMonthButtonDisabled && 'cursor-not-allowed opacity-50'}- text-scale-1100 hover:text-scale-1200 focus:outline-none+ text-scale-1100 hover:text-foreground focus:outline-none`}><IconChevronRight size={16} strokeWidth={2} />diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsxindex 7b58690fb48..c51278b013e 100644--- a/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx+++ b/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx@@ -71,7 +71,7 @@ const PITRStatus = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to trigger a PITR recovery</span></div>diff --git a/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx b/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsxindex 2d8466f0ef0..435d892f5a5 100644--- a/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx+++ b/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx@@ -119,7 +119,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T'border-scale-200 border',].join(' ')}>- <span className="text-scale-1200 text-xs">Hours (HH)</span>+ <span className="text-foreground text-xs">Hours (HH)</span></div></Tooltip.Content></Tooltip.Portal>@@ -149,7 +149,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T'border-scale-200 border',].join(' ')}>- <span className="text-scale-1200 text-xs">Minutes (MM)</span>+ <span className="text-foreground text-xs">Minutes (MM)</span></div></Tooltip.Content></Tooltip.Portal>@@ -179,7 +179,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T'border-scale-200 border',].join(' ')}>- <span className="text-scale-1200 text-xs">Seconds (SS)</span>+ <span className="text-foreground text-xs">Seconds (SS)</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx b/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsxindex 9a80bb1ee56..f89150c6731 100644--- a/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx+++ b/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx@@ -113,7 +113,7 @@ const EnableExtensionModal = ({ visible, extension, onCancel }: EnableExtensionMsize="small"header={<div className="flex items-baseline gap-2">- <h5 className="text-sm text-scale-1200">Confirm to enable</h5>+ <h5 className="text-sm text-foreground">Confirm to enable</h5><code className="text-xs">{extension.name}</code></div>}diff --git a/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx b/studio/components/interfaces/Database/Extensions/ExtensionCard.tsxindex 84472274b58..fc169e254df 100644--- a/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx+++ b/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx@@ -80,7 +80,7 @@ const ExtensionCard = ({ extension }: ExtensionCardProps) => {<div className="flex items-center space-x-2 truncate"><h3title={extension.name}- className="h-5 m-0 text-sm truncate cursor-pointer text-scale-1200"+ className="h-5 m-0 text-sm truncate cursor-pointer text-foreground">{extension.name}</h3>diff --git a/studio/components/interfaces/Database/Functions/CreateFunction.tsx b/studio/components/interfaces/Database/Functions/CreateFunction.tsxindex a1e34e697cd..f6e32e04b32 100644--- a/studio/components/interfaces/Database/Functions/CreateFunction.tsx+++ b/studio/components/interfaces/Database/Functions/CreateFunction.tsx@@ -480,7 +480,7 @@ const InputMultiArguments = observer(({ readonly }: InputMultiArgumentsProps) =>return (<div><div className="flex flex-col">- <h5 className="text-base text-scale-1200">Arguments</h5>+ <h5 className="text-base text-foreground">Arguments</h5><p className="text-sm text-scale-1100">Arguments can be referenced in the function body using either names or numbers.</p>@@ -600,7 +600,7 @@ const InputMultiConfigParams = observer(({}) => {return (<div><div className="flex items-center justify-between">- <h5 className="text-base text-scale-1200">Config Params</h5>+ <h5 className="text-base text-foreground">Config Params</h5></div><div className="space-y-2 pt-4">{_localState!.formState.configParams.value.map(@@ -694,7 +694,7 @@ const InputDefinition = observer(({}) => {return (<div className="space-y-4"><div className="flex flex-col">- <h5 className="text-base text-scale-1200">Definition</h5>+ <h5 className="text-base text-foreground">Definition</h5><p className="text-sm text-scale-1100">The language below should be written in `{_localState!.formState.language.value}`.</p>diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsxindex 0d81ed8b956..85c64b75080 100644--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx@@ -45,7 +45,7 @@ const FunctionList = ({return (<Table.tr key={schema}><Table.td colSpan={4}>- <p className="text-sm text-scale-1200">No functions created yet</p>+ <p className="text-sm text-foreground">No functions created yet</p><p className="text-sm text-light">There are no functions found in the schema "{schema}"</p>@@ -58,7 +58,7 @@ const FunctionList = ({return (<Table.tr key={schema}><Table.td colSpan={4}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{filterString}" did not return any results</p>@@ -129,7 +129,7 @@ const FunctionList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update functions</span></div>diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsxindex a50847e20b5..4e3f9fa43e5 100644--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx@@ -106,7 +106,7 @@ const FunctionsList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}<Listbox.Option@@ -124,7 +124,7 @@ const FunctionsList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}</Listbox>@@ -155,7 +155,7 @@ const FunctionsList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create functions</span></div>diff --git a/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx b/studio/components/interfaces/Database/Hooks/EditHookPanel.tsxindex 5c9552c4db7..81eb0791973 100644--- a/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx+++ b/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx@@ -458,7 +458,7 @@ const FormContents = ({><div className="flex items-center space-x-2"><p className="text-scale-1000">{table.schema}</p>- <p className="text-scale-1200">{table.name}</p>+ <p className="text-foreground">{table.name}</p></div></Listbox.Option>))}@@ -502,7 +502,7 @@ const FormContents = ({<Image src={webhook.icon} layout="fixed" width="32" height="32" /><div className="flex-col space-y-0"><div className="flex space-x-2">- <p className="text-scale-1200">{webhook.label}</p>+ <p className="text-foreground">{webhook.label}</p></div><p className="text-scale-1000">{webhook.description}</p></div>diff --git a/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx b/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsxindex 65a7d8e4f7f..148378db9b6 100644--- a/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx+++ b/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx@@ -180,7 +180,7 @@ const HTTPRequestFields = ({}><div className="space-y-1">- <p className="block text-scale-1200">Add auth header with service key</p>+ <p className="block text-foreground">Add auth header with service key</p><p className="text-scale-1000">Required if your edge function enforces JWT verification</p>@@ -198,7 +198,7 @@ const HTTPRequestFields = ({}><div className="space-y-1">- <p className="block text-scale-1200">Add custom source header</p>+ <p className="block text-foreground">Add custom source header</p><p className="text-scale-1000">Useful to verify that the edge function was triggered from this webhook</p>diff --git a/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx b/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsxindex 0935158576f..c02b75ba2c3 100644--- a/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx+++ b/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx@@ -131,7 +131,7 @@ const HookList = ({ schema, filterString, editHook = noop, deleteHook = noop }:'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update webhooks</span></div>diff --git a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsxindex 17f5d89ea69..29c0304b3fa 100644--- a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx+++ b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx@@ -109,7 +109,7 @@ const HooksList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create webhooks</span></div>diff --git a/studio/components/interfaces/Database/Indexes/Indexes.tsx b/studio/components/interfaces/Database/Indexes/Indexes.tsxindex ca350bbc1d1..bf29c318c3b 100644--- a/studio/components/interfaces/Database/Indexes/Indexes.tsx+++ b/studio/components/interfaces/Database/Indexes/Indexes.tsx@@ -98,7 +98,7 @@ const Indexes = () => {<div className="pb-8"><div className="flex items-center justify-between mb-6"><div>- <h3 className="mb-1 text-xl text-scale-1200">Database Indexes</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Indexes</h3><div className="text-sm text-scale-900">Improve query performance against your database</div>@@ -186,7 +186,7 @@ const Indexes = () => {{sortedIndexes.length === 0 && search.length === 0 && (<Table.tr><Table.td colSpan={4}>- <p className="text-sm text-scale-1200">No indexes created yet</p>+ <p className="text-sm text-foreground">No indexes created yet</p><p className="text-sm text-light">There are no indexes found in the schema "{selectedSchema}"</p>@@ -196,7 +196,7 @@ const Indexes = () => {{sortedIndexes.length === 0 && search.length > 0 && (<Table.tr><Table.td colSpan={4}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{search}" did not return any results</p>diff --git a/studio/components/interfaces/Database/Migrations/Migrations.tsx b/studio/components/interfaces/Database/Migrations/Migrations.tsxindex 5cc00cf4ce7..22f2cdd039a 100644--- a/studio/components/interfaces/Database/Migrations/Migrations.tsx+++ b/studio/components/interfaces/Database/Migrations/Migrations.tsx@@ -32,7 +32,7 @@ const Migrations = () => {<div><div className="flex items-center justify-between mb-6"><div>- <h3 className="mb-1 text-xl text-scale-1200">Database Migrations</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Migrations</h3><div className="text-sm text-scale-900">History of migrations that have been run on your database</div>@@ -139,7 +139,7 @@ const Migrations = () => {) : (<Table.tr><Table.td colSpan={3}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{search}" did not return any results</p>diff --git a/studio/components/interfaces/Database/Migrations/MigrationsEmptyState.tsx b/studio/components/interfaces/Database/Migrations/MigrationsEmptyState.tsxindex ab1d31a5941..733b521fb30 100644--- a/studio/components/interfaces/Database/Migrations/MigrationsEmptyState.tsx+++ b/studio/components/interfaces/Database/Migrations/MigrationsEmptyState.tsx@@ -62,7 +62,7 @@ const MigrationsEmptyState = () => {<buttontype="button"className={clsx(- 'flex w-full items-center justify-between rounded py-3 px-6 text-scale-1200 border bg-scale-100 dark:bg-scale-300',+ 'flex w-full items-center justify-between rounded py-3 px-6 text-foreground border bg-scale-100 dark:bg-scale-300',showInstructions && 'rounded-b-none')}>diff --git a/studio/components/interfaces/Database/Roles/RoleRow.tsx b/studio/components/interfaces/Database/Roles/RoleRow.tsxindex e61b44c5f36..94a30a0f413 100644--- a/studio/components/interfaces/Database/Roles/RoleRow.tsx+++ b/studio/components/interfaces/Database/Roles/RoleRow.tsx@@ -89,7 +89,7 @@ const RoleRow = ({ role, disabled = false, onSelectDelete }: RoleRowProps) => {<buttonid="collapsible-trigger"type="button"- className="group flex w-full items-center justify-between rounded py-3 px-6 text-scale-1200"+ className="group flex w-full items-center justify-between rounded py-3 px-6 text-foreground"onClick={(event: any) => {if (event.target.id === 'collapsible-trigger') setIsExpanded(!isExpanded)}}@@ -156,7 +156,7 @@ const RoleRow = ({ role, disabled = false, onSelectDelete }: RoleRowProps) => {</button></Collapsible.Trigger><Collapsible.Content>- <div className="group border-t border-scale-500 bg-scale-100 py-6 px-20 text-scale-1200 dark:bg-scale-300">+ <div className="group border-t border-scale-500 bg-scale-100 py-6 px-20 text-foreground dark:bg-scale-300"><div className="py-4 space-y-[9px]">{Object.keys(ROLE_PERMISSIONS).map((permission) => (<Togglediff --git a/studio/components/interfaces/Database/Roles/RolesList.tsx b/studio/components/interfaces/Database/Roles/RolesList.tsxindex 85c2cd4ec62..e9e43ad9f7c 100644--- a/studio/components/interfaces/Database/Roles/RolesList.tsx+++ b/studio/components/interfaces/Database/Roles/RolesList.tsx@@ -89,7 +89,7 @@ const RolesList = ({}) => {className={['text-xs w-[90px] h-full text-center rounded-l-full flex items-center justify-center transition',filterType === 'all'- ? 'bg-scale-500 text-scale-1200'+ ? 'bg-scale-500 text-foreground': 'hover:bg-scale-400 text-scale-1100',].join(' ')}onClick={() => setFilterType('all')}@@ -101,7 +101,7 @@ const RolesList = ({}) => {className={['text-xs w-[90px] h-full text-center rounded-r-full flex items-center justify-center transition',filterType === 'active'- ? 'bg-scale-500 text-scale-1200'+ ? 'bg-scale-500 text-foreground': 'hover:bg-scale-400 text-scale-1100',].join(' ')}onClick={() => setFilterType('active')}@@ -142,7 +142,7 @@ const RolesList = ({}) => {><p className="text-xs text-scale-1100 pr-2">Connections by roles:</p>{rolesWithActiveConnections.map((role: PostgresRole) => (- <div key={role.id} className="text-xs text-scale-1200">+ <div key={role.id} className="text-xs text-foreground">{role.name}: {role.active_connections}</div>))}diff --git a/studio/components/interfaces/Database/Tables/ColumnList.tsx b/studio/components/interfaces/Database/Tables/ColumnList.tsxindex 05e06cead8b..7bef9790a04 100644--- a/studio/components/interfaces/Database/Tables/ColumnList.tsx+++ b/studio/components/interfaces/Database/Tables/ColumnList.tsx@@ -49,9 +49,9 @@ const ColumnList = ({<><div className="mb-4 flex items-center space-x-2"><div className="flex items-center space-x-2">- <h3 className="mb-1 text-xl text-scale-1200">Database Tables</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Tables</h3><IconChevronRight strokeWidth={1.5} className="text-light" />- <h3 className="mb-1 text-xl text-scale-1200">{selectedTable.name}</h3>+ <h3 className="mb-1 text-xl text-foreground">{selectedTable.name}</h3></div></div>@@ -99,7 +99,7 @@ const ColumnList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create columns</span></div>@@ -169,7 +169,7 @@ const ColumnList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to edit columns</span></div>@@ -198,7 +198,7 @@ const ColumnList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete columns</span></div>diff --git a/studio/components/interfaces/Database/Tables/TableList.tsx b/studio/components/interfaces/Database/Tables/TableList.tsxindex a6a015a0be4..f32fda19684 100644--- a/studio/components/interfaces/Database/Tables/TableList.tsx+++ b/studio/components/interfaces/Database/Tables/TableList.tsx@@ -91,7 +91,7 @@ const TableList = ({return (<><div className="mb-4">- <h3 className="mb-1 text-xl text-scale-1200">Database Tables</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Tables</h3></div><div className="flex items-center justify-between">@@ -120,7 +120,7 @@ const TableList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}<Listbox.Option@@ -138,7 +138,7 @@ const TableList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}</Listbox>@@ -177,7 +177,7 @@ const TableList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create tables</span></div>@@ -224,7 +224,7 @@ const TableList = ({{tables.length === 0 && filterString.length === 0 && (<Table.tr key={snap.selectedSchemaName}><Table.td colSpan={6}>- <p className="text-sm text-scale-1200">No tables created yet</p>+ <p className="text-sm text-foreground">No tables created yet</p><p className="text-sm text-light">There are no tables found in the schema "{snap.selectedSchemaName}"</p>@@ -234,7 +234,7 @@ const TableList = ({{tables.length === 0 && filterString.length > 0 && (<Table.tr key={snap.selectedSchemaName}><Table.td colSpan={6}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{filterString}" did not return any results</p>@@ -303,7 +303,7 @@ const TableList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to edit tables</span></div>@@ -332,7 +332,7 @@ const TableList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete tables</span></div>diff --git a/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx b/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsxindex da009d1c9b3..ffc24fab8ba 100644--- a/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx+++ b/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx@@ -44,7 +44,7 @@ const TriggerList = ({return (<Table.tr key={schema}><Table.td colSpan={6}>- <p className="text-sm text-scale-1200">No triggers created yet</p>+ <p className="text-sm text-foreground">No triggers created yet</p><p className="text-sm text-light">There are no triggers found in the schema "{schema}"</p></Table.td></Table.tr>@@ -55,7 +55,7 @@ const TriggerList = ({return (<Table.tr key={schema}><Table.td colSpan={5}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{filterString}" did not return any results</p>@@ -146,7 +146,7 @@ const TriggerList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update triggers</span></div>diff --git a/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx b/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsxindex 9687e6a4afc..e7d5e3ca61f 100644--- a/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx+++ b/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx@@ -100,7 +100,7 @@ const TriggersList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}<Listbox.Option@@ -118,7 +118,7 @@ const TriggersList = ({label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}</Listbox>@@ -148,7 +148,7 @@ const TriggersList = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create triggers</span></div>diff --git a/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx b/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsxindex ae1776db2ba..23193e52b11 100644--- a/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx+++ b/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx@@ -138,7 +138,7 @@ const CreateWrapper = () => {</a></Link></div>- <h3 className="mb-2 text-xl text-scale-1200">Create a {wrapperMeta.label} Wrapper</h3>+ <h3 className="mb-2 text-xl text-foreground">Create a {wrapperMeta.label} Wrapper</h3><div className="flex items-center space-x-2"><Link href={wrapperMeta.docsUrl}><a target="_blank" rel="noreferrer">diff --git a/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx b/studio/components/interfaces/Database/Wrappers/EditWrapper.tsxindex 8b2b4324838..63f9988ee80 100644--- a/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx+++ b/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx@@ -189,7 +189,7 @@ const EditWrapper = () => {</a></Link></div>- <h3 className="mb-2 text-xl text-scale-1200">Edit wrapper: {wrapper.name}</h3>+ <h3 className="mb-2 text-xl text-foreground">Edit wrapper: {wrapper.name}</h3><div className="flex items-center space-x-2"><Link href="https://supabase.github.io/wrappers/stripe/"><a target="_blank" rel="noreferrer">diff --git a/studio/components/interfaces/Database/Wrappers/InputField.tsx b/studio/components/interfaces/Database/Wrappers/InputField.tsxindex 3eec5cde850..9faff0ef110 100644--- a/studio/components/interfaces/Database/Wrappers/InputField.tsx+++ b/studio/components/interfaces/Database/Wrappers/InputField.tsx@@ -32,7 +32,7 @@ const InputField = ({ option, loading, error }: InputFieldProps) => {<IconHelpCirclestrokeWidth={2}size={14}- className="text-scale-1000 hover:text-scale-1200 cursor-pointer transition"+ className="text-scale-1000 hover:text-foreground cursor-pointer transition"/></a></Link>@@ -60,7 +60,7 @@ const InputField = ({ option, loading, error }: InputFieldProps) => {<IconHelpCirclestrokeWidth={2}size={14}- className="text-scale-1000 hover:text-scale-1200 cursor-pointer transition"+ className="text-scale-1000 hover:text-foreground cursor-pointer transition"/></a></Link>diff --git a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsxindex d4460a8bba3..8b9d042322b 100644--- a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx+++ b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx@@ -50,7 +50,7 @@ const WrapperRow = ({<Collapsible.Trigger asChild><buttontype="button"- className="flex items-center justify-between w-full px-6 py-3 rounded group text-scale-1200"+ className="flex items-center justify-between w-full px-6 py-3 rounded group text-foreground"><div className="flex items-center gap-3"><IconChevronUp@@ -67,14 +67,14 @@ const WrapperRow = ({<span className="text-sm capitalize">{wrapperMeta.label}</span></div><div className="flex items-center gap-3">- <div className="px-3 py-1 text-xs border rounded-md border-scale-500 bg-scale-100 text-scale-1200 dark:border-scale-700 dark:bg-scale-300">+ <div className="px-3 py-1 text-xs border rounded-md border-scale-500 bg-scale-100 text-foreground dark:border-scale-700 dark:bg-scale-300">{wrappers.length} wrapper{wrappers.length > 1 ? 's' : ''}</div></div></button></Collapsible.Trigger><Collapsible.Content>- <div className="border-t group border-scale-500 bg-scale-100 text-scale-1200 dark:bg-scale-300 divide-y">+ <div className="border-t group border-scale-500 bg-scale-100 text-foreground dark:bg-scale-300 divide-y">{wrappers.map((wrapper) => {const serverOptions = Object.fromEntries(wrapper.server_options.map((option: any) => option.split('='))@@ -167,7 +167,7 @@ const WrapperRow = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to edit wrappers</span></div>@@ -196,7 +196,7 @@ const WrapperRow = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add wrappers</span></div>diff --git a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx b/studio/components/interfaces/Database/Wrappers/Wrappers.tsxindex 6a2816aefe1..2db821b5986 100644--- a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx+++ b/studio/components/interfaces/Database/Wrappers/Wrappers.tsx@@ -43,7 +43,7 @@ const Wrappers = () => {<div><div className="flex items-center justify-between mb-6"><div>- <h3 className="mb-1 text-xl text-scale-1200">Foreign Data Wrappers</h3>+ <h3 className="mb-1 text-xl text-foreground">Foreign Data Wrappers</h3><div className="text-sm text-scale-900">Query your data warehouse directly from your database, or third-party APIs using SQL.</div>diff --git a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsxindex 2fc27512e7e..eb3c7be536e 100644--- a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx+++ b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx@@ -146,7 +146,7 @@ const WrappersDisabledState = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to enable Wrappers for this project</span></div>diff --git a/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx b/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsxindex a44288c5a94..676aac14bb5 100644--- a/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx+++ b/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx@@ -36,7 +36,7 @@ const WrapperDropdown = ({ buttonText = 'Add wrapper', align = 'end' }: WrapperD'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add wrappers</span></div>diff --git a/studio/components/interfaces/Docs/Description.tsx b/studio/components/interfaces/Docs/Description.tsxindex a4f686417a2..e308488d9b4 100644--- a/studio/components/interfaces/Docs/Description.tsx+++ b/studio/components/interfaces/Docs/Description.tsx@@ -78,7 +78,7 @@ const Description = ({ content, metadata, onChange = noop }: DescrptionProps) =>if (!canUpdateDescription) {return (- <span className={`block ${value ? 'text-scale-1200' : ''}`}>{value || 'No description'}</span>+ <span className={`block ${value ? 'text-foreground' : ''}`}>{value || 'No description'}</span>)}diff --git a/studio/components/interfaces/Docs/LangSelector.tsx b/studio/components/interfaces/Docs/LangSelector.tsxindex 2d89f836c53..b249af8c454 100644--- a/studio/components/interfaces/Docs/LangSelector.tsx+++ b/studio/components/interfaces/Docs/LangSelector.tsx@@ -36,9 +36,9 @@ const LangSelector = ({onClick={() => setSelectedLang('js')}className={`${selectedLang == 'js'- ? 'bg-scale-300 font-medium text-scale-1200 dark:bg-scale-200'+ ? 'bg-scale-300 font-medium text-foreground dark:bg-scale-200': 'bg-scale-100 text-scale-900 dark:bg-scale-100'- } relative inline-flex items-center border-r border-scale-200 p-1 px-2 text-sm transition hover:text-scale-1200 focus:outline-none`}+ } relative inline-flex items-center border-r border-scale-200 p-1 px-2 text-sm transition hover:text-foreground focus:outline-none`}>JavaScript</button>@@ -47,9 +47,9 @@ const LangSelector = ({onClick={() => setSelectedLang('bash')}className={`${selectedLang == 'bash'- ? 'bg-scale-300 font-medium text-scale-1200 dark:bg-scale-200'+ ? 'bg-scale-300 font-medium text-foreground dark:bg-scale-200': 'bg-scale-100 text-scale-900 dark:bg-scale-100'- } relative inline-flex items-center border-r border-scale-200 p-1 px-2 text-sm transition hover:text-scale-1200 focus:outline-none`}+ } relative inline-flex items-center border-r border-scale-200 p-1 px-2 text-sm transition hover:text-foreground focus:outline-none`}>Bash</button>diff --git a/studio/components/interfaces/Docs/Param.tsx b/studio/components/interfaces/Docs/Param.tsxindex 15aba34245b..be3a09263ca 100644--- a/studio/components/interfaces/Docs/Param.tsx+++ b/studio/components/interfaces/Docs/Param.tsx@@ -51,7 +51,7 @@ const Param = ({</label><div className="flex items-center gap-4">- <span className="text-md text-scale-1200 pb-0.5">{name}</span>+ <span className="text-md text-foreground pb-0.5">{name}</span></div></div></div>diff --git a/studio/components/interfaces/Docs/ResourceContent.tsx b/studio/components/interfaces/Docs/ResourceContent.tsxindex 3b86b547524..9b8cca2f57b 100644--- a/studio/components/interfaces/Docs/ResourceContent.tsx+++ b/studio/components/interfaces/Docs/ResourceContent.tsx@@ -40,7 +40,7 @@ const ResourceContent = ({return (<>- <h2 className="doc-section__table-name text-scale-1200 mt-0 flex items-center px-6 gap-2">+ <h2 className="doc-section__table-name text-foreground mt-0 flex items-center px-6 gap-2"><span className="bg-slate-300 dark:bg-slate-400 p-2 rounded-lg"><IconTable size="small" /></span>@@ -97,7 +97,7 @@ const ResourceContent = ({)}{methods.includes('GET') && (<>- <h3 className="text-scale-1200 mt-4 px-6">Read rows</h3>+ <h3 className="text-foreground mt-4 px-6">Read rows</h3><div className="doc-section"><article className="text "><p>@@ -161,7 +161,7 @@ const ResourceContent = ({)}{methods.includes('POST') && (<>- <h3 className="text-scale-1200 mt-4 px-6">Insert rows</h3>+ <h3 className="text-foreground mt-4 px-6">Insert rows</h3><div className="doc-section"><article className="text "><p>@@ -200,7 +200,7 @@ const ResourceContent = ({)}{methods.includes('PATCH') && (<>- <h3 className="text-scale-1200 mt-4 px-6">Update rows</h3>+ <h3 className="text-foreground mt-4 px-6">Update rows</h3><div className="doc-section"><article className="text "><p>@@ -232,7 +232,7 @@ const ResourceContent = ({)}{methods.includes('DELETE') && (<>- <h3 className="text-scale-1200 mt-4 px-6">Delete rows</h3>+ <h3 className="text-foreground mt-4 px-6">Delete rows</h3><div className="doc-section"><article className="text "><p>@@ -260,7 +260,7 @@ const ResourceContent = ({)}{(methods.includes('DELETE') || methods.includes('POST') || methods.includes('PATCH')) && (<>- <h3 className="text-scale-1200 mt-4 px-6">Subscribe to changes</h3>+ <h3 className="text-foreground mt-4 px-6">Subscribe to changes</h3><div className="doc-section"><article className="text "><p>diff --git a/studio/components/interfaces/Docs/RpcContent.tsx b/studio/components/interfaces/Docs/RpcContent.tsxindex 4ae7a1b0f89..e76462ab884 100644--- a/studio/components/interfaces/Docs/RpcContent.tsx+++ b/studio/components/interfaces/Docs/RpcContent.tsx@@ -36,7 +36,7 @@ const RpcContent = ({return (<>- <h2 className="text-scale-1200 mt-0">+ <h2 className="text-foreground mt-0"><span className="px-6 text-2xl">{meta.id}</span></h2>@@ -61,7 +61,7 @@ const RpcContent = ({</div>{rpcParams.length > 0 && (<div>- <h3 className="text-scale-1200 mt-0 px-6 capitalize">Function Arguments</h3>+ <h3 className="text-foreground mt-0 px-6 capitalize">Function Arguments</h3>{rpcParams.map((x, i) => {return (<div key={i} className="doc-section">diff --git a/studio/components/interfaces/Functions/CommandRender.tsx b/studio/components/interfaces/Functions/CommandRender.tsxindex c56be3351b5..221360b67ef 100644--- a/studio/components/interfaces/Functions/CommandRender.tsx+++ b/studio/components/interfaces/Functions/CommandRender.tsx@@ -19,13 +19,13 @@ const Command = ({ item }: any) => {<div className="space-y-1"><span className="font-mono text-sm text-scale-900">{`> ${item.comment}`}</span><div className="flex items-center gap-2">- <div className="flex gap-2 font-mono text-sm font-normal text-scale-1200">+ <div className="flex gap-2 font-mono text-sm font-normal text-foreground"><span className="text-scale-900">$</span><span><span className="">{item.jsx ? item.jsx() : null} </span><buttontype="button"- className="text-scale-900 hover:text-scale-1200"+ className="text-scale-900 hover:text-foreground"onClick={() => {function onCopy(value: any) {setIsCopied(true)diff --git a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsxindex 48fcd0ee1ed..a53fabc2ed7 100644--- a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx+++ b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx@@ -220,7 +220,7 @@ const EdgeFunctionDetails = () => {><div className="flex items-center justify-between"><div className="flex items-center space-x-3">- <div className="flex h-8 w-8 items-center justify-center rounded border bg-scale-1200 p-2 text-scale-100 dark:bg-scale-100 dark:text-scale-1200">+ <div className="flex h-8 w-8 items-center justify-center rounded border bg-scale-1200 p-2 text-scale-100 dark:bg-scale-100 dark:text-foreground"><IconTerminal strokeWidth={2} /></div><h4>Command line access</h4>@@ -275,7 +275,7 @@ const EdgeFunctionDetails = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete an edge function</span></div>diff --git a/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx b/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsxindex c2d9dfc012d..fc577d0efac 100644--- a/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx+++ b/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx@@ -43,7 +43,7 @@ const EdgeFunctionSecrets = () => {return (<><div>- <h3 className="mb-2 text-xl text-scale-1200">Edge Function Secrets Management</h3>+ <h3 className="mb-2 text-xl text-foreground">Edge Function Secrets Management</h3><div className="text-sm text-scale-900">Manage the secrets for your project's edge functions</div>@@ -93,7 +93,7 @@ const EdgeFunctionSecrets = () => {) : secrets.length === 0 && searchString.length > 0 ? (<Table.tr><Table.td colSpan={3}>- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-light">Your search for "{searchString}" did not return any results</p>@@ -102,7 +102,7 @@ const EdgeFunctionSecrets = () => {) : (<Table.tr><Table.td colSpan={3}>- <p className="text-sm text-scale-1200">No secrets created</p>+ <p className="text-sm text-foreground">No secrets created</p><p className="text-sm text-light">There are no secrets associated with your project yet</p>diff --git a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsxindex cc40c235b31..5aec55b598d 100644--- a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx+++ b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx@@ -42,7 +42,7 @@ const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemProps) =><Table.td className=""><div className="flex items-center gap-2">- <p className="text-sm text-scale-1200">{item.name}</p>+ <p className="text-sm text-foreground">{item.name}</p></div></Table.td><Table.td className="">@@ -50,7 +50,7 @@ const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemProps) =<p className="font-mono truncate hidden md:inline">{endpoint}</p><buttontype="button"- className="text-scale-900 hover:text-scale-1200 transition"+ className="text-scale-900 hover:text-foreground transition"onClick={(event: any) => {function onCopy(value: any) {setIsCopied(true)@@ -96,7 +96,7 @@ const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemProps) ='border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Last updated on {dayjs(item.updated_at).format('DD MMM, YYYY HH:mm')}</span></div>diff --git a/studio/components/interfaces/Functions/FunctionsEmptyState.tsx b/studio/components/interfaces/Functions/FunctionsEmptyState.tsxindex 0e55b1d6103..53f27c1d26b 100644--- a/studio/components/interfaces/Functions/FunctionsEmptyState.tsx+++ b/studio/components/interfaces/Functions/FunctionsEmptyState.tsx@@ -7,7 +7,7 @@ const FunctionsEmptyState = () => {<><div className="grid max-w-7xl gap-y-12 py-12 lg:grid-cols-12 lg:gap-x-16"><div className="col-span-5 space-y-4">- <p className="max-w-lg text-base text-scale-1200">+ <p className="max-w-lg text-base text-foreground">Scalable functions to run your code with no server management.</p><p className="max-w-lg text-sm text-scale-1100">diff --git a/studio/components/interfaces/Functions/TerminalInstructions.tsx b/studio/components/interfaces/Functions/TerminalInstructions.tsxindex 216a4c6faa7..554a31f9914 100644--- a/studio/components/interfaces/Functions/TerminalInstructions.tsx+++ b/studio/components/interfaces/Functions/TerminalInstructions.tsx@@ -118,7 +118,7 @@ const TerminalInstructions = ({{tokens && tokens.length === 0 ? (<div className="px-8 py-6 space-y-3 border-t"><div>- <h3 className="text-base text-scale-1200">You may need to create an access token</h3>+ <h3 className="text-base text-foreground">You may need to create an access token</h3><p className="text-sm text-scale-1100">You can create a secure access token in your account section</p>@@ -130,7 +130,7 @@ const TerminalInstructions = ({) : (<div className="px-8 py-6 space-y-3 border-t"><div>- <h3 className="text-base text-scale-1200">Need help?</h3>+ <h3 className="text-base text-foreground">Need help?</h3><p className="text-sm text-scale-1100">Read the documentation, or browse some sample code.</p>diff --git a/studio/components/interfaces/Home/ClientLibrary.tsx b/studio/components/interfaces/Home/ClientLibrary.tsxindex ddd8dea5ec4..63996fe2d52 100644--- a/studio/components/interfaces/Home/ClientLibrary.tsx+++ b/studio/components/interfaces/Home/ClientLibrary.tsx@@ -28,7 +28,7 @@ const ClientLibrary = ({/><div className="space-y-4"><div>- <h5 className="flex items-center gap-2 text-base text-scale-1200">+ <h5 className="flex items-center gap-2 text-base text-foreground">{language} {!officialSupport && <Badge color="green">Community</Badge>}</h5></div>diff --git a/studio/components/interfaces/Home/ExampleProject.tsx b/studio/components/interfaces/Home/ExampleProject.tsxindex 897e4f27d89..6b169e013d9 100644--- a/studio/components/interfaces/Home/ExampleProject.tsx+++ b/studio/components/interfaces/Home/ExampleProject.tsx@@ -41,7 +41,7 @@ const ExampleProject = ({ framework, title, description, url }: ExampleProjectPr/></div><div className="w-4/5 space-y-2">- <h5 className="text-scale-1200">{title}</h5>+ <h5 className="text-foreground">{title}</h5><p className="text-sm text-scale-1000">{description}</p></div><div@@ -53,7 +53,7 @@ const ExampleProject = ({ framework, title, description, url }: ExampleProjectPrtransition-allduration-200group-hover:right-3- group-hover:text-scale-1200+ group-hover:text-foreground"><IconChevronRight />diff --git a/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx b/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsxindex d4401fd7a21..c4745876262 100644--- a/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx+++ b/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx@@ -10,42 +10,42 @@ const GetStartedHero = () => {<div className="text-xs font-mono space-x-4 flex items-center"><span className="text-scale-1000">1</span><p className="text-blue-900">- create table <span className="text-scale-1200">countries {`(`}</span>+ create table <span className="text-foreground">countries {`(`}</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">2</span>- <p className="text-scale-1200">+ <p className="text-foreground">id <span className="text-blue-900">bigint generated by default</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">3</span>- <p className="text-scale-1200">+ <p className="text-foreground">name <span className="text-blue-900">text</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">4</span>- <p className="text-scale-1200">+ <p className="text-foreground">iso2 <span className="text-blue-900">text not null</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">5</span>- <p className="text-scale-1200">+ <p className="text-foreground">iso3 <span className="text-blue-900">text</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">6</span>- <p className="text-scale-1200">+ <p className="text-foreground">local_name <span className="text-blue-900">text</span></p></div><div className="text-xs font-mono space-x-8 flex items-center"><span className="text-scale-1000">7</span>- <p className="text-scale-1200">+ <p className="text-foreground">continent <span className="text-blue-900">continents</span></p></div>diff --git a/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsxindex b27c0c78a8d..f8c3599b89d 100644--- a/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx+++ b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx@@ -19,7 +19,7 @@ const NewProjectPanel = () => {<div className="flex flex-col space-y-20"><div className="flex h-full flex-col justify-between"><div className="space-y-2">- <h3 className="text-xl text-scale-1200">Welcome to your new project</h3>+ <h3 className="text-xl text-foreground">Welcome to your new project</h3><p className="text-base text-scale-1100">Your project has been deployed on its own instance, with its own API all set up andready to use.@@ -30,7 +30,7 @@ const NewProjectPanel = () => {<div className="grid grid-cols-12 gap-4"><div className="col-span-12 flex flex-col justify-center space-y-8 lg:col-span-7"><div className="space-y-2">- <h3 className="text-xl text-scale-1200">+ <h3 className="text-xl text-foreground">Get started by building out your database</h3><p className="text-base text-scale-1100">@@ -96,7 +96,7 @@ const NewProjectPanel = () => {<div className="flex h-full flex-col justify-between space-y-6"><div className="max-w-2xl space-y-2">- <h3 className="text-xl text-scale-1200">Explore our other products</h3>+ <h3 className="text-xl text-foreground">Explore our other products</h3><p className="text-base text-scale-1100">Supabase provides all the backend features you need to build a product. You can useit completely, or just the features you need.@@ -241,7 +241,7 @@ const NewProjectPanel = () => {<div className="col-span-12 lg:col-span-4"><div className="space-y-6"><div className="space-y-2">- <h3 className="text-xl text-scale-1200">Connecting to your new project</h3>+ <h3 className="text-xl text-foreground">Connecting to your new project</h3><p className="text-base text-scale-1100 lg:max-w-sm">Interact with your database through the{' '}<Link href="https://supabase.com/docs/reference">diff --git a/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx b/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsxindex 56dda8f2de7..e18c5f8fe3f 100644--- a/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx+++ b/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx@@ -239,7 +239,7 @@ const AuditLogs = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{dateSortDesc ? 'Sort latest first' : 'Sort earliest first'}</span></div>diff --git a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsxindex 4df99f1b341..76943acadac 100644--- a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx+++ b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx@@ -203,7 +203,7 @@ const PaymentMethods = () => {'w-48 border border-scale-200 text-center', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Your default payment method cannot be deleted</span></div>diff --git a/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx b/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsxindex 127f9741f06..49bbd403f18 100644--- a/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx+++ b/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx@@ -26,7 +26,7 @@ const ProjectUpdateDisabledTooltip = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{projectUpdateDisabled? 'Subscription changes are currently disabled. Our engineers are working on a fix.': projectNotActivediff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsxindex 00dd069207f..8a5b6aabfd9 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx@@ -35,7 +35,9 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetricconst isExceededLimit = hasLimit && usageRatio >= 1const usageCurrentLabel =- metric.units === 'bytes' ? `${usageMeta?.usage?.toLocaleString() ?? 0} GB` : usageMeta?.usage?.toLocaleString()+ metric.units === 'bytes'+ ? `${usageMeta?.usage?.toLocaleString() ?? 0} GB`+ : usageMeta?.usage?.toLocaleString()const usageLimitLabel =metric.units === 'bytes'? `${usageMeta?.pricing_free_units ?? 0} GB`@@ -55,7 +57,7 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetric<Link href={`/org/${slug}/usage#${metric.anchor}`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">{metric.name}</p><IconChevronRight@@ -83,7 +85,7 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetric'border border-scale-200',].join(' ')}>- <div className="text-xs text-scale-1200">+ <div className="text-xs text-foreground">{usageFee.pricingStrategy === 'UNIT' ? (<div><p>@@ -138,10 +140,10 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetric'border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Exceeding your plans included usage will lead to restrictions to your project.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Upgrade to a usage-based plan or disable the spend cap to avoid restrictions.</p></div>diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsxindex c24aad41851..7a71b763d59 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx@@ -178,7 +178,7 @@ const SpendCapSidePanel = () => {<><Table.tr key={categoryId}><Table.td>- <p className="text-xs text-scale-1200">{category.title}</p>+ <p className="text-xs text-foreground">{category.title}</p></Table.td><Table.td>{null}</Table.td></Table.tr>@@ -260,8 +260,8 @@ const SpendCapSidePanel = () => {<pclassName={clsx('text-sm transition',- !isFreePlan && 'group-hover:text-scale-1200',- isSelected ? 'text-scale-1200' : 'text-scale-1000'+ !isFreePlan && 'group-hover:text-foreground',+ isSelected ? 'text-foreground' : 'text-scale-1000')}>{option.name}diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/EnterpriseCard.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/EnterpriseCard.tsxindex cbf139f924b..ec7f8a2a344 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/EnterpriseCard.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/EnterpriseCard.tsx@@ -44,7 +44,7 @@ const EnterpriseCard = ({ plan, isCurrentPlan }: EnterpriseCardProps) => {{plan.features.map((feature) => (<li key={feature} className="flex items-center py-2 first:mt-0"><IconCheck className="text-brand h-4 w-4" aria-hidden="true" strokeWidth={3} />- <span className="dark:text-scale-1200 mb-0 ml-3 ">{feature}</span>+ <span className="dark:text-foreground mb-0 ml-3 ">{feature}</span></li>))}</ul>diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/ExitSurveyModal.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/ExitSurveyModal.tsxindex 4e57308e7f2..20c3840924a 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/ExitSurveyModal.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/ExitSurveyModal.tsx@@ -158,7 +158,7 @@ const ExitSurveyModal = ({ visible, subscription, onClose }: ExitSurveyModalProp${active? ` bg-scale-1200 text-scale-100 opacity-100 hover:bg-opacity-75`- : ` bg-scale-700 text-scale-1200 opacity-25 hover:opacity-50`+ : ` bg-scale-700 text-foreground opacity-25 hover:opacity-50`}`}>diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PaymentMethodSelection.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PaymentMethodSelection.tsxindex 2f654f39ffa..986025ba721 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PaymentMethodSelection.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PaymentMethodSelection.tsx@@ -92,7 +92,7 @@ const PaymentMethodSelection = ({disabled={!canUpdatePaymentMethods}icon={<IconCreditCard />}onClick={() => setShowAddNewPaymentMethodModal(true)}- htmlType='button'+ htmlType="button">Add new</Button>@@ -107,7 +107,7 @@ const PaymentMethodSelection = ({'w-48 border border-scale-200 text-center', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add new payment methods to thisorganization</span>@@ -153,7 +153,7 @@ const PaymentMethodSelection = ({onClick={() => setShowAddNewPaymentMethodModal(true)}><IconPlus size={16} />- <p className="transition text-scale-1000 group-hover:text-scale-1200">+ <p className="transition text-scale-1000 group-hover:text-foreground">Add new payment method</p></div>diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsxindex 3b3a11436f8..61d09b7175f 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx@@ -196,7 +196,7 @@ const PlanUpdateSidePanel = () => {<ShimmeringLoader className="w-[30px] h-[24px]" /></div>) : (- <p className="text-scale-1200 text-lg">${price}</p>+ <p className="text-foreground text-lg">${price}</p>)}<p className="text-scale-1000 text-sm">{tierMeta?.costUnitOrg}</p></div>@@ -252,7 +252,7 @@ const PlanUpdateSidePanel = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You do not have permission to change the subscription plan.</span></div>diff --git a/studio/components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsx b/studio/components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsxindex c1804f245f3..18e6d7b308d 100644--- a/studio/components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsx+++ b/studio/components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsx@@ -65,7 +65,7 @@ const DeleteOrganizationButton = () => {onCancel={() => setIsOpen(false)}header={<div className="flex items-baseline gap-2">- <h5 className="text-sm text-scale-1200">Delete organisation</h5>+ <h5 className="text-sm text-foreground">Delete organization</h5><span className="text-xs text-scale-900">Are you sure?</span></div>}@@ -80,8 +80,8 @@ const DeleteOrganizationButton = () => {<div className="space-y-4 py-3"><Modal.Content><p className="text-sm text-scale-900">- This action <span className="text-scale-1200">cannot</span> be undone. This will- permanently delete the <span className="text-scale-1200">{orgName}</span>{' '}+ This action <span className="text-foreground">cannot</span> be undone. This will+ permanently delete the <span className="text-foreground">{orgName}</span>{' '}organization and remove all of its projects.</p></Modal.Content>diff --git a/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx b/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsxindex 9843a2aefdb..04b6c564687 100644--- a/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx+++ b/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx@@ -149,7 +149,7 @@ const MigrateOrganizationBillingButton = observer(() => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{!canMigrateOrg? 'You need additional permissions to migrate this organization': 'Migrations are temporarily disabled, please try again later.'}@@ -168,7 +168,7 @@ const MigrateOrganizationBillingButton = observer(() => {onCancel={toggle}header={<div className="flex items-baseline gap-2">- <h5 className="text-sm text-scale-1200">Migrate organization</h5>+ <h5 className="text-sm text-foreground">Migrate organization</h5></div>}>diff --git a/studio/components/interfaces/Organization/NewProject/FreeProjectLimitWarning.tsx b/studio/components/interfaces/Organization/NewProject/FreeProjectLimitWarning.tsxindex 1d05c9c572c..6d2cf6b26bb 100644--- a/studio/components/interfaces/Organization/NewProject/FreeProjectLimitWarning.tsx+++ b/studio/components/interfaces/Organization/NewProject/FreeProjectLimitWarning.tsx@@ -18,7 +18,7 @@ const FreeProjectLimitWarning = ({return (<div><InformationBox- icon={<IconAlertCircle className="text-scale-1200" size="large" strokeWidth={1.5} />}+ icon={<IconAlertCircle className="text-foreground" size="large" strokeWidth={1.5} />}defaultVisibility={true}hideCollapsetitle="The organization has members who have exceeded their free project limits"diff --git a/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel.tsx b/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel.tsxindex 2ee0a6fe602..60848885cae 100644--- a/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel.tsx+++ b/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel.tsx@@ -267,7 +267,7 @@ const PublishAppSidePanel = ({(uploadButtonRef.current as any).click()}}>- <IconUpload size={18} strokeWidth={1.5} className="text-scale-1200" />+ <IconUpload size={18} strokeWidth={1.5} className="text-foreground" /><p className="text-xs text-scale-1100">Upload logo</p></div>)}diff --git a/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx b/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsxindex 9d01e5e1dcb..699bec7fd3f 100644--- a/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx@@ -108,7 +108,7 @@ const InviteMemberButton = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to invite a member to this organization</span></div>diff --git a/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx b/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsxindex 180f16f771a..9faa7762684 100644--- a/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx@@ -123,7 +123,7 @@ const MemberActions = ({ member, roles }: MemberActionsProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to manage this team member</span></div>diff --git a/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx b/studio/components/interfaces/Organization/TeamSettings/MembersView.tsxindex 8d30a6d915b..3f96c915885 100644--- a/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx@@ -187,7 +187,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {)}</div><div>- <p className="text-scale-1200">{getUserDisplayName(x)}</p>+ <p className="text-foreground">{getUserDisplayName(x)}</p>{x.invited_id === undefined && (<p className="text-scale-1100">{x.primary_email}</p>)}@@ -240,7 +240,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Role can only be changed after the user has accepted theinvite</span>@@ -257,7 +257,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to manage this team member</span></div>@@ -283,7 +283,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">This user has an invalid role, please reach out to us viasupport</span>@@ -346,12 +346,12 @@ const MembersView = ({ searchString }: MembersViewProps) => {<Modal.Content><p className="text-sm text-scale-1100">You are changing the role of{' '}- <span className="text-scale-1200">{getUserDisplayName(selectedMember)}</span> from{' '}- <span className="text-scale-1200">{getRoleNameById(selectedMember?.oldRoleId)}</span>{' '}+ <span className="text-foreground">{getUserDisplayName(selectedMember)}</span> from{' '}+ <span className="text-foreground">{getRoleNameById(selectedMember?.oldRoleId)}</span>{' '}to{' '}- <span className="text-scale-1200">{getRoleNameById(selectedMember?.newRoleId)}</span>+ <span className="text-foreground">{getRoleNameById(selectedMember?.newRoleId)}</span></p>- <p className="mt-3 text-sm text-scale-1200">+ <p className="mt-3 text-sm text-foreground">By changing the role of this member their permissions will change.</p></Modal.Content>diff --git a/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx b/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsxindex 0a0024a4a99..cdb4996658b 100644--- a/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx@@ -25,7 +25,7 @@ const RolesHelperModal = () => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">Only available in Team/Enterprise plan.</span>+ <span className="text-xs text-foreground">Only available in Team/Enterprise plan.</span></div></Tooltip.Content></Tooltip.Portal>@@ -37,7 +37,7 @@ const RolesHelperModal = () => {<IconHelpCirclesize={16}strokeWidth={1.5}- className="cursor-pointer transition hover:text-scale-1200"+ className="cursor-pointer transition hover:text-foreground"onClick={() => setShowModal(!showModal)}/><Modaldiff --git a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsxindex fb50d911e68..3550faf55ec 100644--- a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx@@ -124,7 +124,7 @@ const TeamSettings = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">An organization requires at least 1 owner</span></div>diff --git a/studio/components/interfaces/Organization/Usage/SectionContent.tsx b/studio/components/interfaces/Organization/Usage/SectionContent.tsxindex a316df9e863..cc4017df337 100644--- a/studio/components/interfaces/Organization/Usage/SectionContent.tsx+++ b/studio/components/interfaces/Organization/Usage/SectionContent.tsx@@ -38,7 +38,7 @@ const SectionContent = ({</div>{links && links.length && (<div className="space-y-2">- <p className="text-sm text-scale-1200 dark:text-scale-1100 mb-2">+ <p className="text-sm text-foreground dark:text-scale-1100 mb-2">More information</p>{links.map((link) => (diff --git a/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx b/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsxindex 0f0eac9c854..9454d073b27 100644--- a/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx+++ b/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx@@ -134,11 +134,11 @@ const AttributeUsage = ({'border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Exceeding your plans included usage will lead to restrictions toyour project.</p>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">Upgrade to a usage-based plan or disable the spend cap to avoidrestrictions.</p>diff --git a/studio/components/interfaces/Reports/ReportFilterBar.tsx b/studio/components/interfaces/Reports/ReportFilterBar.tsxindex 7cfae6d89a5..6e54c699323 100644--- a/studio/components/interfaces/Reports/ReportFilterBar.tsx+++ b/studio/components/interfaces/Reports/ReportFilterBar.tsx@@ -222,7 +222,7 @@ const ReportFilterBar = ({align="end"header={<div className="flex justify-between items-center py-1">- <h5 className="text-sm text-scale-1200">Add Filter</h5>+ <h5 className="text-sm text-foreground">Add Filter</h5><Buttontype="primary"diff --git a/studio/components/interfaces/Reports/ReportHeader.tsx b/studio/components/interfaces/Reports/ReportHeader.tsxindex 62b51c36035..7b2fbafbbb1 100644--- a/studio/components/interfaces/Reports/ReportHeader.tsx+++ b/studio/components/interfaces/Reports/ReportHeader.tsx@@ -8,7 +8,7 @@ interface Props {const ReportHeader: React.FC<Props> = ({ title, onRefresh, isLoading }) => (<div className="flex flex-row justify-between gap-4 items-center">- <h1 className="text-2xl text-scale-1200">{title}</h1>+ <h1 className="text-2xl text-foreground">{title}</h1><Buttontype="default"size="tiny"diff --git a/studio/components/interfaces/Reports/ReportWidget.tsx b/studio/components/interfaces/Reports/ReportWidget.tsxindex 6ada6bc5b4c..081b456b5c8 100644--- a/studio/components/interfaces/Reports/ReportWidget.tsx+++ b/studio/components/interfaces/Reports/ReportWidget.tsx@@ -56,7 +56,7 @@ const ReportWidget: React.FC<ReportWidgetProps> = (props) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">{props.tooltip}</span>+ <span className="text-xs text-foreground">{props.tooltip}</span></div></Tooltip.Content></Tooltip.Portal>@@ -93,7 +93,7 @@ const ReportWidget: React.FC<ReportWidgetProps> = (props) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Open in Logs Explorer</span>+ <span className="text-xs text-foreground">Open in Logs Explorer</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/interfaces/Reports/Reports.tsx b/studio/components/interfaces/Reports/Reports.tsxindex f08e517394c..ebac12cf501 100644--- a/studio/components/interfaces/Reports/Reports.tsx+++ b/studio/components/interfaces/Reports/Reports.tsx@@ -304,7 +304,7 @@ const Reports = () => {return (<div className="mx-6 flex flex-col space-y-4" style={{ maxHeight: '100%' }}>- <h1 className="text-xl text-scale-1200">Reports</h1>+ <h1 className="text-xl text-foreground">Reports</h1><div className="mb-4 flex items-center justify-between space-x-3"><div className="flex items-center space-x-3">@@ -370,7 +370,7 @@ const Reports = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update this project's report</span></div>diff --git a/studio/components/interfaces/Reports/Statistic.tsx b/studio/components/interfaces/Reports/Statistic.tsxindex 3cc6cd8bdac..92211cd5053 100644--- a/studio/components/interfaces/Reports/Statistic.tsx+++ b/studio/components/interfaces/Reports/Statistic.tsx@@ -29,7 +29,7 @@ const Statistic: React.FC<Props> = ({<div className="w-full"><div className="flex flex-row justify-center"><span>{prefix}</span>- <span className="text-3xl text-scale-1200">{value}</span>+ <span className="text-3xl text-foreground">{value}</span><span>{suffix}</span></div>{startingValue && (diff --git a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsxindex b9e26219e30..fc6d68b7e50 100644--- a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx+++ b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx@@ -61,7 +61,7 @@ const SQLQuickstarts = observer(() => {<div className="block h-full space-y-8 overflow-y-auto p-6"><div className="mb-8"><div className="mb-4">- <h1 className="text-scale-1200 mb-3 text-xl">Quickstarts</h1>+ <h1 className="text-foreground mb-3 text-xl">Quickstarts</h1><p className="text-scale-1100 text-sm">While we're in beta, we want to offer a quick way to explore Supabase. While we buildimporters, check out these simple starters.diff --git a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsxindex 8d68d6d1ee2..0440b81901e 100644--- a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx+++ b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx@@ -63,7 +63,7 @@ const SQLTemplates = observer(() => {<div className="block h-full space-y-8 overflow-y-auto p-6"><div><div className="mb-4">- <h1 className="text-scale-1200 mb-3 text-xl">Scripts</h1>+ <h1 className="text-foreground mb-3 text-xl">Scripts</h1><p className="text-scale-1100 text-sm">Quick scripts to run on your database.</p><p className="text-scale-1100 text-sm">Click on any script to fill the query box, modify the script, then clickdiff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsxindex a194ae4095c..ea35afd3cb6 100644--- a/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/SavingIndicator.tsx@@ -57,7 +57,7 @@ const SavingIndicator = ({ id }: SavingIndicatorProps) => {'border-scale-200 border ',].join(' ')}>- <span className="text-scale-1200 text-xs">All changes saved</span>+ <span className="text-foreground text-xs">All changes saved</span></div></Tooltip.Content></Tooltip.Root>@@ -74,7 +74,7 @@ const SavingIndicator = ({ id }: SavingIndicatorProps) => {'border-scale-200 border',].join(' ')}>- <span className="text-scale-1200 text-xs">Saving changes...</span>+ <span className="text-foreground text-xs">Saving changes...</span></div></Tooltip.Content></Tooltip.Root>@@ -91,7 +91,7 @@ const SavingIndicator = ({ id }: SavingIndicatorProps) => {'border-scale-200 border ',].join(' ')}>- <span className="text-scale-1200 text-xs">Failed to save changes</span>+ <span className="text-foreground text-xs">Failed to save changes</span></div></Tooltip.Content></Tooltip.Root>diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/SizeToggleButton.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/SizeToggleButton.tsxindex 4df607c54dd..9bc2349fa68 100644--- a/studio/components/interfaces/SQLEditor/UtilityPanel/SizeToggleButton.tsx+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/SizeToggleButton.tsx@@ -34,7 +34,7 @@ const SizeToggleButton = ({ id }: SizeToggleButton) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Show results</span>+ <span className="text-xs text-foreground">Show results</span></div></Tooltip.Content></Tooltip.Portal>@@ -58,7 +58,7 @@ const SizeToggleButton = ({ id }: SizeToggleButton) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Collapse results</span>+ <span className="text-xs text-foreground">Collapse results</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsxindex 1e19d344e13..55d513dd8d9 100644--- a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx@@ -46,7 +46,7 @@ const UtilityActions = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Prettify SQL</span>+ <span className="text-xs text-foreground">Prettify SQL</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/interfaces/Settings/API/JWTSettings.tsx b/studio/components/interfaces/Settings/API/JWTSettings.tsxindex 932ef7158d8..2c601e83df8 100644--- a/studio/components/interfaces/Settings/API/JWTSettings.tsx+++ b/studio/components/interfaces/Settings/API/JWTSettings.tsx@@ -158,7 +158,7 @@ const JWTSettings = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to generate a new JWT secret</span></div>diff --git a/studio/components/interfaces/Settings/API/ServiceList.tsx b/studio/components/interfaces/Settings/API/ServiceList.tsxindex fa8e4813aee..4d07b15fdc2 100644--- a/studio/components/interfaces/Settings/API/ServiceList.tsx+++ b/studio/components/interfaces/Settings/API/ServiceList.tsx@@ -67,7 +67,7 @@ const ServiceList = () => {return (<div>- <h3 className="mb-6 text-xl text-scale-1200">API Settings</h3>+ <h3 className="mb-6 text-xl text-foreground">API Settings</h3><section><Panel title={<h5 className="mb-0">Project URL</h5>}><Panel.Content>diff --git a/studio/components/interfaces/Settings/Addons/Addons.tsx b/studio/components/interfaces/Settings/Addons/Addons.tsxindex ff9f17411e9..dae6df2216e 100644--- a/studio/components/interfaces/Settings/Addons/Addons.tsx+++ b/studio/components/interfaces/Settings/Addons/Addons.tsx@@ -243,7 +243,7 @@ const Addons = () => {<Link href={`/project/${projectRef}/settings/infrastructure#ram`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Memory</p><IconChevronRight@@ -260,7 +260,7 @@ const Addons = () => {<Link href={`/project/${projectRef}/settings/infrastructure#cpu`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">CPU</p><IconChevronRight@@ -292,7 +292,7 @@ const Addons = () => {<Link href={`/project/${projectRef}/settings/infrastructure#disk_io`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Max Disk Throughput</p><IconChevronRight@@ -313,7 +313,7 @@ const Addons = () => {<Link href={`/project/${projectRef}/settings/infrastructure#disk_io`}><a><div className="group flex items-center space-x-2">- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition cursor-pointer">Baseline Disk Throughput</p><IconChevronRightdiff --git a/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx b/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsxindex 0c13d84fe04..ff16a90ac90 100644--- a/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx+++ b/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx@@ -241,7 +241,7 @@ const ComputeInstanceSidePanel = () => {<pclassName={clsx('text-sm transition',- isSelected ? 'text-scale-1200' : 'text-scale-1000'+ isSelected ? 'text-foreground' : 'text-scale-1000')}>{option.name}@@ -306,7 +306,7 @@ const ComputeInstanceSidePanel = () => {</p><div className="flex justify-between items-center mt-2"><div className="flex items-center space-x-1">- <span className="text-scale-1200 text-sm">+ <span className="text-foreground text-sm">${option.price.toLocaleString()}</span><span className="text-scale-1000 translate-y-[1px]">@@ -335,7 +335,7 @@ const ComputeInstanceSidePanel = () => {].join(' ')}><div className="flex items-center space-x-1">- <p className="text-scale-1200 text-sm">+ <p className="text-foreground text-sm">${Number(option.price * 672).toFixed(0)} - ${Number(option.price * 744).toFixed(0)} per month</p>@@ -371,7 +371,7 @@ const ComputeInstanceSidePanel = () => {// Monthly payment with project-level subscription<p className="text-sm text-scale-1100">Upon clicking confirm, the amount of{' '}- <span className="text-scale-1200">+ <span className="text-foreground">${selectedCompute?.price.toLocaleString()}</span>{' '}will be added to your monthly invoice. Any previous compute addon is prorated anddiff --git a/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx b/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsxindex 9104db59821..84e4bf45584 100644--- a/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx+++ b/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx@@ -186,7 +186,7 @@ const CustomDomainSidePanel = () => {<div className="px-4 py-2"><p className="text-scale-1000">Use the default supabase domain for your API</p><div className="flex items-center space-x-1 mt-2">- <p className="text-scale-1200 text-sm">$0</p>+ <p className="text-foreground text-sm">$0</p><p className="text-scale-1000 translate-y-[1px]"> / month</p></div></div>@@ -209,7 +209,7 @@ const CustomDomainSidePanel = () => {<div className="px-4 py-2"><p className="text-scale-1000">Present a branded experience to your users</p><div className="flex items-center space-x-1 mt-2">- <p className="text-scale-1200 text-sm">${option.price}</p>+ <p className="text-foreground text-sm">${option.price}</p><p className="text-scale-1000 translate-y-[1px]"> / month</p></div></div>@@ -230,7 +230,7 @@ const CustomDomainSidePanel = () => {) : (<p className="text-sm text-scale-1100">Upon clicking confirm, the amount of{' '}- <span className="text-scale-1200">+ <span className="text-foreground">${selectedCustomDomain?.price.toLocaleString()}</span>{' '}will be added to your monthly invoice. You're immediately charged for thediff --git a/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx b/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsxindex 7249d8297e1..b673727abc4 100644--- a/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx+++ b/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx@@ -212,7 +212,7 @@ const PITRSidePanel = () => {<pclassName={clsx('text-sm transition',- isSelected ? 'text-scale-1200' : 'text-scale-1000'+ isSelected ? 'text-foreground' : 'text-scale-1000')}>{option.name}@@ -295,7 +295,7 @@ const PITRSidePanel = () => {{option.identifier.split('_')[1]} days ago</p><div className="flex items-center space-x-1 mt-2">- <p className="text-scale-1200 text-sm">+ <p className="text-foreground text-sm">${option.price.toLocaleString()}</p><p className="text-scale-1000 translate-y-[1px]"> / month</p>@@ -319,7 +319,7 @@ const PITRSidePanel = () => {) : (<p className="text-sm text-scale-1100">Upon clicking confirm, the amount of{' '}- <span className="text-scale-1200">${selectedPitr?.price.toLocaleString()}</span>{' '}+ <span className="text-foreground">${selectedPitr?.price.toLocaleString()}</span>{' '}will be added to your monthly invoice. You're immediately charged for theremaining days of your billing cycle. The addon is prepaid per month and in caseof a downgrade, you get credits for the remaining time.diff --git a/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx b/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsxindex e6ab31bea7b..a4388f59402 100644--- a/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx+++ b/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx@@ -27,7 +27,7 @@ const DatabaseSettings = () => {return (<div className="space-y-10"><section className="space-y-6">- <h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3>+ <h3 className="text-foreground mb-2 text-xl">Database Settings</h3><Paneltitle={<h5 key="panel-title" className="mb-0">@@ -133,7 +133,7 @@ const DatabaseSettings = () => {return (<div className="space-y-10"><section className="space-y-6">- <h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3>+ <h3 className="text-foreground mb-2 text-xl">Database Settings</h3><Paneltitle={<h5 key="panel-title" className="mb-0">diff --git a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsxindex 2408fcce454..15876cce29d 100644--- a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx+++ b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx@@ -128,7 +128,7 @@ const ResetDbPassword = ({ disabled = false }) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{!canResetDbPassword? 'You need additional permissions to reset the database password': !isProjectActive@@ -146,7 +146,7 @@ const ResetDbPassword = ({ disabled = false }) => {</Panel><ModalhideFooter- header={<h5 className="text-sm text-scale-1200">Reset database password</h5>}+ header={<h5 className="text-sm text-foreground">Reset database password</h5>}confirmText="Reset password"size="medium"visible={showResetDbPass}diff --git a/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx b/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsxindex 2907fdc42b2..8a4adeeced2 100644--- a/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx+++ b/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx@@ -88,10 +88,10 @@ const DiskSizeConfiguration = ({ disabled = false }: DiskSizeConfigurationProps)<div className="col-span-2 space-y-1">{projectUsage?.disk_volume_size_gb && (<span className="text-scale-1100 flex gap-2 items-baseline">- <span className="text-scale-1200">Current Disk Storage Size:</span>- <span className="text-scale-1200 text-xl">+ <span className="text-foreground">Current Disk Storage Size:</span>+ <span className="text-foreground text-xl">{currentDiskSize}- <span className="text-scale-1200 text-sm">GB</span>+ <span className="text-foreground text-sm">GB</span></span></span>)}@@ -121,7 +121,7 @@ const DiskSizeConfiguration = ({ disabled = false }: DiskSizeConfigurationProps)'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to increase the disk size</span></div>@@ -172,7 +172,7 @@ const DiskSizeConfiguration = ({ disabled = false }: DiskSizeConfigurationProps))}<Modal- header={<h5 className="text-sm text-scale-1200">Increase Disk Storage Size</h5>}+ header={<h5 className="text-sm text-foreground">Increase Disk Storage Size</h5>}size="medium"visible={showResetDbPass}loading={isUpdatingDiskSize}diff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsxindex ae3b84e5135..77da73278fb 100644--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx@@ -156,7 +156,7 @@ const AddRestrictionModal = ({'border border-scale-200 w-[300px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Classless inter-domain routing (CIDR) notation is the notationused to identify networks and hosts in the networks. The blocksize tells us how many bits we need to take for the networkdiff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsxindex e7d2b89e181..285c81aca22 100644--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx@@ -38,7 +38,7 @@ const AllowAllAccessButton = ({ disabled, onClick }: AccessButtonProps) => ('border border-scale-200 w-[250px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update network restrictions</span></div>@@ -65,7 +65,7 @@ const DisallowAllAccessButton = ({ disabled, onClick }: AccessButtonProps) => ('border border-scale-200 w-[250px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update network restrictions</span></div>@@ -136,7 +136,7 @@ const NetworkRestrictions = ({}) => {'border border-scale-200 w-[250px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to update network restrictions</span></div>diff --git a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsxindex 7d718e910f1..11b7e59245b 100644--- a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx+++ b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx@@ -153,7 +153,7 @@ const SSLConfiguration = () => {'border border-scale-200 w-[250px]',].join(' ')}>- <span className="text-xs text-scale-1200 text-center flex items-center justify-center">+ <span className="text-xs text-foreground text-center flex items-center justify-center">{!canUpdateSSLEnforcement? 'You need additional permissions to update SSL enforcement for your project': !hasAccessToSSLEnforcement@@ -200,7 +200,7 @@ const SSLConfiguration = () => {'border border-scale-200 w-[250px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Projects before 15:08 (GMT+08), 29th April 2021 do not have SSL certificatesinstalled</span>diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsxindex 9443c5e59b4..154a1ef4ff1 100644--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx@@ -61,7 +61,7 @@ const CustomDomainActivate = ({ projectRef, customDomain }: CustomDomainActivate<div className="flex flex-col items-start"><Panel.Content><div className="flex flex-col gap-2">- <h4 className="text-scale-1200">+ <h4 className="text-foreground">Setup complete! Press activate to enable the custom domain{' '}<code className="text-sm">{customDomain.hostname}</code> for this project.</h4>diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsxindex e70a148ec55..49ede1fb34e 100644--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx@@ -56,7 +56,7 @@ const CustomDomainVerify = ({ projectRef, customDomain, settings }: CustomDomain<><Panel.Content className="space-y-6"><div>- <h4 className="text-scale-1200 mb-2">+ <h4 className="text-foreground mb-2">Configure TXT verification for your custom domain{' '}<code className="text-sm">{customDomain.hostname}</code></h4>diff --git a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsxindex 748741e5fea..057dcf57ef3 100644--- a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx+++ b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx@@ -109,7 +109,7 @@ const DeleteProjectButton = ({ type = 'danger' }: DeleteProjectButtonProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete this project</span></div>@@ -165,7 +165,7 @@ const DeleteProjectButton = ({ type = 'danger' }: DeleteProjectButtonProps) => {`${active? ` bg-scale-1200 text-scale-100 opacity-100 hover:bg-opacity-75`- : ` bg-scale-700 text-scale-1200 opacity-25 hover:opacity-50`+ : ` bg-scale-700 text-foreground opacity-25 hover:opacity-50`}`,].join(' ')}>diff --git a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsxindex 42858f5fcad..b8dd565b224 100644--- a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx+++ b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx@@ -114,7 +114,7 @@ const Infrastructure = ({}: InfrastructureProps) => {'border border-scale-200 w-[200px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Project is on the latest version of Postgres that Supabase supports</span></div>diff --git a/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx b/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsxindex 5d63779c5d2..64defec19e0 100644--- a/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx+++ b/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx@@ -72,7 +72,7 @@ const PauseProjectButton = () => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{isPaused? 'Your project is already paused': !canPauseProjectdiff --git a/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert/ProjectUpgradeAlert.tsx b/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert/ProjectUpgradeAlert.tsxindex 2bf234e068d..75730c83b2d 100644--- a/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert/ProjectUpgradeAlert.tsx+++ b/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert/ProjectUpgradeAlert.tsx@@ -94,7 +94,7 @@ const ProjectUpgradeAlert = () => {if (change !== undefined)return (<li key={reason}>- <p className="text-scale-1200">{change.title}</p>+ <p className="text-foreground">{change.title}</p><p className="flex items-center space-x-1"><span>This update has breaking changes. Read more </span><Link href={change.url}>diff --git a/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx b/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsxindex 9df235a01bc..05fc81fcb9f 100644--- a/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx+++ b/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx@@ -111,7 +111,7 @@ const RestartServerButton = () => {}}><div className="space-y-1">- <p className="block text-scale-1200">Fast database reboot</p>+ <p className="block text-foreground">Fast database reboot</p><p className="block text-scale-1100 text-xs">Restarts only the database - faster but may not be able to recover from allfailure modes@@ -140,7 +140,7 @@ const RestartServerButton = () => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{!canRestartProject? 'You need additional permissions to restart this project': !isProjectActive@@ -160,7 +160,7 @@ const RestartServerButton = () => {description={<>Are you sure you want to restart the{' '}- <span className="text-scale-1200">{serviceToRestart}</span>? There will be a few minutes+ <span className="text-foreground">{serviceToRestart}</span>? There will be a few minutesof downtime.</>}diff --git a/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx b/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsxindex 1bd733e909a..0d9d7bc477e 100644--- a/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx+++ b/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx@@ -106,7 +106,7 @@ const TransferProjectButton = () => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{!canTransferProject? 'You need additional permissions to transfer this project': 'Project transfers are temporarily disabled, please try again later.'}diff --git a/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx b/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsxindex 9a077356b21..594a736e9f5 100644--- a/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx+++ b/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx@@ -225,7 +225,7 @@ const InfrastructureActivity = () => {</div></div><div className="space-y-2">- <p className="text-sm text-scale-1200 dark:text-scale-1100 mb-2">+ <p className="text-sm text-foreground dark:text-scale-1100 mb-2">More information</p>{attribute.links.map((link) => (diff --git a/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx b/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsxindex a09021ff312..adc9c56a642 100644--- a/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx+++ b/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx@@ -109,7 +109,7 @@ const InfrastructureInfo = () => {'border border-scale-200 w-[200px]',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Project is on the latest version of Postgres that Supabase supports</span></div>diff --git a/studio/components/interfaces/Settings/Logs/LogSelection.tsx b/studio/components/interfaces/Settings/Logs/LogSelection.tsxindex 5f0a537be97..1dee36000f9 100644--- a/studio/components/interfaces/Settings/Logs/LogSelection.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelection.tsx@@ -41,31 +41,30 @@ const LogSelection = ({partialLog?.id)const Formatter = () => {-switch (queryType) {case 'api':if (!fullLog) return null- if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />;+ if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />return <DatabaseApiSelectionRender log={fullLog} />case 'database':if (!fullLog) return null- if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />;+ if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />return <DatabasePostgresSelectionRender log={fullLog} />case 'fn_edge':if (!fullLog) return null- if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />;+ if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />return <FunctionInvocationSelectionRender log={fullLog} />case 'functions':if (!fullLog) return null- if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />;+ if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />return <FunctionLogsSelectionRender log={fullLog} />case 'auth':if (!fullLog) return null- if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />;+ if (!fullLog.metadata) return <DefaultPreviewSelectionRenderer log={fullLog} />return <AuthSelectionRenderer log={fullLog} />default:@@ -147,7 +146,7 @@ ${JSON.stringify(fullLog.metadata, null, 2)}</div></div><div className="flex flex-col gap-1">- <h3 className="text-sm text-scale-1200">Select an Event</h3>+ <h3 className="text-sm text-foreground">Select an Event</h3><p className="text-xs text-scale-900">Select an Event to view the code snippet (pretty view) or complete JSON payload (rawview).@@ -163,7 +162,7 @@ ${JSON.stringify(fullLog.metadata, null, 2)}</div><Buttontype="text"- className="cursor-pointer transition hover:text-scale-1200 h-8 w-8 px-0 py-0 flex items-center justify-center"+ className="cursor-pointer transition hover:text-foreground h-8 w-8 px-0 py-0 flex items-center justify-center"onClick={onClose}><IconX size={14} strokeWidth={2} className="text-scale-900" />diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/AuthSelectionRenderer.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/AuthSelectionRenderer.tsxindex 9f80f0fb3d5..6b5b877a236 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/AuthSelectionRenderer.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/AuthSelectionRenderer.tsx@@ -13,7 +13,7 @@ const AuthSelectionRenderer = ({ log }: { log: PreviewLogData }) => {<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding} space-y-6`}><div className="flex flex-col gap-3"><h3 className="text-scale-900 text-sm">Event Message</h3>- <div className="text-xs text-wrap font-mono text-scale-1200 whitespace-pre-wrap overflow-x-auto">+ <div className="text-xs text-wrap font-mono text-foreground whitespace-pre-wrap overflow-x-auto">{log.metadata?.msg || log.event_message}</div></div>@@ -43,7 +43,7 @@ const AuthSelectionRenderer = ({ log }: { log: PreviewLogData }) => {<div className="flex flex-col gap-3"><h3 className="text-scale-900 text-sm">Metadata</h3><pre- className=" className={`text-scale-1200 text-sm col-span-8 overflow-x-auto text-xs font-mono`}"+ className=" className={`text-foreground text-sm col-span-8 overflow-x-auto text-xs font-mono`}"dangerouslySetInnerHTML={{__html: jsonSyntaxHighlight(log.metadata!),}}diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabaseApiSelectionRender.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabaseApiSelectionRender.tsxindex 04e463790e2..fd0146dc4c6 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabaseApiSelectionRender.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabaseApiSelectionRender.tsx@@ -35,7 +35,7 @@ const DatabaseApiSelectionRender = ({ log }: any) => {</div><LogsDivider /><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>- <h3 className="text-lg text-scale-1200 mb-4">Request Metadata</h3>+ <h3 className="text-lg text-foreground mb-4">Request Metadata</h3><pre className="text-sm syntax-highlight overflow-x-auto"><divclassName="text-wrap"@@ -47,7 +47,7 @@ const DatabaseApiSelectionRender = ({ log }: any) => {</div><LogsDivider /><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>- <h3 className="text-lg text-scale-1200 mb-4">Response Metadata</h3>+ <h3 className="text-lg text-foreground mb-4">Response Metadata</h3><pre className="text-sm syntax-highlight overflow-x-auto"><divdangerouslySetInnerHTML={{diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsxindex de9ed2e3edd..fa8b9b0e057 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx@@ -20,7 +20,7 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {<div className={LOGS_TAILWIND_CLASSES.log_selection_x_padding}><span className="col-span-4 text-sm text-scale-900">Event message</span>- <div className="text-wrap mt-2 overflow-x-auto whitespace-pre-wrap font-mono text-xs text-scale-1200">+ <div className="text-wrap mt-2 overflow-x-auto whitespace-pre-wrap font-mono text-xs text-foreground">{log.event_message}</div></div>@@ -42,7 +42,7 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {)}<LogsDivider /><div className={LOGS_TAILWIND_CLASSES.log_selection_x_padding}>- <h3 className="mb-4 text-lg text-scale-1200">Metadata</h3>+ <h3 className="mb-4 text-lg text-foreground">Metadata</h3><pre className="syntax-highlight overflow-x-auto text-sm"><divclassName="text-wrap"diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultExplorerSelectionRenderer.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultExplorerSelectionRenderer.tsxindex a4be3324635..326697f8b06 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultExplorerSelectionRenderer.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultExplorerSelectionRenderer.tsx@@ -15,7 +15,7 @@ const DefaultExplorerSelectionRenderer = ({ log }: any) => {<div className="grid grid-cols-12"><span className="text-scale-900 text-sm col-span-4">{label}</span><span- className={`text-scale-1200 text-sm col-span-8 overflow-x-auto ${+ className={`text-foreground text-sm col-span-8 overflow-x-auto ${code && 'text-xs font-mono'}`}>diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsxindex b050562bc93..8ba1b80e2a2 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx@@ -6,7 +6,7 @@ const DefaultPreviewSelectionRenderer = ({ log }: { log: PreviewLogData }) => (<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding} space-y-6`}><div className="flex flex-col gap-3"><h3 className="text-scale-900 text-sm">Event Message</h3>- <div className="text-xs text-wrap font-mono text-scale-1200 whitespace-pre-wrap overflow-x-auto">+ <div className="text-xs text-wrap font-mono text-foreground whitespace-pre-wrap overflow-x-auto">{log.event_message}</div></div>@@ -14,7 +14,7 @@ const DefaultPreviewSelectionRenderer = ({ log }: { log: PreviewLogData }) => (<div className="flex flex-col gap-3"><h3 className="text-scale-900 text-sm">Metadata</h3><pre- className=" className={`text-scale-1200 text-sm col-span-8 overflow-x-auto text-xs font-mono`}"+ className=" className={`text-foreground text-sm col-span-8 overflow-x-auto text-xs font-mono`}"dangerouslySetInnerHTML={{__html: jsonSyntaxHighlight(log.metadata || {}),}}diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionInvocationSelectionRender.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionInvocationSelectionRender.tsxindex fb2f2c0dfa1..6f5feab61a3 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionInvocationSelectionRender.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionInvocationSelectionRender.tsx@@ -38,7 +38,7 @@ const FunctionInvocationSelectionRender = ({ log }: { log: PreviewLogData }) =>/></div><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>- <h3 className="text-lg text-scale-1200 mb-4">Request Metadata</h3>+ <h3 className="text-lg text-foreground mb-4">Request Metadata</h3><pre className="text-sm syntax-highlight overflow-x-auto"><divclassName="text-wrap"@@ -49,9 +49,7 @@ const FunctionInvocationSelectionRender = ({ log }: { log: PreviewLogData }) =></pre></div><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>- <h3 className="text-lg text-scale-1200 mb-4">- Response Metadata- </h3>+ <h3 className="text-lg text-foreground mb-4">Response Metadata</h3><pre className="text-sm syntax-highlight overflow-x-auto"><divdangerouslySetInnerHTML={{diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionLogsSelectionRender.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionLogsSelectionRender.tsxindex 2f5131fc802..96067ddfe57 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionLogsSelectionRender.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/FunctionLogsSelectionRender.tsx@@ -14,7 +14,7 @@ const FunctionLogsSelectionRender = ({ log }: any) => {<><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}><span className="text-scale-900 text-sm col-span-4">Event message</span>- <div className="text-xs text-wrap font-mono text-scale-1200 mt-2 whitespace-pre-wrap overflow-x-auto">+ <div className="text-xs text-wrap font-mono text-foreground mt-2 whitespace-pre-wrap overflow-x-auto">{log.event_message}</div></div>@@ -31,7 +31,7 @@ const FunctionLogsSelectionRender = ({ log }: any) => {<SelectionDetailedRow label="Deployment ID" value={metadata.deployment_id} /></div><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>- <h3 className="text-lg text-scale-1200 mb-4">Metadata</h3>+ <h3 className="text-lg text-foreground mb-4">Metadata</h3><pre className="text-sm syntax-highlight overflow-x-auto"><divclassName="text-wrap"diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsxindex 08133ed0dec..7ba3e0bd53a 100644--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx@@ -184,11 +184,11 @@ const LogTable = ({<div className="flex items-center gap-2">{data && data.length ? (<>- <span className="text-sm text-scale-1200">Query results</span>+ <span className="text-sm text-foreground">Query results</span><span className="text-sm text-scale-1100">{data && data.length}</span></>) : (- <span className="text-xs text-scale-1200">Results will be shown below</span>+ <span className="text-xs text-foreground">Results will be shown below</span>)}</div><div className="flex items-center gap-2">@@ -256,7 +256,7 @@ const LogTable = ({</div></div><div className="flex flex-col gap-1 px-5">- <h3 className="text-lg text-scale-1200">No results</h3>+ <h3 className="text-lg text-foreground">No results</h3><p className="text-sm text-scale-900">Try another search, or adjusting the filters</p></div></div>diff --git a/studio/components/interfaces/Settings/Logs/Logs.SavedQueriesItem.tsx b/studio/components/interfaces/Settings/Logs/Logs.SavedQueriesItem.tsxindex 7ac849da75b..3547bc272f1 100644--- a/studio/components/interfaces/Settings/Logs/Logs.SavedQueriesItem.tsx+++ b/studio/components/interfaces/Settings/Logs/Logs.SavedQueriesItem.tsx@@ -26,7 +26,7 @@ const SavedQueriesItem = ({ item }: SavedQueriesItemProps) => {<IconChevronRight strokeWidth={2} size={14} /></div></button>- <span className="text-sm text-scale-1200">{item.name}</span>+ <span className="text-sm text-foreground">{item.name}</span></div></Table.td><Table.td className="">diff --git a/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx b/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsxindex fee91e43620..3f37f024500 100644--- a/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx+++ b/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx@@ -1,5 +1,5 @@const SqlSnippetCode: React.FC = ({ children }) => (- <pre className="text-scale-1200 text-sm break-words py-4 px-3 w-full">{children}</pre>+ <pre className="text-foreground text-sm break-words py-4 px-3 w-full">{children}</pre>)export default SqlSnippetCodediff --git a/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx b/studio/components/interfaces/Settings/Logs/LogsFormatters.tsxindex 9a31cbe0b2d..df9c3bc50a6 100644--- a/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx+++ b/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx@@ -32,7 +32,7 @@ export const SelectionDetailedRow = ({return (<div className="grid grid-cols-12 group"><span className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</span>- <span className="text-scale-1200 text-sm col-span-6 whitespace-pre-wrap break-all">+ <span className="text-foreground text-sm col-span-6 whitespace-pre-wrap break-all">{valueRender ?? value}</span><CopyButton@@ -274,7 +274,7 @@ export function jsonSyntaxHighlight(input: Object) {var cls = 'number text-tomato-900'if (/^"/.test(match)) {if (/:$/.test(match)) {- cls = 'key text-scale-1200'+ cls = 'key text-foreground'} else {cls = 'string text-brand-600'}diff --git a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsxindex 8687e36e43e..cf63326b0f0 100644--- a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx+++ b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx@@ -152,7 +152,7 @@ const LogsQueryPanel = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to save your query</span></div>diff --git a/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx b/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsxindex c59b4848e40..5358fd67393 100644--- a/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx+++ b/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx@@ -126,7 +126,7 @@ const PreviewFilterPanel = ({hasEdits && (<buttononClick={() => handleInputSearch(search)}- className="mx-2 text-scale-1100 hover:text-scale-1200"+ className="mx-2 text-scale-1100 hover:text-foreground">{'↲'}</button>diff --git a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsxindex ededd019c1a..b6d6910d8ca 100644--- a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx+++ b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx@@ -167,7 +167,7 @@ const EncryptionKeysManagement = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add keys</span></div>@@ -183,7 +183,7 @@ const EncryptionKeysManagement = () => {{!vault.isLoaded ? (<div className="px-6 py-6 space-x-2 flex items-center justify-center"><IconLoader className="animate-spin text-scale-1100" size={16} strokeWidth={1.5} />- <p className="text-sm text-scale-1200">Loading keys from the Vault</p>+ <p className="text-sm text-foreground">Loading keys from the Vault</p></div>) : (<>@@ -194,7 +194,7 @@ const EncryptionKeysManagement = () => {<IconKey className="text-scale-1100" strokeWidth={2} /><div className="space-y-1 min-w-[70%] max-w-[70%]"><p- className="text-sm truncate text-scale-1200"+ className="text-sm truncate text-foreground"title={key.name || DEFAULT_KEY_NAME}>{key.name || DEFAULT_KEY_NAME}@@ -227,7 +227,7 @@ const EncryptionKeysManagement = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete keys</span></div>@@ -245,7 +245,7 @@ const EncryptionKeysManagement = () => {<>{searchValue.length === 0 ? (<div className="px-6 py-6 space-y-1 flex flex-col items-center justify-center">- <p className="text-sm text-scale-1200">No encryption keys added yet</p>+ <p className="text-sm text-foreground">No encryption keys added yet</p><p className="text-sm text-scale-1100 text-center">Encryption keys are created by the pgsodium extension and can be used toencrypt your columns and secrets@@ -253,7 +253,7 @@ const EncryptionKeysManagement = () => {</div>) : (<div className="px-6 py-4 space-y-1">- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-scale-1100">Your search for "{searchValue}" did not return any results</p>@@ -274,7 +274,7 @@ const EncryptionKeysManagement = () => {onCancel={() => setSelectedKeyToRemove(undefined)}onConfirm={confirmDeleteKey}loading={isDeletingKey}- header={<h5 className="text-sm text-scale-1200">Confirm to delete key</h5>}+ header={<h5 className="text-sm text-foreground">Confirm to delete key</h5>}><div className="py-4"><Modal.Content>@@ -290,7 +290,7 @@ const EncryptionKeysManagement = () => {The following key will be permanently removed and cannot be recovered.</p><div className="space-y-2">- <p className="text-sm text-scale-1200">+ <p className="text-sm text-foreground">{selectedKeyToRemove?.name ?? DEFAULT_KEY_NAME}</p><p className="text-xs text-scale-1100">@@ -308,7 +308,7 @@ const EncryptionKeysManagement = () => {size="medium"visible={showAddKeyModal}onCancel={() => setShowAddKeyModal(false)}- header={<h5 className="text-sm text-scale-1200">Add a new key</h5>}+ header={<h5 className="text-sm text-foreground">Add a new key</h5>}><Formid="add-new-key-form"diff --git a/studio/components/interfaces/Settings/Vault/Secrets/AddNewSecretModal.tsx b/studio/components/interfaces/Settings/Vault/Secrets/AddNewSecretModal.tsxindex 0d8b1acc75f..f4cc0955d44 100644--- a/studio/components/interfaces/Settings/Vault/Secrets/AddNewSecretModal.tsx+++ b/studio/components/interfaces/Settings/Vault/Secrets/AddNewSecretModal.tsx@@ -81,7 +81,7 @@ const AddNewSecretModal = ({ visible, onClose }: AddNewSecretModalProps) => {size="medium"visible={visible}onCancel={onClose}- header={<h5 className="text-sm text-scale-1200">Add new secret</h5>}+ header={<h5 className="text-sm text-foreground">Add new secret</h5>}><Formid="add-new-secret-form"diff --git a/studio/components/interfaces/Settings/Vault/Secrets/DeleteSecretModal.tsx b/studio/components/interfaces/Settings/Vault/Secrets/DeleteSecretModal.tsxindex 814066b9976..82b5f43ef1e 100644--- a/studio/components/interfaces/Settings/Vault/Secrets/DeleteSecretModal.tsx+++ b/studio/components/interfaces/Settings/Vault/Secrets/DeleteSecretModal.tsx@@ -42,7 +42,7 @@ const DeleteSecretModal = ({ selectedSecret, onClose }: DeleteSecretModalProps)onCancel={onClose}onConfirm={onConfirmDeleteSecret}loading={isDeleting}- header={<h5 className="text-sm text-scale-1200">Confirm to delete secret</h5>}+ header={<h5 className="text-sm text-foreground">Confirm to delete secret</h5>}><div className="py-4"><Modal.Content>diff --git a/studio/components/interfaces/Settings/Vault/Secrets/EditSecretModal.tsx b/studio/components/interfaces/Settings/Vault/Secrets/EditSecretModal.tsxindex 8b9e4700655..f4314d74bb8 100644--- a/studio/components/interfaces/Settings/Vault/Secrets/EditSecretModal.tsx+++ b/studio/components/interfaces/Settings/Vault/Secrets/EditSecretModal.tsx@@ -86,7 +86,7 @@ const EditSecretModal = ({ selectedSecret, onClose }: EditSecretModalProps) => {size="medium"visible={selectedSecret !== undefined}onCancel={onClose}- header={<h5 className="text-sm text-scale-1200">Edit secret</h5>}+ header={<h5 className="text-sm text-foreground">Edit secret</h5>}><Formid="add-new-secret-form"diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsxindex 77be51a7963..d9c6b0fa09e 100644--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx@@ -54,7 +54,7 @@ const SecretRow = ({ secret, onSelectEdit, onSelectRemove }: SecretRowProps) =><div className="px-6 py-4 flex items-center space-x-4"><div className="space-y-1 min-w-[35%] max-w-[35%]"><div>- <p className="text-sm text-scale-1200" title={name}>+ <p className="text-sm text-foreground" title={name}>{name}</p>{secret.description !== undefined && (@@ -132,7 +132,7 @@ const SecretRow = ({ secret, onSelectEdit, onSelectRemove }: SecretRowProps) =>'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to edit secrets</span></div>@@ -160,7 +160,7 @@ const SecretRow = ({ secret, onSelectEdit, onSelectRemove }: SecretRowProps) =>'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete secrets</span></div>diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsxindex a9aad0594d7..2ac5e63cd62 100644--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx@@ -129,7 +129,7 @@ const SecretsManagement = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to add secrets</span></div>@@ -145,7 +145,7 @@ const SecretsManagement = () => {{!vault.isLoaded ? (<div className="px-6 py-6 space-x-2 flex items-center justify-center"><IconLoader className="animate-spin text-scale-1100" size={16} strokeWidth={1.5} />- <p className="text-sm text-scale-1200">Loading secrets from the Vault</p>+ <p className="text-sm text-foreground">Loading secrets from the Vault</p></div>) : (<>@@ -165,14 +165,14 @@ const SecretsManagement = () => {<>{searchValue.length === 0 ? (<div className="px-6 py-6 space-y-1 flex flex-col items-center justify-center">- <p className="text-sm text-scale-1200">No secrets added yet</p>+ <p className="text-sm text-foreground">No secrets added yet</p><p className="text-sm text-scale-1100">The Vault allows you to store sensitive information like API keys</p></div>) : (<div className="px-6 py-4 space-y-1">- <p className="text-sm text-scale-1200">No results found</p>+ <p className="text-sm text-foreground">No results found</p><p className="text-sm text-scale-1100">Your search for "{searchValue}" did not return any results</p>diff --git a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx b/studio/components/interfaces/Settings/Vault/VaultToggle.tsxindex b41cc8f6910..f5e6c9a103a 100644--- a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx+++ b/studio/components/interfaces/Settings/Vault/VaultToggle.tsx@@ -137,7 +137,7 @@ const VaultToggle = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to enable Vault for this project</span></div>diff --git a/studio/components/interfaces/SignIn/SignInMfaForm.tsx b/studio/components/interfaces/SignIn/SignInMfaForm.tsxindex fd51788e8f1..258419fdec6 100644--- a/studio/components/interfaces/SignIn/SignInMfaForm.tsx+++ b/studio/components/interfaces/SignIn/SignInMfaForm.tsx@@ -160,7 +160,7 @@ const SignInMfaForm = () => {{factors?.totp.length === 2 && (<li><a- className="text-sm text-scale-1100 hover:text-scale-1200 cursor-pointer"+ className="text-sm text-scale-1100 hover:text-foreground cursor-pointer"onClick={() =>setSelectedFactor(factors.totp.find((f) => f.id !== selectedFactor?.id)!)}@@ -177,7 +177,7 @@ const SignInMfaForm = () => {<atarget="_blank"rel="noreferrer"- className="text-sm transition text-scale-1100 hover:text-scale-1200"+ className="text-sm transition text-scale-1100 hover:text-foreground">Reach out to us via support</a>diff --git a/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx b/studio/components/interfaces/Support/DisabledStateForFreeTier.tsxindex ed1828a17f1..d2be8f09d06 100644--- a/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx+++ b/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx@@ -14,7 +14,7 @@ const DisabledStateForFreeTier = ({ projectRef, category }: DisabledStateForFree<InformationBoxhideCollapsedefaultVisibility={true}- icon={<IconAlertCircle className="text-scale-1200" size="large" strokeWidth={1.5} />}+ icon={<IconAlertCircle className="text-foreground" size="large" strokeWidth={1.5} />}title={`Support for ${category} is only available on the Pro plan`}description={<div className="space-y-4 mb-1">diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsxindex 8de0db33c57..8b68c7ea9ac 100644--- a/studio/components/interfaces/Support/SupportForm.tsx+++ b/studio/components/interfaces/Support/SupportForm.tsx@@ -692,7 +692,7 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {<div className="px-6"><div className="flex items-center space-x-1 justify-end block text-sm mt-0 mb-2"><p className="text-scale-1000">We will contact you at</p>- <p className="text-scale-1200 font-medium">{respondToEmail}</p>+ <p className="text-foreground font-medium">{respondToEmail}</p></div><div className="flex items-center space-x-1 justify-end block text-sm mt-0 mb-2"><p className="text-scale-1000">diff --git a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsxindex 75d3d195e1e..bb2d6d21376 100644--- a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx+++ b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx@@ -135,7 +135,7 @@ const GridHeaderActions = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to manage your project's data</span></div>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsxindex b2cd2f4778c..c0688d428a1 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx@@ -102,7 +102,7 @@ const ColumnForeignKeyInformation = ({<div className="flex flex-col space-y-4"><div className="space-y-2"><p className="text-scale-1100">This column has the following foreign key relation:</p>- <div className="flex items-center space-x-2 text-scale-1200">+ <div className="flex items-center space-x-2 text-foreground"><p className="text-xs text-code font-mono">{columnName}</p><IconArrowRight size={14} strokeWidth={2} /><p className="text-xs text-code font-mono">@@ -156,7 +156,7 @@ const ColumnForeignKeyAdded = ({<span>The following foreign key relation will be <span className="text-brand">added</span>:</span>- <div className="flex items-center space-x-2 text-scale-1200">+ <div className="flex items-center space-x-2 text-foreground"><pclassName={`${columnName.length > 0 ? 'text-code font-mono text-xs' : ''diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsxindex 4781c11e7df..de7db7173ac 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx@@ -75,19 +75,19 @@ const ColumnType = ({const inferIcon = (type: string) => {switch (type) {case 'number':- return <IconHash size={16} className="text-scale-1200" strokeWidth={1.5} />+ return <IconHash size={16} className="text-foreground" strokeWidth={1.5} />case 'time':- return <IconCalendar size={16} className="text-scale-1200" strokeWidth={1.5} />+ return <IconCalendar size={16} className="text-foreground" strokeWidth={1.5} />case 'text':- return <IconType size={16} className="text-scale-1200" strokeWidth={1.5} />+ return <IconType size={16} className="text-foreground" strokeWidth={1.5} />case 'json':return (- <div className="text-scale-1200" style={{ padding: '0px 1px' }}>+ <div className="text-foreground" style={{ padding: '0px 1px' }}>{'{ }'}</div>)case 'bool':- return <IconToggleRight size={16} className="text-scale-1200" strokeWidth={1.5} />+ return <IconToggleRight size={16} className="text-foreground" strokeWidth={1.5} />default:return <div />}@@ -158,7 +158,7 @@ const ColumnType = ({addOnBefore={() => inferIcon(option.type)}><div className="flex items-center space-x-4">- <span className="text-scale-1200">{option.name}</span>+ <span className="text-foreground">{option.name}</span><span className="text-scale-900">{option.description}</span></div></Listbox.Option>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsxindex c17e21fafc9..d08fc7a9a1b 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx@@ -120,7 +120,7 @@ const InputWithSuggestions = ({'border-scale-200 border',].join(' ')}>- <span className="text-scale-1200 text-xs">+ <span className="text-foreground text-xs">{suggestionsTooltip || 'Suggestions'}</span></div>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsxindex d4e1c1e073a..c55d85665ac 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx@@ -239,7 +239,7 @@ const ForeignKeySelector = ({<div className="flex items-center gap-2">{/* For aria searching to target the schema name instead of schema */}<span className="hidden">{schema.name}</span>- <span className="text-scale-1200">{schema.name}</span>+ <span className="text-foreground">{schema.name}</span></div></Listbox.Option>)@@ -264,7 +264,7 @@ const ForeignKeySelector = ({{/* For aria searching to target the table name instead of schema */}<span className="hidden">{table.name}</span><span className="text-scale-900">{table.schema}</span>- <span className="text-scale-1200">{table.name}</span>+ <span className="text-foreground">{table.name}</span></div></Listbox.Option>)@@ -308,7 +308,7 @@ const ForeignKeySelector = ({{(selectedTable?.columns ?? []).map((column: PostgresColumn) => (<Listbox.Option key={column.id} value={column.id} label={column.name}><div className="flex items-center gap-2">- <span className="text-scale-1200">{column.name}</span>+ <span className="text-foreground">{column.name}</span><span className="text-scale-900">{column.format}</span></div></Listbox.Option>@@ -410,7 +410,7 @@ const ForeignKeySelector = ({['no-action', 'cascade', 'restrict'].includes(option.key)).map((option) => (<Listbox.Option key={option.key} value={option.value} label={option.label}>- <p className="text-scale-1200">{option.label}</p>+ <p className="text-foreground">{option.label}</p></Listbox.Option>))}</Listbox>@@ -445,7 +445,7 @@ const ForeignKeySelector = ({>{FOREIGN_KEY_CASCADE_OPTIONS.map((option) => (<Listbox.Option key={option.key} value={option.value} label={option.label}>- <p className="text-scale-1200">{option.label}</p>+ <p className="text-foreground">{option.label}</p></Listbox.Option>))}</Listbox>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsxindex 7b281a0b00d..8d557588d70 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx@@ -47,7 +47,7 @@ export const generateCascadeActionDescription = ('w-[300px] space-y-2 border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">This is similar to no action, but the restrict check cannot be deferred tilllater in the transaction</p>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsxindex a878ab46238..3aa6d6cee28 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx@@ -28,7 +28,7 @@ const columnRender = (name: string, isPrimaryKey = false) => {<Tooltip.Content side="bottom"><Tooltip.Arrow className="radix-tooltip-arrow" /><div className="rounded bg-scale-100 py-1 px-2 leading-none shadow border border-scale-200">- <span className="text-xs text-scale-1200">Primary key</span>+ <span className="text-xs text-foreground">Primary key</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsxindex e561ef83f9f..f9742c5a596 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx@@ -169,7 +169,7 @@ const RowEditor = ({<SidePanel.Content><div className="space-y-10 py-6"><div>- <h3 className="text-base text-scale-1200">Optional Fields</h3>+ <h3 className="text-base text-foreground">Optional Fields</h3><p className="text-sm text-scale-900">These are columns that do not need any value</p>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsxindex 2f5ec1bf0b2..61a47eba62e 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx@@ -65,7 +65,7 @@ const SpreadSheetFileUpload = ({<div className="flex h-28 flex-col items-center justify-center space-y-2 rounded-md border border-dashed dark:border-gray-700"><div className="flex items-center space-x-2"><IconFileText size={14} strokeWidth={1.5} />- <p className="text-sm text-scale-1200">{uploadedFile.name}</p>+ <p className="text-sm text-foreground">{uploadedFile.name}</p></div>{parseProgress === 100 ? (<Button type="outline" onClick={removeUploadedFile}>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsxindex 031ac09b0ed..c053cb7ed1e 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx@@ -112,23 +112,23 @@ const Column = ({].join(' ')}>{column.foreignKey === undefined ? (- <span className="text-xs text-scale-1200">Edit foreign key relation</span>+ <span className="text-xs text-foreground">Edit foreign key relation</span>) : (<div><p className="text-xs text-scale-1100">Foreign key relation:</p><div className="flex items-center space-x-1">- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">{column.foreignKey.source_schema}.{column.foreignKey.source_table_name}.{column.foreignKey.source_column_name}</p><IconArrowRight size="tiny" strokeWidth={1.5} />- <p className="text-xs text-scale-1200">+ <p className="text-xs text-foreground">{column.foreignKey.target_table_schema}.{column.foreignKey.target_table_name}.{column.foreignKey.target_column_name}</p></div>{column.foreignKey.deletion_action !== FOREIGN_KEY_CASCADE_ACTION.NO_ACTION && (- <p className="text-xs text-scale-1200 mt-1">+ <p className="text-xs text-foreground mt-1">On delete: {getForeignKeyCascadeAction(column.foreignKey.deletion_action)}</p>)}@@ -196,7 +196,7 @@ const Column = ({align="end"header={<div className="flex items-center justify-center">- <h5 className="text-sm text-scale-1200">Extra options</h5>+ <h5 className="text-sm text-foreground">Extra options</h5></div>}overlay={[@@ -265,7 +265,7 @@ const Column = ({{settingsCount}</div>)}- <div className="text-scale-1100 transition-colors group-hover:text-scale-1200">+ <div className="text-scale-1100 transition-colors group-hover:text-foreground"><IconSettings size={18} strokeWidth={1} /></div></div>diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsxindex fb8c0e58c12..1aba554f392 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx@@ -210,7 +210,7 @@ const ColumnManagement = ({'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Recommended to use lowercase and use an underscore to separate words e.g.column_name</span>@@ -240,7 +240,7 @@ const ColumnManagement = ({'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">Can either be a literal or an expression. When using an expression wrap yourexpression in brackets, e.g. (gen_random_uuid())</span>@@ -344,7 +344,7 @@ const ColumnManagement = ({<a target="_blank" rel="noreferrer"><Buttontype="text"- className="text-scale-1000 hover:text-scale-1200"+ className="text-scale-1000 hover:text-foreground"icon={<IconExternalLink size={12} strokeWidth={2} />}>Learn more about data typesdiff --git a/studio/components/layouts/AccountLayout/SidebarItem.tsx b/studio/components/layouts/AccountLayout/SidebarItem.tsxindex bca3f7b14d3..a6926dcbf2f 100644--- a/studio/components/layouts/AccountLayout/SidebarItem.tsx+++ b/studio/components/layouts/AccountLayout/SidebarItem.tsx@@ -60,7 +60,7 @@ const SidebarItem = ({)}<spantitle={label}- className="w-full truncate text-sm text-scale-1100 transition group-hover:text-scale-1200"+ className="w-full truncate text-sm text-scale-1100 transition group-hover:text-foreground">{isSubitem ? <p>{label}</p> : label}</span>diff --git a/studio/components/layouts/AccountLayout/WithSidebar.tsx b/studio/components/layouts/AccountLayout/WithSidebar.tsxindex eecb7d020e5..e3ee246b228 100644--- a/studio/components/layouts/AccountLayout/WithSidebar.tsx+++ b/studio/components/layouts/AccountLayout/WithSidebar.tsx@@ -216,7 +216,7 @@ const SidebarLinkItem = ({)}<spantitle={label}- className="w-full truncate text-sm text-scale-1100 transition group-hover:text-scale-1200"+ className="w-full truncate text-sm text-scale-1100 transition group-hover:text-foreground">{isSubitem ? <p>{label}</p> : label}</span>diff --git a/studio/components/layouts/AppLayout/IncidentBanner.tsx b/studio/components/layouts/AppLayout/IncidentBanner.tsxindex 4004c1922cb..e2c4f5b16d4 100644--- a/studio/components/layouts/AppLayout/IncidentBanner.tsx+++ b/studio/components/layouts/AppLayout/IncidentBanner.tsx@@ -5,7 +5,7 @@ const IncidentBanner = () => {return (<Link href="https://status.supabase.com"><a target="_blank" rel="noreferrer">- <div className="flex cursor-pointer items-center justify-center space-x-2 bg-green-900 py-3 text-scale-400 transition hover:bg-green-1000 dark:text-scale-1200">+ <div className="flex cursor-pointer items-center justify-center space-x-2 bg-green-900 py-3 text-scale-400 transition hover:bg-green-1000 dark:text-foreground"><p className="text-sm font-medium">We are currently investigating a technical issue, follow status.supabase.com for updates</p>diff --git a/studio/components/layouts/AppLayout/SettingsButton.tsx b/studio/components/layouts/AppLayout/SettingsButton.tsxindex ed5eb2f3a77..959bb174e3f 100644--- a/studio/components/layouts/AppLayout/SettingsButton.tsx+++ b/studio/components/layouts/AppLayout/SettingsButton.tsx@@ -25,7 +25,7 @@ const SettingsButton = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Organization settings</span>+ <span className="text-xs text-foreground">Organization settings</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx b/studio/components/layouts/AppLayout/UserSettingsDropdown.tsxindex 9e277044728..726e6a613c2 100644--- a/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx+++ b/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx@@ -48,7 +48,7 @@ const UserSettingsDropdown = () => {<DropdownMenuContent_Shadcn_ align="end" className="w-60"><DropdownMenuGroup_Shadcn_><div key="profile" className="px-2 py-1.5">- <p className="text-sm text-scale-1200">+ <p className="text-sm text-foreground">{profile?.first_name} {profile?.last_name}</p><p className="text-sm text-scale-1000 truncate">{profile?.primary_email}</p>diff --git a/studio/components/layouts/BillingLayout.tsx b/studio/components/layouts/BillingLayout.tsxindex 5404de66c65..82ece1c7295 100644--- a/studio/components/layouts/BillingLayout.tsx+++ b/studio/components/layouts/BillingLayout.tsx@@ -17,12 +17,12 @@ const BillingLayout = ({ children }: PropsWithChildren<BillingLayoutProps>) => {{/* Header */}<div className="flex items-center space-x-4 border-b py-4 px-5 dark:border-dark"><Link href={`/project/${selectedProject?.ref}/settings/billing/subscription`} passHref>- <a className="text-scale-900 transition-colors hover:text-scale-1200">+ <a className="text-scale-900 transition-colors hover:text-foreground"><IconX size={16} strokeWidth={1.5} /></a></Link><div className="flex items-center space-x-6">- <h1 className="text-sm text-scale-1200">Customize your plan</h1>+ <h1 className="text-sm text-foreground">Customize your plan</h1><div className="h-6 w-px bg-scale-600"></div><div className="flex items-center space-x-3"><p className="text-sm text-scale-1100">{selectedOrganization?.name}</p>diff --git a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsxindex 99d4ae82d85..8ee2bb07119 100644--- a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx+++ b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx@@ -71,7 +71,7 @@ export const generateDocsMenu = (<SVGsrc={`${BASE_PATH}/img/graphql.svg`}style={{ width: `${16}px`, height: `${16}px` }}- className="text-scale-1200"+ className="text-foreground"preProcessor={(code) => code.replace(/svg/, 'svg class="m-auto text-color-inherit"')}/>),diff --git a/studio/components/layouts/FunctionsLayout.tsx b/studio/components/layouts/FunctionsLayout.tsxindex b5ad0e62282..624b974c234 100644--- a/studio/components/layouts/FunctionsLayout.tsx+++ b/studio/components/layouts/FunctionsLayout.tsx@@ -51,7 +51,7 @@ const FunctionsLayout = ({ title, children }: PropsWithChildren<FunctionsLayoutP><div className="flex items-center gap-3"><div className="flex items-center space-x-4">- <h1 className="text-2xl text-scale-1200">Edge Functions</h1>+ <h1 className="text-2xl text-foreground">Edge Functions</h1></div></div></div>@@ -81,7 +81,7 @@ const FunctionsLayout = ({ title, children }: PropsWithChildren<FunctionsLayoutP<div className="flex items-center justify-between w-full"><div className="flex items-center space-x-4"><Link href={`/project/${ref}/functions`}>- <h1 className="cursor-pointer text-2xl text-scale-1200 transition-colors hover:text-scale-1100">+ <h1 className="cursor-pointer text-2xl text-foreground transition-colors hover:text-scale-1100">Edge Functions</h1></Link>@@ -102,7 +102,7 @@ const FunctionsLayout = ({ title, children }: PropsWithChildren<FunctionsLayoutP<path d="M16 3.549L7.12 20.600"></path></svg></span>- <h5 className="text-lg text-scale-1200">{name}</h5>+ <h5 className="text-lg text-foreground">{name}</h5></div>)}</div>diff --git a/studio/components/layouts/ProjectLayout/BuildingState.tsx b/studio/components/layouts/ProjectLayout/BuildingState.tsxindex d2dd2a614cf..a7f79f55169 100644--- a/studio/components/layouts/ProjectLayout/BuildingState.tsx+++ b/studio/components/layouts/ProjectLayout/BuildingState.tsx@@ -52,7 +52,7 @@ const BuildingState = () => {<div className="mx-6 flex flex-col space-y-16"><div className=" flex flex-col gap-4"><div className="flex items-center space-x-3">- <h1 className="text-3xl text-scale-1200">{project?.name}</h1>+ <h1 className="text-3xl text-foreground">{project?.name}</h1><Badge color="brand"><div className="flex items-center gap-2"><IconLoader className="animate-spin" size={12} />@@ -76,7 +76,7 @@ const BuildingState = () => {<div className=" grid grid-cols-12 gap-12"><div className="col-span-12 space-y-12 lg:col-span-4"><div>- <h4 className="text-base text-scale-1200">While you wait</h4>+ <h4 className="text-base text-foreground">While you wait</h4><ChecklistItemdescription={@@ -97,7 +97,7 @@ const BuildingState = () => {/></div><div>- <h4 className="text-base text-scale-1200">Not working?</h4>+ <h4 className="text-base text-foreground">Not working?</h4><ChecklistItemdescription={<p className="text-sm text-scale-1100">diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsxindex 411eee235f6..e2bcdcc07bc 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx@@ -59,7 +59,7 @@ const HelpPopover = ({ alt = false }: HelpPopoverProps) => {'space-y-2 border border-scale-200',].join(' ')}>- <p className="text-xs text-scale-1200">Help</p>+ <p className="text-xs text-foreground">Help</p></div></Tooltip.Content></Tooltip.Portal>@@ -67,7 +67,7 @@ const HelpPopover = ({ alt = false }: HelpPopoverProps) => {</Tooltip.Root><PopoverContent_Shadcn_ className="w-[400px] space-y-4 p-0 py-5" align="end" side="bottom"><div className="mb-5 space-y-4 px-5">- <h5 className="text-scale-1200">Need help with your project?</h5>+ <h5 className="text-foreground">Need help with your project?</h5><p className="text-sm text-scale-900">For issues with your project hosted on supabase.com, or other inquiries about our hostedservices.diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsxindex 35d2c42c055..6e28f3fa424 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx@@ -76,7 +76,7 @@ const NotificationRow = ({<IconXsize={14}strokeWidth={2}- className="text-scale-1100 group-hover:text-scale-1200 transition"+ className="text-scale-1100 group-hover:text-foreground transition"/>}onClick={() => dismissNotification(notification.id)}diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsxindex b7b5ecadfce..9cccae6e964 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx@@ -111,7 +111,7 @@ export const formatNotificationText = (project: Project, notification: Notificat<Link href={upgrade.changelog_link}><a target="_blank" rel="noreferrer"><IconExternalLink- className="cursor-pointer text-scale-1000 hover:text-scale-1200 transition"+ className="cursor-pointer text-scale-1000 hover:text-foreground transition"size={12}strokeWidth={2}/>diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsxindex c1fa05eec5c..dbd5be380ab 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx@@ -160,7 +160,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {<div className="flex items-center justify-between border-b border-gray-500 bg-gray-400 px-4 py-2"><p className="text-sm">Notifications</p>{/* Area for improvement: Paginate notifications and show in a side panel */}- {/* <p className="text-scale-1000 hover:text-scale-1200 cursor-pointer text-sm transition">+ {/* <p className="text-scale-1000 hover:text-foreground cursor-pointer text-sm transition">See all{' '}{notifications.length > MAX_NOTIFICATIONS_TO_SHOW && `(${notifications.length})`}</p> */}@@ -224,7 +224,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {) : alt ? (<IconInbox size={18} strokeWidth={1.5} className="text-scale-1100" />) : (- <IconBell size={16} strokeWidth={1.5} className="text-scale-1200" />+ <IconBell size={16} strokeWidth={1.5} className="text-foreground" />)}iconRight={@@ -233,7 +233,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {{alt ? (<IconInbox size={18} strokeWidth={1.5} className="text-scale-1100" />) : (- <IconBell size={16} strokeWidth={1.5} className="text-scale-1200" />+ <IconBell size={16} strokeWidth={1.5} className="text-foreground" />)}</>) : null@@ -252,7 +252,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {'border border-scale-200 flex items-center space-x-1',].join(' ')}>- <span className="text-xs text-scale-1200">Notifications</span>+ <span className="text-xs text-foreground">Notifications</span></div></Tooltip.Content></Tooltip.Portal>@@ -275,7 +275,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {title={`Apply schema migration for "${projectToApplyMigration?.name}"`}// @ts-ignoredescription={- <div className="text-scale-1200 space-y-2">+ <div className="text-foreground space-y-2"><div className="space-y-1"><p>The following schema migration will be applied to the project</p><ol className="list-disc pl-6">@@ -308,7 +308,7 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {title={`Rollback schema migration for "${projectToRollbackMigration?.name}"`}// @ts-ignoredescription={- <div className="text-scale-1200 space-y-2">+ <div className="text-foreground space-y-2"><div className="space-y-1"><p>The following schema migration will be rolled back for the project</p><ol className="list-disc pl-6">diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsxindex 614154776f3..5437a3eb089 100644--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx@@ -121,7 +121,7 @@ const NavigationBar = () => {].join(' ')}>{os === 'macos' ? (- <IconCommand size={11.5} strokeWidth={1.5} className="text-scale-1200" />+ <IconCommand size={11.5} strokeWidth={1.5} className="text-foreground" />) : (<p className="text-xs">CTRL</p>)}diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsxindex 6a5b22d315c..180f974d3ba 100644--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx@@ -26,8 +26,8 @@ const NavigationIconButton = ({ route, isActive = false }: NavigationIconButtonP'transition-colors duration-200','flex items-center justify-center h-10 w-10 rounded', // Layout'bg-scale-200 hover:bg-scale-500', // Light mode- 'text-scale-900 hover:text-scale-1200 ', // Dark mode- `${isActive ? 'bg-scale-500 shadow-sm text-scale-1200' : ''}`,+ 'text-scale-900 hover:text-foreground ', // Dark mode+ `${isActive ? 'bg-scale-500 shadow-sm text-foreground' : ''}`,].join(' ')}>{route.icon}@@ -44,7 +44,7 @@ const NavigationIconButton = ({ route, isActive = false }: NavigationIconButtonP'border border-scale-500 ', //border].join(' ')}>- <span className="text-scale-1200 text-xs">{route.label}</span>+ <span className="text-foreground text-xs">{route.label}</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsxindex 7f02480160b..9bb107c62ea 100644--- a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx+++ b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx@@ -136,7 +136,7 @@ const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to resume this project</span></div>diff --git a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsxindex d978e253b6f..66ae8af70af 100644--- a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx+++ b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx@@ -186,11 +186,11 @@ const UpgradingState = () => {<pclassName={`text-sm ${isCurrent- ? 'text-scale-1200'+ ? 'text-foreground': isCompleted? 'text-scale-1100': 'text-scale-1000'- } hover:text-scale-1200 transition`}+ } hover:text-foreground transition`}>{isCurrent? message.progress@@ -220,7 +220,7 @@ const UpgradingState = () => {'border border-scale-200 ', //border].join(' ')}>- <span className="text-xs text-scale-1200">{initiatedAt}</span>+ <span className="text-xs text-foreground">{initiatedAt}</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx b/studio/components/layouts/SQLEditorLayout/QueryItem.tsxindex e4ddd6bb285..d4c12086803 100644--- a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx+++ b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx@@ -59,7 +59,7 @@ const QueryItem = ({ tabInfo }: QueryItemProps) => {key={id}className={clsx('flex items-center justify-between rounded-md group',- isActive && 'text-scale-1200 bg-scale-400 dark:bg-scale-600 -active'+ isActive && 'text-foreground bg-scale-400 dark:bg-scale-600 -active')}ref={isActive ? (activeItemRef as React.RefObject<HTMLDivElement>) : null}>@@ -67,7 +67,7 @@ const QueryItem = ({ tabInfo }: QueryItemProps) => {<a className="py-1 px-3 w-full overflow-hidden"><ptitle={description || name}- className="text-sm text-scale-1100 group-hover:text-scale-1200 transition overflow-hidden text-ellipsis"+ className="text-sm text-scale-1100 group-hover:text-foreground transition overflow-hidden text-ellipsis">{name}</p>diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsxindex 5c6ff265a6b..3437271cc49 100644--- a/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx@@ -173,7 +173,7 @@ const SideBarContent = observer(() => {'w-4','h-4','cursor-pointer',- isFavoritesFilterOpen ? 'text-scale-1200' : 'text-scale-900'+ isFavoritesFilterOpen ? 'text-foreground' : 'text-scale-900')}onClick={() => {setFavoritesFilterString('')@@ -240,7 +240,7 @@ const SideBarContent = observer(() => {'w-4','h-4','cursor-pointer',- isProjectSnippetsFilterOpen ? 'text-scale-1200' : 'text-scale-900'+ isProjectSnippetsFilterOpen ? 'text-foreground' : 'text-scale-900')}onClick={() => {setProjectSnippetsFilterString('')@@ -306,7 +306,7 @@ const SideBarContent = observer(() => {'w-4','h-4','cursor-pointer',- isPersonalSnippetsFilterOpen ? 'text-scale-1200' : 'text-scale-900'+ isPersonalSnippetsFilterOpen ? 'text-foreground' : 'text-scale-900')}onClick={() => {setPersonalSnippetsFilterString('')diff --git a/studio/components/layouts/SettingsLayout/ProjectSettingsMenuItem.tsx b/studio/components/layouts/SettingsLayout/ProjectSettingsMenuItem.tsxindex 2132e439e40..056f8310546 100644--- a/studio/components/layouts/SettingsLayout/ProjectSettingsMenuItem.tsx+++ b/studio/components/layouts/SettingsLayout/ProjectSettingsMenuItem.tsx@@ -37,7 +37,7 @@ const ProjectSettingsMenuItem = ({ project }: ProjectSettingsMenuItemProps) => {<AccordionItem_Shadcn_ value={project.ref} className="!border-none"><AccordionTrigger_Shadcn_hideIcon- className="py-1.5 hover:!no-underline [&[data-state=open]>div>svg]:!rotate-90 [&[data-state=open]>div>p]:text-scale-1200"+ className="py-1.5 hover:!no-underline [&[data-state=open]>div>svg]:!rotate-90 [&[data-state=open]>div>p]:text-foreground"><div className="flex items-center space-x-2"><IconChevronRightdiff --git a/studio/components/layouts/SettingsLayout/SettingsMenuItem.tsx b/studio/components/layouts/SettingsLayout/SettingsMenuItem.tsxindex e8bcf9b13a0..1a855220dce 100644--- a/studio/components/layouts/SettingsLayout/SettingsMenuItem.tsx+++ b/studio/components/layouts/SettingsLayout/SettingsMenuItem.tsx@@ -14,7 +14,7 @@ const SettingsMenuItem = ({ href, label, isActive }: SettingsMenuItemProps) => {<aclassName={clsx('text-sm',- isActive ? 'text-scale-1200' : 'text-scale-1100 hover:text-scale-1200 transition'+ isActive ? 'text-foreground' : 'text-scale-1100 hover:text-foreground transition')}>{label}diff --git a/studio/components/layouts/StorageLayout/BucketRow.tsx b/studio/components/layouts/StorageLayout/BucketRow.tsxindex dc79e48b408..c34f43d1df1 100644--- a/studio/components/layouts/StorageLayout/BucketRow.tsx+++ b/studio/components/layouts/StorageLayout/BucketRow.tsx@@ -29,14 +29,14 @@ const BucketRow = ({key={bucket.id}className={clsx('group flex items-center justify-between rounded-md',- isSelected && 'text-scale-1200 bg-scale-300'+ isSelected && 'text-foreground bg-scale-300')}><Link href={`/project/${projectRef}/storage/buckets/${bucket.id}`}><a className="py-1 px-3 w-full"><div className="flex items-center justify-between space-x-2 truncate w-full"><p- className="text-sm text-scale-1100 group-hover:text-scale-1200 transition truncate"+ className="text-sm text-scale-1100 group-hover:text-foreground transition truncate"title={bucket.name}>{bucket.name}diff --git a/studio/components/layouts/StorageLayout/StorageMenu.tsx b/studio/components/layouts/StorageLayout/StorageMenu.tsxindex fc313c8bfae..df26a08c25b 100644--- a/studio/components/layouts/StorageLayout/StorageMenu.tsx+++ b/studio/components/layouts/StorageLayout/StorageMenu.tsx@@ -65,7 +65,7 @@ const StorageMenu = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create buckets</span></div>diff --git a/studio/components/layouts/TableEditorLayout/EntityListItem.tsx b/studio/components/layouts/TableEditorLayout/EntityListItem.tsxindex f85860b8bfa..c23164b8c18 100644--- a/studio/components/layouts/TableEditorLayout/EntityListItem.tsx+++ b/studio/components/layouts/TableEditorLayout/EntityListItem.tsx@@ -110,7 +110,7 @@ const EntityListItem = ({ id, projectRef, item: entity, isLocked }: EntityListIt<divclassName={clsx('group flex items-center justify-between rounded-md',- isActive && 'text-scale-1200 bg-scale-300'+ isActive && 'text-foreground bg-scale-300')}><Link href={`/project/${projectRef}/editor/${entity.id}`}>@@ -160,14 +160,14 @@ const EntityListItem = ({ id, projectRef, item: entity, isLocked }: EntityListIt'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200 capitalize">+ <span className="text-xs text-foreground capitalize">{formatTooltipText(entity.type)}</span></div></Tooltip.Content></Tooltip.Portal></Tooltip.Root>- <p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition max-w-[85%] overflow-hidden text-ellipsis whitespace-nowrap">+ <p className="text-sm text-scale-1100 group-hover:text-foreground transition max-w-[85%] overflow-hidden text-ellipsis whitespace-nowrap">{/* only show tooltips if required, to reduce noise */}{entity.name.length > 20 ? (<Tooltip.Root delayDuration={0} disableHoverableContent={true}>@@ -183,7 +183,7 @@ const EntityListItem = ({ id, projectRef, item: entity, isLocked }: EntityListIt'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">{entity.name}</span>+ <span className="text-xs text-foreground">{entity.name}</span></div></Tooltip.Content></Tooltip.Portal>@@ -254,7 +254,7 @@ const EntityListItem = ({ id, projectRef, item: entity, isLocked }: EntityListIt</Dropdown.Item>,]}>- <div className="text-scale-900 transition-colors hover:text-scale-1200">+ <div className="text-scale-900 transition-colors hover:text-foreground"><IconChevronDown size={14} strokeWidth={2} /></div></Dropdown>diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsxindex c45ddb71087..edd7a9a1269 100644--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx@@ -249,7 +249,7 @@ const TableEditorMenu = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create tables</span></div>@@ -373,7 +373,7 @@ const TableEditorMenu = () => {><Tooltip.Root delayDuration={0}><Tooltip.Trigger asChild>- <div className="text-scale-900 transition-colors hover:text-scale-1200">+ <div className="text-scale-900 transition-colors hover:text-foreground"><IconChevronsDown size={18} strokeWidth={1} /></div></Tooltip.Trigger>@@ -394,7 +394,7 @@ const TableEditorMenu = () => {</Dropdown><button- className="cursor-pointer text-scale-900 transition-colors hover:text-scale-1200"+ className="cursor-pointer text-scale-900 transition-colors hover:text-foreground"onClick={refreshTables}><IconRefreshCw className={isRefetching ? 'animate-spin' : ''} size={14} />diff --git a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsxindex 3e0651f0825..ccb3d9ba26f 100644--- a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx+++ b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx@@ -88,7 +88,7 @@ const Header = ({const highlighted = (<h5className={- 'text-xl font-normal text-scale-1200 ' + (minimalHeader ? 'text-base' : 'text-2xl')+ 'text-xl font-normal text-foreground ' + (minimalHeader ? 'text-base' : 'text-2xl')}>{title}diff --git a/studio/components/to-be-cleaned/ProductEmptyState.tsx b/studio/components/to-be-cleaned/ProductEmptyState.tsxindex ab85f4820cb..412a5243f73 100644--- a/studio/components/to-be-cleaned/ProductEmptyState.tsx+++ b/studio/components/to-be-cleaned/ProductEmptyState.tsx@@ -60,7 +60,7 @@ const ProductEmptyState = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">{disabledMessage}</span>+ <span className="text-xs text-foreground">{disabledMessage}</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsxindex 595d5a1a885..1f7f0d207f6 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx@@ -257,7 +257,7 @@ const FileExplorerColumn = ({isEmpty &&column.status !== STORAGE_ROW_STATUS.LOADING && (<div className="h-full w-full flex flex-col items-center justify-center">- <p className="text-sm my-3 text-scale-1200">No results found in this folder</p>+ <p className="text-sm my-3 text-foreground">No results found in this folder</p><p className="w-40 text-center text-sm text-light">Your search for "{itemSearchString}" did not return any results</p>diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsxindex 8877d3efa13..6c146076e67 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx@@ -425,7 +425,7 @@ const FileExplorerHeader = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to upload files</span></div>@@ -454,7 +454,7 @@ const FileExplorerHeader = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to create folders</span></div>@@ -475,7 +475,7 @@ const FileExplorerHeader = ({actions={[<IconXkey="close"- className="mx-2 cursor-pointer text-scale-1200"+ className="mx-2 cursor-pointer text-foreground"size="tiny"strokeWidth={2}onClick={onCancelSearch}diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsxindex fa14c67cd88..b4cc96f3393 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx@@ -20,7 +20,7 @@ const FileExplorerHeaderSelection = () => {onClick={() => clearSelectedItems()}/><div className="ml-4 flex items-center space-x-3">- <p className="mb-0 text-sm text-scale-1200">+ <p className="mb-0 text-sm text-foreground"><span style={{ fontVariantNumeric: 'tabular-nums' }}>{selectedItems.length}</span> itemsselected</p>diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsxindex 50852d22bb5..d41c1b3c2a0 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx@@ -379,7 +379,7 @@ const FileExplorerRow = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">File is corrupted, please delete and reupload again.</span></div>@@ -438,7 +438,7 @@ const FileExplorerRow = ({<divclassName={['flex items-center justify-between px-4 py-1.5 text-xs text-scale-1100',- 'w-full focus:bg-scale-300 dark:focus:bg-scale-500 focus:text-scale-1200',+ 'w-full focus:bg-scale-300 dark:focus:bg-scale-500 focus:text-foreground',].join(' ')}><div className="flex items-center space-x-2">diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsxindex af6d50ac595..37297db9fd4 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx@@ -136,7 +136,7 @@ const PreviewPane = ({ onCopyUrl }: PreviewPaneProps) => {style={{ width }}>{/* Preview Header */}- <div className="flex w-full justify-end text-scale-900 transition-colors hover:text-scale-1200">+ <div className="flex w-full justify-end text-scale-900 transition-colors hover:text-foreground"><IconXclassName="cursor-pointer"size={14}@@ -155,7 +155,7 @@ const PreviewPane = ({ onCopyUrl }: PreviewPaneProps) => {<div className="w-full space-y-6">{/* Preview Information */}<div className="space-y-1">- <h5 className="break-words text-base text-scale-1200">{file.name}</h5>+ <h5 className="break-words text-base text-foreground">{file.name}</h5>{file.isCorrupted && (<div className="flex items-center space-x-2"><IconAlertCircle size={14} strokeWidth={2} className="text-scale-1100" />@@ -277,7 +277,7 @@ const PreviewPane = ({ onCopyUrl }: PreviewPaneProps) => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">You need additional permissions to delete this file</span></div>diff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.jsindex 24cc64e8ff8..995a966f82e 100644--- a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.js+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.js@@ -16,7 +16,7 @@ const PolicyRow = ({<div className="flex flex-col gap-3 lg:flex-row lg:items-center"><div className="font-mono text-xs text-scale-900">{command}</div><div className="flex flex-col gap-2 lg:flex-row">- <span className="truncate text-sm text-scale-1200">{name}</span>+ <span className="truncate text-sm text-foreground">{name}</span></div></div><Dropdowndiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.jsindex ebcfe0bef98..424bcb88d70 100644--- a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.js+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.js@@ -181,7 +181,7 @@ const StoragePoliciesEditPolicyModal = ({<div className="flex items-center space-x-3"><spanonClick={onSelectBackFromTemplates}- className="cursor-pointer text-scale-900 transition-colors hover:text-scale-1200"+ className="cursor-pointer text-scale-900 transition-colors hover:text-foreground"><IconChevronLeft strokeWidth={2} size={14} /></span>diff --git a/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx b/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsxindex b0a07b8cac7..1d7c965b1ae 100644--- a/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx@@ -108,7 +108,7 @@ const StorageConfig = ({ config, projectRef }: any) => {return (<><div className="mb-6">- <h3 className="mb-2 text-xl text-scale-1200">Storage Settings</h3>+ <h3 className="mb-2 text-xl text-foreground">Storage Settings</h3><div className="text-sm text-scale-900">Configure your project's storage settings</div>diff --git a/studio/components/ui/CardButton.tsx b/studio/components/ui/CardButton.tsxindex 519e7076ab9..3efcf8252ab 100644--- a/studio/components/ui/CardButton.tsx+++ b/studio/components/ui/CardButton.tsx@@ -83,7 +83,7 @@ const CardButton = ({)}{icon && <ImageContainer>{icon}</ImageContainer>}<div className="flex h-full w-full flex-col space-y-2">- {typeof title === 'string' ? <h5 className="text-scale-1200">{title}</h5> : title}+ {typeof title === 'string' ? <h5 className="text-foreground">{title}</h5> : title}{(children || description) && (<div className="flex w-full flex-1 flex-col"><p className="text-sm text-scale-1100">{description}</p>@@ -102,7 +102,7 @@ const CardButton = ({transition-allduration-200group-hover:right-3- group-hover:text-scale-1200+ group-hover:text-foreground">{loading ? <IconLoader className="animate-spin" /> : <IconChevronRight />}diff --git a/studio/components/ui/Charts/ChartHeader.tsx b/studio/components/ui/Charts/ChartHeader.tsxindex 93ce980b751..ede3d782639 100644--- a/studio/components/ui/Charts/ChartHeader.tsx+++ b/studio/components/ui/Charts/ChartHeader.tsx@@ -20,7 +20,7 @@ const ChartHeader: React.FC<ChartHeaderProps> = ({const highlighted = (<h5- className={`text-scale-1200 text-xl font-normal ${minimalHeader ? 'text-base' : 'text-2xl'}`}+ className={`text-foreground text-xl font-normal ${minimalHeader ? 'text-base' : 'text-2xl'}`}>{highlightedValue !== undefined && String(highlightedValue)}<span className="text-lg">diff --git a/studio/components/ui/ClientLoadingError.tsx b/studio/components/ui/ClientLoadingError.tsxindex 3a7b7b93ebf..58096e8edd7 100644--- a/studio/components/ui/ClientLoadingError.tsx+++ b/studio/components/ui/ClientLoadingError.tsx@@ -15,7 +15,7 @@ const ClientLoadingError = ({<div className="flex space-x-4"><IconAlertCircle strokeWidth={1.5} className="text-scale-1100" /><div className="space-y-1">- <p className="text-sm text-scale-1200">{description}</p>+ <p className="text-sm text-foreground">{description}</p><p className="text-sm text-scale-1000">Try refreshing your browser. However, if this issue persists, please reach out to us viasupport.diff --git a/studio/components/ui/DatePicker/DatePicker.tsx b/studio/components/ui/DatePicker/DatePicker.tsxindex e34910be428..cff17c71f85 100644--- a/studio/components/ui/DatePicker/DatePicker.tsx+++ b/studio/components/ui/DatePicker/DatePicker.tsx@@ -252,7 +252,7 @@ function _DatePicker({type="button"className={`${prevMonthButtonDisabled && 'cursor-not-allowed opacity-50'}- text-scale-1100 hover:text-scale-1200 focus:outline-none+ text-scale-1100 hover:text-foreground focus:outline-none`}><IconChevronLeft size={16} strokeWidth={2} />@@ -264,7 +264,7 @@ function _DatePicker({type="button"className={`${nextMonthButtonDisabled && 'cursor-not-allowed opacity-50'}- text-scale-1100 hover:text-scale-1200 focus:outline-none+ text-scale-1100 hover:text-foreground focus:outline-none`}><IconChevronRight size={16} strokeWidth={2} />diff --git a/studio/components/ui/DatePicker/TimeSplitInput.tsx b/studio/components/ui/DatePicker/TimeSplitInput.tsxindex ea93dbbe9c4..1eb27d40284 100644--- a/studio/components/ui/DatePicker/TimeSplitInput.tsx+++ b/studio/components/ui/DatePicker/TimeSplitInput.tsx@@ -183,7 +183,7 @@ const TimeSplitInput = ({border-nonebg-transparentp-0 text-center text-xs- text-scale-1200+ text-foregroundoutline-nonering-0focus:ring-0@@ -205,7 +205,7 @@ const TimeSplitInput = ({border-nonebg-transparentp-0 text-center text-xs- text-scale-1200+ text-foregroundoutline-nonering-0focus:ring-0@@ -227,7 +227,7 @@ const TimeSplitInput = ({border-nonebg-transparentp-0 text-center text-xs- text-scale-1200+ text-foregroundoutline-nonering-0focus:ring-0diff --git a/studio/components/ui/Forms/FormHeader.tsx b/studio/components/ui/Forms/FormHeader.tsxindex 4e6ef50f73d..e50553ce816 100644--- a/studio/components/ui/Forms/FormHeader.tsx+++ b/studio/components/ui/Forms/FormHeader.tsx@@ -3,7 +3,7 @@ import ReactMarkdown from 'react-markdown'const FormHeader = ({ title, description }: { title: string; description?: string }) => {return (<div className="mb-6">- <h3 className="text-scale-1200 mb-2 text-xl">+ <h3 className="text-foreground mb-2 text-xl"><ReactMarkdown unwrapDisallowed disallowedElements={['p']}>{title}</ReactMarkdown>diff --git a/studio/components/ui/Forms/FormSection.tsx b/studio/components/ui/Forms/FormSection.tsxindex 5baa7ca7f56..e75ea3cdb2c 100644--- a/studio/components/ui/Forms/FormSection.tsx+++ b/studio/components/ui/Forms/FormSection.tsx@@ -42,13 +42,13 @@ const FormSectionLabel = ({if (description !== undefined) {return (<div className={`flex flex-col space-y-2 col-span-12 lg:col-span-5 ${className}`}>- <label className="text-scale-1200 text-sm">{children}</label>+ <label className="text-foreground text-sm">{children}</label>{description}</div>)} else {return (- <label className={`text-scale-1200 col-span-12 text-sm lg:col-span-5 ${className}`}>+ <label className={`text-foreground col-span-12 text-sm lg:col-span-5 ${className}`}>{children}</label>)diff --git a/studio/components/ui/Forms/FormsContainer.tsx b/studio/components/ui/Forms/FormsContainer.tsxindex be2c58e1eba..d2368eb4918 100644--- a/studio/components/ui/Forms/FormsContainer.tsx+++ b/studio/components/ui/Forms/FormsContainer.tsx@@ -1,7 +1,7 @@function FormsContainer(props: { children: React.ReactNode; header?: string }) {return (<div className="mx-auto max-w-4xl px-5 pt-12 pb-20">- {props.header && <h1 className="text-scale-1200 mb-8 text-3xl">{props.header}</h1>}+ {props.header && <h1 className="text-foreground mb-8 text-3xl">{props.header}</h1>}<div className="space-y-20">{props.children}</div></div>)diff --git a/studio/components/ui/InformationBox.tsx b/studio/components/ui/InformationBox.tsxindex 760effcb74c..e2597a39bca 100644--- a/studio/components/ui/InformationBox.tsx+++ b/studio/components/ui/InformationBox.tsx@@ -39,7 +39,7 @@ const InformationBox = ({<div className="flex w-full space-x-3 lg:items-start">{icon && <span className="text-scale-900">{icon}</span>}<div className="flex-grow">- <h5 className="text-sm text-scale-1200">{title}</h5>+ <h5 className="text-sm text-foreground">{title}</h5></div></div>{description && !hideCollapse ? (diff --git a/studio/components/ui/Logs/LogsExplorerHeader.tsx b/studio/components/ui/Logs/LogsExplorerHeader.tsxindex 2425c0e48cb..fce9b53b999 100644--- a/studio/components/ui/Logs/LogsExplorerHeader.tsx+++ b/studio/components/ui/Logs/LogsExplorerHeader.tsx@@ -35,7 +35,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {<IconList size={14} strokeWidth={3} /></div>- <h1 className="text-2xl text-scale-1200">Logs Explorer</h1>+ <h1 className="text-2xl text-foreground">Logs Explorer</h1>{subtitle && <span className="text-2xl text-scale-1000">{subtitle}</span>}</div><div className="flex flex-row gap-2">@@ -147,7 +147,7 @@ const Field = ({return (<Table.tr><Table.td- className="font-mono text-xs !p-2 cursor-pointer hover:text-scale-1200 transition flex items-center space-x-2"+ className="font-mono text-xs !p-2 cursor-pointer hover:text-foreground transition flex items-center space-x-2"onClick={() =>copyToClipboard(field.path, () => {setIsCopied(true)@@ -170,7 +170,7 @@ const Field = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Copied</span>+ <span className="text-xs text-foreground">Copied</span></div></Tooltip.Content></Tooltip.Portal>@@ -189,7 +189,7 @@ const Field = ({'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Copy value</span>+ <span className="text-xs text-foreground">Copy value</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/components/ui/Modals/TextConfirmModal.tsx b/studio/components/ui/Modals/TextConfirmModal.tsxindex 7f9b10d6fe5..5ee814a43ee 100644--- a/studio/components/ui/Modals/TextConfirmModal.tsx+++ b/studio/components/ui/Modals/TextConfirmModal.tsx@@ -77,7 +77,8 @@ const TextConfirmModal = ({id="confirmValue"label={<span>- Type <span className="text-scale-1200 break-all">{confirmString}</span> to confirm.+ Type <span className="text-foreground break-all">{confirmString}</span> to+ confirm.</span>}placeholder={confirmPlaceholder}diff --git a/studio/components/ui/SparkBar.tsx b/studio/components/ui/SparkBar.tsxindex 05079942518..7891d7289de 100644--- a/studio/components/ui/SparkBar.tsx+++ b/studio/components/ui/SparkBar.tsx@@ -36,7 +36,7 @@ const SparkBar = ({<div className="flex align-baseline justify-between pb-1 space-x-8"><pclassName={clsx(- 'text-scale-1200 text-sm truncate capitalize-sentence',+ 'text-foreground text-sm truncate capitalize-sentence',labelTop.length > 0 && 'max-w-[75%]',labelBottomClass)}diff --git a/studio/components/ui/States/EmptyListState.tsx b/studio/components/ui/States/EmptyListState.tsxindex d5691e3f5af..4ed09aece4d 100644--- a/studio/components/ui/States/EmptyListState.tsx+++ b/studio/components/ui/States/EmptyListState.tsx@@ -31,7 +31,7 @@ const EmptyListState = ({ title, description }: { title: string; description: st</div></div><div className="flex flex-col gap-1 px-5">- <h3 className="text-scale-1200 text-sm">{title}</h3>+ <h3 className="text-foreground text-sm">{title}</h3><p className="text-scale-900 text-sm">{description}</p></div></div>diff --git a/studio/components/ui/TwoOptionToggle.tsx b/studio/components/ui/TwoOptionToggle.tsxindex 2fc1a5640e3..d9cfc6214d7 100644--- a/studio/components/ui/TwoOptionToggle.tsx+++ b/studio/components/ui/TwoOptionToggle.tsx@@ -41,7 +41,7 @@ const TwoOptionToggle = ({key={`toggle_${index}`}style={{ width: width + 1 }}className={`- ${activeOption === option ? 'text-scale-1200' : 'text-scale-1000'}+ ${activeOption === option ? 'text-foreground' : 'text-scale-1000'}${index === 0 ? 'right-0' : 'left-0'}${buttonStyle(activeOption === option)}cursor-pointer@@ -50,8 +50,8 @@ const TwoOptionToggle = ({><spanclassName={clsx(- 'capitalize hover:text-scale-1200 dark:hover:text-scale-1200',- activeOption === option ? 'text-scale-1200' : 'text-scale-1000'+ 'capitalize hover:text-foreground dark:hover:text-foreground',+ activeOption === option ? 'text-foreground' : 'text-scale-1000')}>{option}diff --git a/studio/components/ui/UpgradeToPro.tsx b/studio/components/ui/UpgradeToPro.tsxindex 0be22608974..a086612d3c5 100644--- a/studio/components/ui/UpgradeToPro.tsx+++ b/studio/components/ui/UpgradeToPro.tsx@@ -70,7 +70,7 @@ const UpgradeToPro = ({'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background].join(' ')}>- <span className="text-xs text-scale-1200">+ <span className="text-xs text-foreground">{projectUpdateDisabled ? (<>Subscription changes are currently disabled.diff --git a/studio/components/ui/WarningBanner.tsx b/studio/components/ui/WarningBanner.tsxindex 591de4ff076..5ca30d5092f 100644--- a/studio/components/ui/WarningBanner.tsx+++ b/studio/components/ui/WarningBanner.tsx@@ -8,7 +8,7 @@ const WarningBanner = ({ title, description }: { title: string; description?: st<IconAlertCircle size={14} strokeWidth={2} /></div><div className="flex flex-col items-start gap-x-3 xl:flex-row xl:items-center">- <h2 className="text-sm text-scale-1200 dark:text-scale-100">{title}</h2>+ <h2 className="text-sm text-foreground dark:text-scale-100">{title}</h2>{description && (<p className="text-xs text-yellow-1200 dark:text-yellow-800">{description}</p>)}diff --git a/studio/pages/account/security.tsx b/studio/pages/account/security.tsxindex c44af798c73..f7db473474f 100644--- a/studio/pages/account/security.tsx+++ b/studio/pages/account/security.tsx@@ -35,7 +35,7 @@ const Security: NextPageWithLayout = () => {<Collapsible.Trigger asChild><buttontype="button"- className="group flex w-full items-center justify-between rounded py-3 px-6 text-scale-1200"+ className="group flex w-full items-center justify-between rounded py-3 px-6 text-foreground"><div className="flex flex-row gap-4 items-center py-1"><IconSmartphone strokeWidth={1.5} />@@ -49,7 +49,7 @@ const Security: NextPageWithLayout = () => {) : null}</button></Collapsible.Trigger>- <Collapsible.Content className="group border-t border-scale-500 bg-scale-100 py-6 px-6 text-scale-1200 dark:bg-scale-300">+ <Collapsible.Content className="group border-t border-scale-500 bg-scale-100 py-6 px-6 text-foreground dark:bg-scale-300"><TOTPFactors /></Collapsible.Content></Collapsible>diff --git a/studio/pages/integrations/github/[integrationId]/choose-project.tsx b/studio/pages/integrations/github/[integrationId]/choose-project.tsxindex 2bf35deb49b..1079237eadc 100644--- a/studio/pages/integrations/github/[integrationId]/choose-project.tsx+++ b/studio/pages/integrations/github/[integrationId]/choose-project.tsx@@ -70,7 +70,7 @@ const ChooseProjectGitHubPage: NextPageWithLayout = () => {<><ScaffoldContainer className="flex flex-col gap-6 grow py-8"><header>- <h1 className="text-xl text-scale-1200">+ <h1 className="text-xl text-foreground">Link a Supabase project to a GitHub repository</h1><Markdowndiff --git a/studio/pages/integrations/github/install.tsx b/studio/pages/integrations/github/install.tsxindex 24904d94565..209424a53c2 100644--- a/studio/pages/integrations/github/install.tsx+++ b/studio/pages/integrations/github/install.tsx@@ -124,7 +124,7 @@ const GitHubIntegration: NextPageWithLayout = () => {<><ScaffoldContainer className="flex flex-col gap-6 grow py-8"><ScaffoldColumn className="mx-auto">- <h1 className="text-xl text-scale-1200">Choose organization</h1>+ <h1 className="text-xl text-foreground">Choose organization</h1><><Markdown content={`Choose the Supabase organization you wish to install in`} /><OrganizationPickerdiff --git a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsxindex 248126f21ff..a21e52eb04a 100644--- a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx+++ b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx@@ -32,7 +32,7 @@ const VercelIntegration: NextPageWithLayout = () => {<><ScaffoldContainer className="max-w-md flex flex-col gap-6 grow py-8">- <h1 className="text-xl text-scale-1200">New project</h1>+ <h1 className="text-xl text-foreground">New project</h1><><Markdown content={`Choose the Supabase organization you wish to install in`} /><CreateProject loading={loading} setLoading={setLoading} />@@ -318,7 +318,7 @@ const CreateProject = ({/>)}>- <span className="text-scale-1200">{label}</span>+ <span className="text-foreground">{label}</span></Listbox.Option>)})}diff --git a/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx b/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsxindex 1ca69a39354..e44bf6f4f80 100644--- a/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx+++ b/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx@@ -151,7 +151,7 @@ const VercelIntegration: NextPageWithLayout = () => {<ScaffoldContainer className="flex flex-col gap-6 grow py-8"><ScaffoldColumn className="!max-w-[900px] mx-auto w-full"><header>- <h1 className="text-xl text-scale-1200">Create your first Project Connection</h1>+ <h1 className="text-xl text-foreground">Create your first Project Connection</h1><MarkdownclassName="text-scale-900"content={`diff --git a/studio/pages/integrations/vercel/install.tsx b/studio/pages/integrations/vercel/install.tsxindex c2b4c80cdc3..6405a62f455 100644--- a/studio/pages/integrations/vercel/install.tsx+++ b/studio/pages/integrations/vercel/install.tsx@@ -187,7 +187,7 @@ const VercelIntegration: NextPageWithLayout = () => {<><ScaffoldContainer className="flex flex-col gap-6 grow py-8"><ScaffoldColumn className="mx-auto w-full max-w-md">- <h1 className="text-xl text-scale-1200">Choose organization</h1>+ <h1 className="text-xl text-foreground">Choose organization</h1><><Markdown content={`Choose the Supabase organization you wish to install in`} /><OrganizationPickerdiff --git a/studio/pages/join/index.tsx b/studio/pages/join/index.tsxindex 54a5c395993..0f9fff67ca9 100644--- a/studio/pages/join/index.tsx+++ b/studio/pages/join/index.tsx@@ -111,7 +111,7 @@ const JoinOrganizationPage = () => {<divclassName={['flex flex-col items-center justify-center gap-3 text-sm',- isError ? 'text-scale-1100' : 'text-scale-1200',+ isError ? 'text-scale-1100' : 'text-foreground',].join(' ')}>{children}@@ -165,10 +165,10 @@ const JoinOrganizationPage = () => {<><div className="flex flex-col gap-2 px-6 py-8"><>- <p className="text-sm text-scale-1200">You have been invited to join </p>+ <p className="text-sm text-foreground">You have been invited to join </p>{organization_name ? (<>- <p className="text-3xl text-scale-1200">+ <p className="text-3xl text-foreground">{name ? name : organization_name ? `${organization_name}` : 'an organization'}</p>{!token_does_not_exist && (@@ -177,7 +177,7 @@ const JoinOrganizationPage = () => {</>) : (<>- <p className="text-3xl text-scale-1200">{'an organization'}</p>+ <p className="text-3xl text-foreground">{'an organization'}</p></>)}{slug && <p className="text-xs text-scale-900">{`organization slug: ${slug}`}</p>}diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsxindex 6bce0bddebb..371cdc31fb2 100644--- a/studio/pages/new/[slug].tsx+++ b/studio/pages/new/[slug].tsx@@ -395,7 +395,7 @@ const Wizard: NextPageWithLayout = () => {const value = providerObj['id']return (<Listbox.Option key={value} label={label} value={value}>- <span className="text-scale-1200">{label}</span>+ <span className="text-foreground">{label}</span></Listbox.Option>)})}@@ -451,7 +451,7 @@ const Wizard: NextPageWithLayout = () => {/>)}>- <span className="text-scale-1200">{label}</span>+ <span className="text-foreground">{label}</span></Listbox.Option>)})}diff --git a/studio/pages/project/[ref]/auth/policies.tsx b/studio/pages/project/[ref]/auth/policies.tsxindex c66ea97a317..fb78b0c214d 100644--- a/studio/pages/project/[ref]/auth/policies.tsx+++ b/studio/pages/project/[ref]/auth/policies.tsx@@ -142,7 +142,7 @@ const AuthPoliciesPage: NextPageWithLayout = () => {label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}<Listbox.Option@@ -160,7 +160,7 @@ const AuthPoliciesPage: NextPageWithLayout = () => {label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}</Listbox>diff --git a/studio/pages/project/[ref]/database/backups/pitr.tsx b/studio/pages/project/[ref]/database/backups/pitr.tsxindex d26020d3228..945824f1672 100644--- a/studio/pages/project/[ref]/database/backups/pitr.tsx+++ b/studio/pages/project/[ref]/database/backups/pitr.tsx@@ -26,7 +26,7 @@ const DatabasePhysicalBackups: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="space-y-6">- <h3 className="text-xl text-scale-1200">Database Backups</h3>+ <h3 className="text-xl text-foreground">Database Backups</h3><Tabstype="underlined"diff --git a/studio/pages/project/[ref]/database/backups/scheduled.tsx b/studio/pages/project/[ref]/database/backups/scheduled.tsxindex 6a4863b24d9..fe6966e6803 100644--- a/studio/pages/project/[ref]/database/backups/scheduled.tsx+++ b/studio/pages/project/[ref]/database/backups/scheduled.tsx@@ -36,7 +36,7 @@ const DatabaseScheduledBackups: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="space-y-6">- <h3 className="text-xl text-scale-1200">Database Backups</h3>+ <h3 className="text-xl text-foreground">Database Backups</h3><Tabstype="underlined"diff --git a/studio/pages/project/[ref]/database/extensions.tsx b/studio/pages/project/[ref]/database/extensions.tsxindex 255b03f496e..89ea5c976f6 100644--- a/studio/pages/project/[ref]/database/extensions.tsx+++ b/studio/pages/project/[ref]/database/extensions.tsx@@ -22,7 +22,7 @@ const DatabaseExtensions: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="mb-4">- <h3 className="mb-1 text-xl text-scale-1200">Database Extensions</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Extensions</h3></div><Extensions /></div>diff --git a/studio/pages/project/[ref]/database/functions.tsx b/studio/pages/project/[ref]/database/functions.tsxindex dfd219a8326..36fa02edb3e 100644--- a/studio/pages/project/[ref]/database/functions.tsx+++ b/studio/pages/project/[ref]/database/functions.tsx@@ -53,7 +53,7 @@ const FunctionsPage: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="mb-4">- <h3 className="mb-1 text-xl text-scale-1200">Database Functions</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Functions</h3></div><FunctionsListcreateFunction={createFunction}diff --git a/studio/pages/project/[ref]/database/replication.tsx b/studio/pages/project/[ref]/database/replication.tsxindex e5e19a2fac7..21ccdc63bbf 100644--- a/studio/pages/project/[ref]/database/replication.tsx+++ b/studio/pages/project/[ref]/database/replication.tsx@@ -34,7 +34,7 @@ const DatabaseReplication: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="mb-4">- <h3 className="mb-1 text-xl text-scale-1200">Database Replications</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Replications</h3></div>{selectedPublicationId === undefined ? (<PublicationsList onSelectPublication={setSelectedPublicationId} />diff --git a/studio/pages/project/[ref]/database/schemas.tsx b/studio/pages/project/[ref]/database/schemas.tsxindex d9e67017988..18ca4bc75d2 100644--- a/studio/pages/project/[ref]/database/schemas.tsx+++ b/studio/pages/project/[ref]/database/schemas.tsx@@ -57,7 +57,7 @@ const SchemasPage: NextPageWithLayout = () => {label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}<Listbox.Option@@ -75,7 +75,7 @@ const SchemasPage: NextPageWithLayout = () => {label={schema.name}addOnBefore={() => <span className="text-scale-900">schema</span>}>- <span className="text-scale-1200 text-sm">{schema.name}</span>+ <span className="text-foreground text-sm">{schema.name}</span></Listbox.Option>))}</Listbox>diff --git a/studio/pages/project/[ref]/database/triggers.tsx b/studio/pages/project/[ref]/database/triggers.tsxindex ff1abd91597..be05f80951e 100644--- a/studio/pages/project/[ref]/database/triggers.tsx+++ b/studio/pages/project/[ref]/database/triggers.tsx@@ -54,7 +54,7 @@ const TriggersPage: NextPageWithLayout = () => {<ScaffoldSection><div className="col-span-12"><div className="mb-4">- <h3 className="mb-1 text-xl text-scale-1200">Database Triggers</h3>+ <h3 className="mb-1 text-xl text-foreground">Database Triggers</h3></div><TriggersListcreateTrigger={createTrigger}diff --git a/studio/pages/project/[ref]/logs/explorer/recent.tsx b/studio/pages/project/[ref]/logs/explorer/recent.tsxindex 72917678f32..b6d01179f9f 100644--- a/studio/pages/project/[ref]/logs/explorer/recent.tsx+++ b/studio/pages/project/[ref]/logs/explorer/recent.tsx@@ -50,7 +50,7 @@ export const LogsSavedPage: NextPageWithLayout = () => {<><div className="my-auto flex h-full flex-grow flex-col items-center justify-center gap-1"><IconClock className="animate-bounce" />- <h3 className="text-lg text-scale-1200">No Recent Queries Yet</h3>+ <h3 className="text-lg text-foreground">No Recent Queries Yet</h3><p className="text-sm text-scale-900">Your recent queries run from the{' '}<Link href={`/project/${ref}/logs/explorer`}>diff --git a/studio/pages/project/[ref]/logs/explorer/saved.tsx b/studio/pages/project/[ref]/logs/explorer/saved.tsxindex b327cec4755..d6955e8500e 100644--- a/studio/pages/project/[ref]/logs/explorer/saved.tsx+++ b/studio/pages/project/[ref]/logs/explorer/saved.tsx@@ -48,7 +48,7 @@ export const LogsSavedPage: NextPageWithLayout = () => {{saved.length === 0 && (<div className="my-auto flex h-full flex-grow flex-col items-center justify-center gap-1"><IconSave className="animate-bounce" />- <h3 className="text-lg text-scale-1200">No Saved Queries Yet</h3>+ <h3 className="text-lg text-foreground">No Saved Queries Yet</h3><p className="text-sm text-scale-900">Saved queries will appear here. Queries can be saved from the{' '}<Link href={`/project/${ref}/logs/explorer`}>diff --git a/studio/pages/project/[ref]/reports/database.tsx b/studio/pages/project/[ref]/reports/database.tsxindex fcec21f4fc3..9b9b828146a 100644--- a/studio/pages/project/[ref]/reports/database.tsx+++ b/studio/pages/project/[ref]/reports/database.tsx@@ -79,7 +79,7 @@ const DatabaseUsage = observer(() => {{orgLevelBilling ? (<Panel.Content><div className="space-y-1">- <h5 className="text-sm text-scale-1200">Disk Usage</h5>+ <h5 className="text-sm text-foreground">Disk Usage</h5><SparkBartype="horizontal"value={databaseSize}@@ -122,7 +122,7 @@ const DatabaseUsage = observer(() => {) : (<Panel.Content><div className="space-y-1">- <h5 className="text-sm text-scale-1200">Database size</h5>+ <h5 className="text-sm text-foreground">Database size</h5><SparkBartype="horizontal"value={databaseSize}@@ -166,7 +166,7 @@ const DatabaseUsage = observer(() => {{!orgLevelBilling && (<Panel.Content><div className="space-y-1">- <h5 className="text-sm text-scale-1200">Database egress</h5>+ <h5 className="text-sm text-foreground">Database egress</h5><SparkBartype="horizontal"value={usage?.db_egress?.usage ?? 0}@@ -188,7 +188,7 @@ const DatabaseUsage = observer(() => {{orgLevelBilling && (<Panel.Content>- <p className="text-sm text-scale-1200">+ <p className="text-sm text-foreground">Head to your{' '}<Link href={`/org/${selectedOrganization?.slug}/usage`}><a>diff --git a/studio/pages/project/[ref]/settings/api.tsx b/studio/pages/project/[ref]/settings/api.tsxindex 295c9f848e2..4df0f301cad 100644--- a/studio/pages/project/[ref]/settings/api.tsx+++ b/studio/pages/project/[ref]/settings/api.tsx@@ -14,7 +14,7 @@ const ApiSettings: NextPageWithLayout = () => {<ServiceList />) : (<div>- <h3 className="mb-6 text-xl text-scale-1200">API Settings</h3>+ <h3 className="mb-6 text-xl text-foreground">API Settings</h3><div className="flex items-center justify-center rounded border border-scale-400 bg-scale-300 p-8"><IconAlertCircle strokeWidth={1.5} /><p className="text-sm text-scale-1100 ml-2">diff --git a/studio/pages/sign-in-sso.tsx b/studio/pages/sign-in-sso.tsxindex 45cbe1b0827..4780abeef7d 100644--- a/studio/pages/sign-in-sso.tsx+++ b/studio/pages/sign-in-sso.tsx@@ -16,7 +16,7 @@ const SignInSSOPage: NextPageWithLayout = () => {<ahref="https://supabase.com/contact/enterprise"rel="noopener noreferrer"- className="underline text-scale-1200 hover:text-scale-1100 transition"+ className="underline text-foreground hover:text-scale-1100 transition">Let Us Know</a>diff --git a/studio/pages/sign-in.tsx b/studio/pages/sign-in.tsxindex 1fcb8f41d84..dddcfda2deb 100644--- a/studio/pages/sign-in.tsx+++ b/studio/pages/sign-in.tsx@@ -29,7 +29,7 @@ const SignInPage: NextPageWithLayout = () => {<div className="w-full border-t border-scale-700" /></div><div className="relative flex justify-center text-sm">- <span className="px-2 text-sm bg-scale-200 text-scale-1200">or</span>+ <span className="px-2 text-sm bg-scale-200 text-foreground">or</span></div></div>@@ -40,7 +40,7 @@ const SignInPage: NextPageWithLayout = () => {<div><span className="text-scale-1000">Don't have an account?</span>{' '}<Link href="/sign-up">- <a className="underline transition text-scale-1200 hover:text-scale-1100">+ <a className="underline transition text-foreground hover:text-scale-1100">Sign Up Now</a></Link>diff --git a/studio/pages/sign-up.tsx b/studio/pages/sign-up.tsxindex 5770049599e..77fba23bb5c 100644--- a/studio/pages/sign-up.tsx+++ b/studio/pages/sign-up.tsx@@ -15,7 +15,7 @@ const SignUpPage: NextPageWithLayout = () => {<div className="w-full border-t border-scale-700" /></div><div className="relative flex justify-center text-sm">- <span className="bg-scale-200 px-2 text-sm text-scale-1200">or</span>+ <span className="bg-scale-200 px-2 text-sm text-foreground">or</span></div></div>@@ -25,7 +25,7 @@ const SignUpPage: NextPageWithLayout = () => {<div className="my-8 self-center text-sm"><span className="text-scale-1000">Have an account?</span>{' '}<Link href="/sign-in">- <a className="underline text-scale-1200 hover:text-scale-1100 transition">Sign In Now</a>+ <a className="underline text-foreground hover:text-scale-1100 transition">Sign In Now</a></Link></div></>diff --git a/studio/pages/support/new.tsx b/studio/pages/support/new.tsxindex bfee176efd2..fe146593723 100644--- a/studio/pages/support/new.tsx+++ b/studio/pages/support/new.tsx@@ -74,7 +74,7 @@ const SupportPage = () => {'border border-scale-200',].join(' ')}>- <span className="text-xs text-scale-1200">Check Supabase status page</span>+ <span className="text-xs text-foreground">Check Supabase status page</span></div></Tooltip.Content></Tooltip.Portal>diff --git a/studio/pages/vercel/integrate.tsx b/studio/pages/vercel/integrate.tsxindex 1f2f30fd86c..a6f828acd28 100644--- a/studio/pages/vercel/integrate.tsx+++ b/studio/pages/vercel/integrate.tsx@@ -619,7 +619,7 @@ const ProjectLinkItem = observer(? 'text-scale-1000': result.status === 'fail'? 'text-scale-1000'- : 'text-scale-1200'+ : 'text-foreground'}`}>{result?.message ?? 'Processing...'}diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsxindex 8b950d33569..34c74f20ecc 100644--- a/studio/pages/vercel/setupProject.tsx+++ b/studio/pages/vercel/setupProject.tsx@@ -301,7 +301,7 @@ const CreateProject = observer(() => {/>)}>- <span className="text-scale-1200">{label}</span>+ <span className="text-foreground">{label}</span></Listbox.Option>)})}diff --git a/studio/styles/grid.scss b/studio/styles/grid.scssindex 831262f414a..87819962545 100644--- a/studio/styles/grid.scss+++ b/studio/styles/grid.scss@@ -12,7 +12,7 @@@apply flex;@apply text-grid;@apply border-scale-400 dark:border-scale-500 border-r border-b;- @apply text-scale-1200;+ @apply text-foreground;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -477,7 +477,7 @@}.sb-grid-column-header__inner__name {- @apply text-scale-1200 overflow-hidden overflow-ellipsis text-xs select-text;+ @apply text-foreground overflow-hidden overflow-ellipsis text-xs select-text;}.sb-grid-column-header__inner__format {diff --git a/studio/styles/main.scss b/studio/styles/main.scssindex 3e392282242..f02f7f525df 100644--- a/studio/styles/main.scss+++ b/studio/styles/main.scss@@ -26,7 +26,7 @@ body,#__next,.main {@apply bg-scale-200;- @apply text-scale-1200;+ @apply text-foreground;height: 100%;padding: 0;margin: 0;@@ -68,7 +68,7 @@ input.form-control,@apply rounded-md;@apply shadow-sm;@apply transition-all;- @apply text-scale-1200;+ @apply text-foreground;@apply border;@apply focus:shadow-md;diff --git a/studio/styles/react-data-grid-logs.scss b/studio/styles/react-data-grid-logs.scssindex 723030f95b7..34dc5d741f0 100644--- a/studio/styles/react-data-grid-logs.scss+++ b/studio/styles/react-data-grid-logs.scss@@ -21,7 +21,7 @@&.rdg-row--focused .rdg-cell,&.rdg-row--focused .rdg-cell span {- @apply text-scale-1200 font-semibold #{!important};+ @apply text-foreground font-semibold #{!important};}}}