Skip to content

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

Change all occurences of `text` with `text-foreground` (#17890)

Ivan Vasilovae4a06f71547
diff --git a/packages/ui/src/components/ConsentToast/ConsentToast.tsx b/packages/ui/src/components/ConsentToast/ConsentToast.tsx
index 74c6dcbb8f8..14206517c18 100644
--- a/packages/ui/src/components/ConsentToast/ConsentToast.tsx
+++ b/packages/ui/src/components/ConsentToast/ConsentToast.tsx
@@ -11,7 +11,7 @@ const ConsentToast = ({ onAccept = noop, onOptOut = noop }: ConsentToastProps) =
return (
<div className="space-y-3 py-1">
<div>
- <p className="text">
+ <p className="text-foreground">
We only collect analytics essential to ensuring smooth operation of our services.
</p>
</div>
diff --git a/packages/ui/src/components/ThemeProvider/ThemeToggle.tsx b/packages/ui/src/components/ThemeProvider/ThemeToggle.tsx
index 81f8245a61c..02fcb2db1a5 100644
--- a/packages/ui/src/components/ThemeProvider/ThemeToggle.tsx
+++ b/packages/ui/src/components/ThemeProvider/ThemeToggle.tsx
@@ -27,7 +27,7 @@ const ThemeToggle = ({ forceDark = false }: ThemeToggleProps) => {
<DropdownMenuTrigger asChild disabled={forceDark}>
<button
id="user-settings-dropdown"
- className="flex items-center justify-center h-7 w-7 text"
+ className="flex items-center justify-center h-7 w-7 text-foreground"
>
<IconSun className="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />
<IconMoon className="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" />
diff --git a/packages/ui/src/components/shadcn/stories/ComboBox.stories.tsx b/packages/ui/src/components/shadcn/stories/ComboBox.stories.tsx
index 2b42d167ffe..067f6616757 100644
--- a/packages/ui/src/components/shadcn/stories/ComboBox.stories.tsx
+++ b/packages/ui/src/components/shadcn/stories/ComboBox.stories.tsx
@@ -1,12 +1,3 @@
-import {
- Form,
- FormControl,
- FormDescription,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from '@ui/components/shadcn/ui/form'
import { zodResolver } from '@hookform/resolvers/zod'
import type { Meta } from '@storybook/react'
import { Button } from '@ui/components/shadcn/ui/button'
@@ -31,6 +22,15 @@ import {
DropdownMenuSubTrigger,
DropdownMenuTrigger,
} from '@ui/components/shadcn/ui/dropdown-menu'
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from '@ui/components/shadcn/ui/form'
import { Popover, PopoverContent, PopoverTrigger } from '@ui/components/shadcn/ui/popover'
import { toast } from '@ui/components/shadcn/ui/use-toast'
import { cn } from '@ui/lib/utils'
@@ -52,7 +52,6 @@ import {
import React from 'react'
import { useForm } from 'react-hook-form'
import * as z from 'zod'
-import { CommandLabel } from '@ui/components/Command/Command.utils'
const meta: Meta<typeof DropdownMenu> = {
/* 👇 The title prop is optional.
@@ -472,7 +471,7 @@ export const ComboOrgPicker = {
{selectedStatus ? (
<>
<selectedStatus.icon className="mr-2 h-4 w-4 shrink-0" />
- <span className="text">{selectedStatus.label}</span>
+ <span className="text-foreground">{selectedStatus.label}</span>
</>
) : (
<>Organization</>
@@ -646,7 +645,7 @@ export const MultipleComboPickers = {
{selectedStatus ? (
<>
<selectedStatus.icon className="mr-2 h-4 w-4 shrink-0" />
- <span className="text">{selectedStatus.label}</span>
+ <span className="text-foreground">{selectedStatus.label}</span>
</>
) : (
<>Organization</>
diff --git a/studio/components/interfaces/Account/TOTPFactors/index.tsx b/studio/components/interfaces/Account/TOTPFactors/index.tsx
index b974a805403..cb9fc85508c 100644
--- a/studio/components/interfaces/Account/TOTPFactors/index.tsx
+++ b/studio/components/interfaces/Account/TOTPFactors/index.tsx
@@ -49,7 +49,7 @@ const TOTPFactors = () => {
{data.totp.map((factor) => {
return (
<div key={factor.id} className="flex flex-row justify-between py-2">
- <p className="text-sm text flex items-center space-x-2">
+ <p className="text-sm text-foreground flex items-center space-x-2">
<span className="text-light">Name:</span>{' '}
<span>{factor.friendly_name ?? 'No name provided'}</span>
</p>
diff --git a/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx b/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx
index 930caa82de7..28d251f99de 100644
--- a/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx
+++ b/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx
@@ -596,7 +596,7 @@ const ListboxTable = observer(({}) => {
>
<div className="flex flex-row items-center space-x-1">
<p className="text-sm text-foreground-light">{x.schema}</p>
- <p className="text">{x.name}</p>
+ <p className="text-foreground">{x.name}</p>
</div>
</Listbox.Option>
)
diff --git a/studio/components/interfaces/Docs/Authentication.tsx b/studio/components/interfaces/Docs/Authentication.tsx
index 7c048ae2a2f..d44b7b47ef5 100644
--- a/studio/components/interfaces/Docs/Authentication.tsx
+++ b/studio/components/interfaces/Docs/Authentication.tsx
@@ -25,7 +25,7 @@ const Authentication = ({ autoApiService, selectedLang, showApiKey }: Authentica
<>
<h2 className="doc-heading">Authentication</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>Supabase works through a mixture of JWT and Key auth.</p>
<p>
If no <code>Authorization</code> header is included, the API will assume that you are
@@ -41,7 +41,7 @@ const Authentication = ({ autoApiService, selectedLang, showApiKey }: Authentica
<h2 className="doc-heading">Client API Keys</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Client keys allow "anonymous access" to your database, until the user has logged in.
After logging in the keys will switch to the user's own login token.
@@ -75,7 +75,7 @@ const Authentication = ({ autoApiService, selectedLang, showApiKey }: Authentica
<h2 className="doc-heading">Service Keys</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Service keys have FULL access to your data, bypassing any security policies. Be VERY
careful where you expose these keys. They should only be used on a server and never on a
diff --git a/studio/components/interfaces/Docs/GeneratingTypes.tsx b/studio/components/interfaces/Docs/GeneratingTypes.tsx
index 8f9f787d275..b8482970623 100644
--- a/studio/components/interfaces/Docs/GeneratingTypes.tsx
+++ b/studio/components/interfaces/Docs/GeneratingTypes.tsx
@@ -55,7 +55,7 @@ export default function GeneratingTypes({ selectedLang }: Props) {
</Link>
</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
Supabase APIs are generated from your database, which means that we can use database
introspection to generate type-safe API definitions.
diff --git a/studio/components/interfaces/Docs/Pages/Rpc/Introduction.tsx b/studio/components/interfaces/Docs/Pages/Rpc/Introduction.tsx
index c5e7d15d207..f700f772d8e 100644
--- a/studio/components/interfaces/Docs/Pages/Rpc/Introduction.tsx
+++ b/studio/components/interfaces/Docs/Pages/Rpc/Introduction.tsx
@@ -3,7 +3,7 @@ const Introduction = () => {
<>
<h2 className="doc-heading">Introduction</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
All of your database stored procedures are available on your API. This means you can
build your logic directly into the database (if you're brave enough)!
diff --git a/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx b/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx
index ee3b05b333a..dd15ec09ccc 100644
--- a/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx
+++ b/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx
@@ -1,8 +1,8 @@
import { useParams } from 'common'
import Link from 'next/link'
-import GeneratingTypes from 'components/interfaces/Docs/GeneratingTypes'
import CodeSnippet from 'components/interfaces/Docs/CodeSnippet'
+import GeneratingTypes from 'components/interfaces/Docs/GeneratingTypes'
interface IntroductionProps {
selectedLang: 'bash' | 'js'
@@ -15,7 +15,7 @@ const Introduction = ({ selectedLang }: IntroductionProps) => {
<>
<h2 className="doc-heading">Introduction</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
All views and tables in the <code>public</code> schema and accessible by the active
database role for a request are available for querying.
@@ -25,7 +25,7 @@ const Introduction = ({ selectedLang }: IntroductionProps) => {
<h2 className="doc-heading">Non-exposed tables</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
If you don't want to expose tables in your API, simply add them to a different schema
(not the <code>public</code> schema).
@@ -40,7 +40,7 @@ const Introduction = ({ selectedLang }: IntroductionProps) => {
GraphQL <span className="lowercase">vs</span> Supabase
</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
If you have a GraphQL background, you might be wondering if you can fetch your data in a
single round-trip. The answer is yes!
diff --git a/studio/components/interfaces/Docs/Pages/UserManagement.tsx b/studio/components/interfaces/Docs/Pages/UserManagement.tsx
index 9fc81b4f047..5b696f9f5f7 100644
--- a/studio/components/interfaces/Docs/Pages/UserManagement.tsx
+++ b/studio/components/interfaces/Docs/Pages/UserManagement.tsx
@@ -27,7 +27,7 @@ export default function UserManagement({
<>
<h2 className="doc-heading">User Management</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>Supabase makes it easy to manage your users.</p>
<p>
Supabase assigns each user a unique ID. You can reference this ID anywhere in your
@@ -43,7 +43,7 @@ export default function UserManagement({
<h2 className="doc-heading">Sign up</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>Allow your users to sign up and create a new account.</p>
<p>
After they have signed up, all interactions using the Supabase JS client will be
@@ -60,7 +60,7 @@ export default function UserManagement({
<h2 className="doc-heading">Log in with Email/Password</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>If an account is created, users can login to your app.</p>
<p>
After they have logged in, all interactions using the Supabase JS client will be
@@ -77,7 +77,7 @@ export default function UserManagement({
<h2 className="doc-heading">Log in with Magic Link via Email</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>Send a user a passwordless link which they can use to redeem an access_token.</p>
<p>
After they have clicked the link, all interactions using the Supabase JS client will be
@@ -94,7 +94,7 @@ export default function UserManagement({
<h2 className="doc-heading">Sign Up with Phone/Password</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
A phone number can be used instead of an email as a primary account confirmation
mechanism.
@@ -118,7 +118,7 @@ export default function UserManagement({
<h2 className="doc-heading">Login via SMS OTP</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
SMS OTPs work like magic links, except you have to provide an interface for the user to
verify the 6 digit number they receive.
@@ -138,7 +138,7 @@ export default function UserManagement({
<h2 className="doc-heading">Verify an SMS OTP</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Once the user has received the OTP, have them enter it in a form and send it for
verification
@@ -158,7 +158,7 @@ export default function UserManagement({
<h2 className="doc-heading">Log in with Third Party OAuth</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Users can log in with Third Party OAuth like Google, Facebook, GitHub, and more. You
must first enable each of these in the Auth Providers settings{' '}
@@ -222,7 +222,7 @@ export default function UserManagement({
<h2 className="doc-heading">User</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>Get the JSON object for the logged in user.</p>
</article>
<article className="code">
@@ -235,7 +235,7 @@ export default function UserManagement({
<h2 className="doc-heading">Forgotten Password Email</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Sends the user a log in link via email. Once logged in you should direct the user to a
new password form. And use "Update User" below to save the new password.
@@ -251,7 +251,7 @@ export default function UserManagement({
<h2 className="doc-heading">Update User</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
Update the user with a new email or password. Each key (email, password, and data) is
optional
@@ -267,7 +267,7 @@ export default function UserManagement({
<h2 className="doc-heading">Log out</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>
After calling log out, all interactions using the Supabase JS client will be
"anonymous".
@@ -283,7 +283,7 @@ export default function UserManagement({
<h2 className="doc-heading">Send a User an Invite over Email</h2>
<div className="doc-section ">
- <article className="text ">
+ <article className="text-foreground">
<p>Send a user a passwordless link which they can use to sign up and log in.</p>
<p>
After they have clicked the link, all interactions using the Supabase JS client will be
diff --git a/studio/components/interfaces/Docs/ResourceContent.tsx b/studio/components/interfaces/Docs/ResourceContent.tsx
index 9078375a44d..31fd526749f 100644
--- a/studio/components/interfaces/Docs/ResourceContent.tsx
+++ b/studio/components/interfaces/Docs/ResourceContent.tsx
@@ -48,7 +48,7 @@ const ResourceContent = ({
</h2>
<div className="doc-section">
- <article className="text">
+ <article className="text-foreground">
<label className="font-mono text-xs uppercase text-foreground-lighter inline-block mb-2">
Description
</label>
@@ -64,7 +64,7 @@ const ResourceContent = ({
<div>
{properties.map((x) => (
<div className="doc-section py-4" key={x.id}>
- <div className="text">
+ <div className="text-foreground">
<Param
key={x.id}
name={x.id}
@@ -99,7 +99,7 @@ const ResourceContent = ({
<>
<h3 className="text-foreground mt-4 px-6">Read rows</h3>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
To read rows in <code>{resourceId}</code>, use the <code>select</code> method.
</p>
@@ -137,7 +137,7 @@ const ResourceContent = ({
</article>
</div>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<h4 className="mt-0 text-white">Filtering</h4>
<p>Supabase provides a wide range of filters.</p>
<p>
@@ -163,7 +163,7 @@ const ResourceContent = ({
<>
<h3 className="text-foreground mt-4 px-6">Insert rows</h3>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
<code>insert</code> lets you insert into your tables. You can also insert in bulk
and do UPSERT.
@@ -202,7 +202,7 @@ const ResourceContent = ({
<>
<h3 className="text-foreground mt-4 px-6">Update rows</h3>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
<code>update</code> lets you update rows. <code>update</code> will match all rows by
default. You can update specific rows using horizontal filters, e.g. <code>eq</code>
@@ -234,7 +234,7 @@ const ResourceContent = ({
<>
<h3 className="text-foreground mt-4 px-6">Delete rows</h3>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
<code>delete</code> lets you delete rows. <code>delete</code> will match all rows by
default, so remember to specify your filters!
@@ -262,7 +262,7 @@ const ResourceContent = ({
<>
<h3 className="text-foreground mt-4 px-6">Subscribe to changes</h3>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<p>
Supabase provides realtime functionality and broadcasts database changes to
authorized users depending on Row Level Security (RLS) policies.
diff --git a/studio/components/interfaces/Docs/RpcContent.tsx b/studio/components/interfaces/Docs/RpcContent.tsx
index d9b972a328f..e5d9e7b56e2 100644
--- a/studio/components/interfaces/Docs/RpcContent.tsx
+++ b/studio/components/interfaces/Docs/RpcContent.tsx
@@ -41,7 +41,7 @@ const RpcContent = ({
</h2>
<div className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<label className="font-mono text-xs uppercase text-foreground-lighter">Description</label>
<Description content={summary} metadata={{ rpc: rpcId }} onChange={refreshDocs} />
</article>
@@ -65,7 +65,7 @@ const RpcContent = ({
{rpcParams.map((x, i) => {
return (
<div key={i} className="doc-section">
- <article className="text ">
+ <article className="text-foreground">
<Param
key={x.name}
name={x.name}
diff --git a/studio/components/interfaces/Integrations/IntegrationPanels.tsx b/studio/components/interfaces/Integrations/IntegrationPanels.tsx
index 1f990a9b93c..18a052af1ba 100644
--- a/studio/components/interfaces/Integrations/IntegrationPanels.tsx
+++ b/studio/components/interfaces/Integrations/IntegrationPanels.tsx
@@ -92,7 +92,7 @@ const IntegrationInstallation = React.forwardRef<HTMLLIElement, IntegrationInsta
</div>
<div className="flex flex-col gap-0">
<div className="flex items-center gap-2">
- <span className="text text-sm font-medium">
+ <span className="text-foreground text-sm font-medium">
{integration.metadata?.account.name ||
(integration.metadata !== undefined &&
'gitHubConnectionOwner' in integration.metadata &&
@@ -291,7 +291,7 @@ const IntegrationConnectionHeader = React.forwardRef<HTMLDivElement, Integration
className
)}
>
- {props.title && <h5 className="text">{props.title}</h5>}
+ {props.title && <h5 className="text-foreground">{props.title}</h5>}
<Markdown content={markdown} className="" />
</div>
)
diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsx
index a3e3f76c929..059f15bc99d 100644
--- a/studio/components/interfaces/Integrations/ProjectLinker.tsx
+++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx
@@ -2,6 +2,7 @@ import { ReactNode, useRef, useState } from 'react'
import { toast } from 'react-hot-toast'
import {
Button,
+ cn,
CommandEmpty_Shadcn_,
CommandGroup_Shadcn_,
CommandInput_Shadcn_,
@@ -12,7 +13,6 @@ import {
PopoverContent_Shadcn_,
PopoverTrigger_Shadcn_,
Popover_Shadcn_,
- cn,
} from 'ui'
import ShimmerLine from 'components/ui/ShimmerLine'
@@ -150,12 +150,12 @@ const ProjectLinker = ({
{loadingForeignProjects || loadingSupabaseProjects ? (
<div className="w-1/2 mx-auto space-y-2 py-4">
- <p className="text text-center">Loading projects</p>
+ <p className="text-foreground text-center">Loading projects</p>
<ShimmerLine active />
</div>
) : noSupabaseProjects || noForeignProjects ? (
<div className="text-center">
- <h5 className="text">No {missingEntity} Projects found</h5>
+ <h5 className="text-foreground">No {missingEntity} Projects found</h5>
<p className="text-light text-sm">
You will need to create a {missingEntity} Project to link to a {oppositeMissingEntity}{' '}
Project.
diff --git a/studio/components/interfaces/Settings/API/JWTSettings.tsx b/studio/components/interfaces/Settings/API/JWTSettings.tsx
index 344aa083bd8..7e7f018a3dc 100644
--- a/studio/components/interfaces/Settings/API/JWTSettings.tsx
+++ b/studio/components/interfaces/Settings/API/JWTSettings.tsx
@@ -229,13 +229,13 @@ const JWTSettings = () => {
<IconAlertTriangle />
<AlertTitle_Shadcn_>This will invalidate all existing API keys</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
- Generating a new JWT secret will invalidate <u className="text">all</u> of your API
- keys, including your <code className="text-xs">service_role</code> and{' '}
+ Generating a new JWT secret will invalidate <u className="text-foreground">all</u> of
+ your API keys, including your <code className="text-xs">service_role</code> and{' '}
<code className="text-xs">anon</code> keys. Your project will also be restarted during
this process, which will terminate any existing connections.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
- <p className="text text-sm">
+ <p className="text-foreground text-sm">
This action cannot be undone and the old JWT secret will be lost. All existing API keys
will be invalidated, and any open connections will be terminated.
</p>
@@ -277,8 +277,8 @@ const JWTSettings = () => {
<IconAlertTriangle />
<AlertTitle_Shadcn_>This will invalidate all existing API keys</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
- Generating a new JWT secret will invalidate <u className="text">all</u> of your API
- keys, including your <code className="text-xs">service_role</code> and{' '}
+ Generating a new JWT secret will invalidate <u className="text-foreground">all</u>{' '}
+ of your API keys, including your <code className="text-xs">service_role</code> and{' '}
<code className="text-xs">anon</code> keys. Your project will also be restarted
during this process, which will terminate any existing connections.
</AlertDescription_Shadcn_>
diff --git a/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
index faaf0e0a8b1..42dda4b0656 100644
--- a/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
+++ b/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
@@ -7,6 +7,7 @@ import {
AlertTitle_Shadcn_,
Alert_Shadcn_,
Button,
+ cn,
CommandEmpty_Shadcn_,
CommandGroup_Shadcn_,
CommandInput_Shadcn_,
@@ -26,7 +27,6 @@ import {
PopoverContent_Shadcn_,
PopoverTrigger_Shadcn_,
Popover_Shadcn_,
- cn,
} from 'ui'
import * as z from 'zod'
@@ -133,7 +133,7 @@ const GitHubIntegrationConnectionForm = ({
return (
<div className="flex flex-col gap-6 px-8 py-8">
<div>
- <Label_Shadcn_ className="text">Production branch</Label_Shadcn_>
+ <Label_Shadcn_ className="text-foreground">Production branch</Label_Shadcn_>
<p className="text-xs text-light mb-3">
All other branches will be treated as Preview branches
</p>
diff --git a/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx b/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
index fdfb00847c7..12a25a39737 100644
--- a/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
+++ b/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
@@ -4,6 +4,7 @@ import {
AlertDescription_Shadcn_,
AlertTitle_Shadcn_,
Alert_Shadcn_,
+ cn,
FormControl_Shadcn_,
FormDescription_Shadcn_,
FormField_Shadcn_,
@@ -12,7 +13,6 @@ import {
Form_Shadcn_,
IconClock,
Switch,
- cn,
} from 'ui'
import * as z from 'zod'
@@ -110,7 +110,7 @@ const VercelIntegrationConnectionForm = ({
<div>
{/* {isUpdatingVercelConnection && 'isUpdatingVercelConnection'} */}
<div className="flex flex-col gap-6 px-8 py-8">
- <h5 className="text text-sm">Vercel Production deployments </h5>
+ <h5 className="text-foreground text-sm">Vercel Production deployments </h5>
<FormField_Shadcn_
control={form.control}
name="environmentVariablesProduction"
@@ -167,7 +167,7 @@ const VercelIntegrationConnectionForm = ({
</div>
<ScaffoldDivider />
<div className="flex flex-col gap-6 px-8 py-8">
- <h5 className="text text-sm">Vercel Preview deployments </h5>
+ <h5 className="text-foreground text-sm">Vercel Preview deployments </h5>
<FormField_Shadcn_
control={form.control}
name="environmentVariablesPreview"
diff --git a/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx b/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
index 5c4d23bccb4..619e4cce7f6 100644
--- a/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
+++ b/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
@@ -89,7 +89,7 @@ const EnableBranchingModal = () => {
<Modal.Content className="px-7 py-5 flex items-center space-x-4">
<IconGitBranch strokeWidth={2} size={20} />
<div>
- <p className="text">Enable database branching</p>
+ <p className="text-foreground">Enable database branching</p>
<p className="text-sm text-light">Manage environments in Supabase</p>
</div>
</Modal.Content>
@@ -173,7 +173,7 @@ const EnableBranchingModal = () => {
</figure>
</div>
<div>
- <p className="text-sm text">
+ <p className="text-sm text-foreground">
You will not be able to use the dashboard to make changes to the database
</p>
<p className="text-sm text-light">
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
index 52426c9abd6..5b60819767c 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
@@ -129,7 +129,7 @@ export const formatNotificationText = (project: Project, notification: Notificat
const buttons = notification.data.linked_buttons ?? []
return (
<>
- <Markdown content={notification.data.message} className="text" />
+ <Markdown content={notification.data.message} className="text-foreground" />
{buttons.map((button, index) => {
return (
<a href={button.url} key={index} target="_blank">
diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx
index ebac3e7a9fa..faeebf99541 100644
--- a/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx
+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx
@@ -218,7 +218,7 @@ const SideBarContent = observer(() => {
})}
</div>
) : (
- <div className="text text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
+ <div className="text-foreground text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
<span className="text-lighter">No queries found</span>
</div>
)}
@@ -287,7 +287,7 @@ const SideBarContent = observer(() => {
})}
</div>
) : (
- <div className="text text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
+ <div className="text-foreground text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
<span className="text-lighter">No queries found</span>
</div>
)}
@@ -353,7 +353,7 @@ const SideBarContent = observer(() => {
})}
</div>
) : (
- <div className="text text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
+ <div className="text-foreground text-sm h-32 border border-dashed flex flex-col gap-3 items-center justify-center px-3 mx-3 rounded">
{filteredFavoriteSnippets.length === 0 && (
<span className="text-lighter">No queries found</span>
)}
diff --git a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
index 2e78ab6b83b..10734e57db5 100644
--- a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
+++ b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
@@ -5,8 +5,8 @@ import { ChangeEvent, useRef, useState } from 'react'
import { useParams } from 'common'
import { Markdown } from 'components/interfaces/Markdown'
-import { VercelIntegrationLayout } from 'components/layouts'
-import { ScaffoldColumn, ScaffoldContainer, ScaffoldDivider } from 'components/layouts/Scaffold'
+import VercelIntegrationWindowLayout from 'components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout'
+import { ScaffoldColumn, ScaffoldContainer } from 'components/layouts/Scaffold'
import PasswordStrengthBar from 'components/ui/PasswordStrengthBar'
import { useProjectApiQuery } from 'data/config/project-api-query'
import { useIntegrationsQuery } from 'data/integrations/integrations-query'
@@ -19,10 +19,9 @@ import { useSelectedOrganization, useStore } from 'hooks'
import { AWS_REGIONS, DEFAULT_MINIMUM_PASSWORD_STRENGTH, PROVIDERS } from 'lib/constants'
import { passwordStrength } from 'lib/helpers'
import { getInitialMigrationSQLFromGitHubRepo } from 'lib/integration-utils'
-import { NextPageWithLayout } from 'types'
-import { Alert, Button, Checkbox, IconBook, IconLifeBuoy, Input, Listbox, LoadingLine } from 'ui'
-import VercelIntegrationWindowLayout from 'components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout'
import { useIntegrationInstallationSnapshot } from 'state/integration-installation'
+import { NextPageWithLayout } from 'types'
+import { Alert, Button, Checkbox, Input, Listbox } from 'ui'
const VercelIntegration: NextPageWithLayout = () => {
return (
@@ -30,7 +29,7 @@ const VercelIntegration: NextPageWithLayout = () => {
<ScaffoldContainer className="flex flex-col gap-6 grow py-8">
<ScaffoldColumn className="mx-auto w-full max-w-md">
<header>
- <h1 className="text-xl text">New project</h1>
+ <h1 className="text-xl text-foreground">New project</h1>
<Markdown
className="text-foreground-light"
content={`Choose the Supabase organization you wish to install in`}