Skip to content

Add dark/light mode toggle #1

Description

@franrob-projects

The site is currently dark-mode only. Add a toggle in the nav that switches between dark and light themes, persisting the preference in localStorage.

CSS variables are already set up in globals.css, so this is mostly wiring a toggle component to swap a class on <html>.

Good first issue for anyone familiar with React + Tailwind theming.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions