Skip to content

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

fix text colors

mildtomato57c64fbf9d44
diff --git a/www/components/AdminAccess/tabs.tsx b/www/components/AdminAccess/tabs.tsx
index 9f17a634c4d..00ce7fe8871 100644
--- a/www/components/AdminAccess/tabs.tsx
+++ b/www/components/AdminAccess/tabs.tsx
@@ -24,7 +24,7 @@ function Tabs(props: Props) {
<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 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")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-gray-500 dark:border-white text-gray-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 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")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-gray-500 dark:border-white text-gray-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 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")}
+ className={"transition w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-gray-500 dark:border-white text-gray-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/Footer/index.tsx b/www/components/Footer/index.tsx
index 077f7285afb..951dba9b83c 100644
--- a/www/components/Footer/index.tsx
+++ b/www/components/Footer/index.tsx
@@ -95,7 +95,7 @@ const Footer = (props: Props) => {
{FooterLinks.map((segment: any) => {
return (
<div key={`footer_${segment.title}`}>
- <h3 className="text-sm font-semibold text-gray-400 tracking-wider uppercase">
+ <h3 className="text-sm font-semibold text-gray-400 dark:text-dark-200 tracking-wider uppercase">
{segment.title}
</h3>
<ul className="mt-4 space-y-4">
@@ -103,10 +103,10 @@ const Footer = (props: Props) => {
<li key={`${segment.title}_link_${idx}`}>
<a
href={link.url}
- className={`text-base ${link.url ? 'text-gray-500' : 'text-gray-400'} hover:text-gray-900 dark:hover:text-gray-300`}
+ className={`text-base ${link.url ? 'text-gray-500 dark:text-dark-100' : 'text-gray-400 dark:text-dark-200'} hover:text-gray-900 dark:hover:text-gray-300`}
>
{link.text}
- {!link.url && <span className="block text-sm text-gray-300">Coming soon</span>}
+ {!link.url && <span className="block text-sm text-gray-300 dark:text-dark-300">Coming soon</span>}
</a>
</li>
))}
@@ -117,8 +117,8 @@ const Footer = (props: Props) => {
</div>
</div>
</div>
- <div className="mt-12 border-t border-gray-200 pt-8 flex justify-between">
- <p className="text-base text-gray-400">
+ <div className="mt-12 border-t border-gray-200 dark:border-dark-300 pt-8 flex justify-between">
+ <p className="text-base text-gray-400 dark:text-dark-200">
&copy; Supabase Inc
</p>
<div className="flex items-center">