pixelgridui/zero-glitch-theme-switcher
5 lines that prevent the flash-of-wrong-theme on every reload. Reads localStorage, falls back to prefers-color-scheme, sets data-theme on <html> BEFORE the body parses. Runs synchronously · blocks render for microseconds · no flash.
正在读取项目信息…