Skip to content

Repository files navigation

astro-themes

Astro TypeScript

Perfect dark mode in Astro with no flash. An Astro integration that mirrors the behavior of next-themes.

To see how to get started, check out the package README

Features

  • Perfect dark mode in 2 lines of code
  • System setting with prefers-color-scheme
  • No flash on load (both SSR and SSG)
  • Sync theme across tabs and windows
  • Force pages to specific themes
  • Class or data attribute selector

Licensing

MIT Licensed. Made with ❤️.


Inspired by next-themes. Created using astro-integration-template.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages