Skip to content

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

fixed :dark colors in places

mildtomatocf5595b0b253
diff --git a/www/components/AdminAccess/tabs.tsx b/www/components/AdminAccess/tabs.tsx
index a9bc1973066..9f17a634c4d 100644
--- a/www/components/AdminAccess/tabs.tsx
+++ b/www/components/AdminAccess/tabs.tsx
@@ -19,12 +19,12 @@ function Tabs(props: Props) {
return (
<div className="flex justify-between items-center w-full sm:relative sm:-mt-20 lg:mt-0">
<div>
- <div className="border-b border-gray-200">
+ <div className="">
<nav className="-mb-px flex" aria-label="Tabs">
<a
href="#"
id="tabTableEditor"
- className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-brand-500 text-brand-600" : " border-b border-gray-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-brand-500 dark:border-white text-brand-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
>
Table Editor
@@ -32,7 +32,7 @@ function Tabs(props: Props) {
<a
href="#"
id="tabSqlEditor"
- className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-brand-500 text-brand-600" : " border-b border-gray-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-brand-500 dark:border-white text-brand-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
>
SQL Editor
@@ -40,7 +40,7 @@ function Tabs(props: Props) {
<a
href="#"
id="tabAuthRules"
- className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-brand-500 text-brand-600" : " border-b border-gray-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-brand-500 dark:border-white text-brand-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
aria-current="page"
>
diff --git a/www/components/MadeForDevelopers/CodeExamples.tsx b/www/components/MadeForDevelopers/CodeExamples.tsx
index b410f39372b..e3ccae2e544 100644
--- a/www/components/MadeForDevelopers/CodeExamples.tsx
+++ b/www/components/MadeForDevelopers/CodeExamples.tsx
@@ -29,7 +29,7 @@ const CodeExamples = () => {
className={`
m-1 mb-4 rounded-md border border-gray-200 px-4 py-2 text-base font-medium text-gray transition
focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-transparent sm:w-auto sm:text-sm
- ${example === id ? ' border-gray-900 bg-gray-900 text-white' : ' hover:bg-gray-200 dark:hover:text-black'}
+ ${example === id ? ' border-gray-900 bg-dark-600 dark:bg-white text-white dark:text-dark-600' : ' hover:bg-gray-200 dark:hover:text-black'}
dark:text-white
`}
>
diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx
index 360b8f21848..8ddd673f67a 100644
--- a/www/components/MadeForDevelopers/index.tsx
+++ b/www/components/MadeForDevelopers/index.tsx
@@ -16,7 +16,7 @@ const MadeForDevelopers = () => {
<div className="grid grid-cols-12 gap-2">
<dl className="mt-12 space-y-10 md:grid md:grid-cols-2 md:col-span-12 lg:space-y-0 lg:col-start-2 lg:col-span-10 lg:gap-12 xl:col-start-3 xl:col-span-8">
- <div className="md:border-r-2 md:border-gray-200 pr-6">
+ <div className="md:border-r-2 md:border-gray-200 pr-6 dark:border-dark-200">
<div className="mt-5">
<dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white">
TypeScript support