Skip to content

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

chore: set default bg to dark bg to prevent flashing bug

phamhieub1908a99c4a1
diff --git a/web/src/css/custom.css b/web/src/css/custom.css
index 2b16671da54..899d504de18 100755
--- a/web/src/css/custom.css
+++ b/web/src/css/custom.css
@@ -30,7 +30,7 @@
--custom-primary-light: #65d9a5;
--custom-primary-lighter: #9fe7c7;
--custom-primary-lightest: #c5f1dd;
- --custom-background-color: #fdfdfd;
+ --custom-background-color: #1f1f1f;
--custom-background-color-highlight: #fff;
--custom-background-color-diff: #f5f6f7;
--custom-background-color-diff-1: #eee;
@@ -137,6 +137,10 @@
--ifm-alert-color: var(--custom-color-orange-600);
}
+:root[data-theme='light'] {
+ --custom-background-color: #fdfdfd;
+}
+
:root[data-theme='dark'] {
--custom-primary-darkest: #10633e;
--custom-primary-darker: #1c8656;