fix: declare landing page as light-only to prevent dark theme extension issues

The landing page has no dark mode support, so browser extensions like
Dark Reader force-invert colors and break the design. This adds
color-scheme: light only in both CSS and meta tags, plus a
darkreader-lock meta tag, to signal that the page should not be
auto-darkened.
This commit is contained in:
SnapOtter
2026-05-07 22:18:29 +08:00
parent 5689c89c85
commit ccaa8f4942
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
@import "tailwindcss";
html {
color-scheme: light only;
}
@theme {
--color-accent: #f59e0b;
--color-accent-hover: #d97706;