mirror of
https://gh-proxy.org/https://github.com/klinsmaya/new-api.git
synced 2026-11-11 02:46:58 +08:00
Dark Reader checks html.dark / color-scheme only once during page load, but the theme class was added by ThemeProvider after React mounted. Resolve the saved theme in an inline head script and declare color-scheme: dark on .dark.