How is this better than using CSS variables for light/dark mode? With CSS variables you have better isolation for consistency with your entire color scheme, and you can extend it to supporting multiple themes (e.g. light, dark, blue).
No comments yet.