Prevent Theme Flash On First Paint

Use when a saved light/dark preference flashes the wrong theme on load. Resolves the theme in a blocking inline script before first paint and avoids hydration mismatches.

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit f95a83350f

Frequently asked questions

npx get-skill add jiayaoqijia/prevent-theme-flash-on-first-paint