DEV Community

Cover image for How to create a three-state theme toggle with astro: light, dark, and system preference
Michael Andreuzza
Michael Andreuzza

Posted on

How to create a three-state theme toggle with astro: light, dark, and system preference

Most websites today offer a simple light/dark mode toggle, but users expect more. They want their apps to respect their system preferences while still giving them control. That’s where a three-state theme toggle comes in.

Read more: https://lexingtonthemes.com/blog/posts/how-to-create-a-three-state-theme-toggle-astro-light-dark-system/

Top comments (0)