Jun 12, 2023
A package I've created for fun and to progressively enhance its experience for other users.
This is a simple React and Next.js project that allows users to toggle between light and dark modes, with an additional "auto" mode that listens to the prefers-color-scheme media element. The mode setting is stored using localStorage, so that it persists even after the user leaves the page.
The current version doesn't support RSC yet, due to complications with the available hooks. (june 13 - '23)
Build with React, TypeScript, and Tailwind.