Skip to content

Add settings theme preference helper#97

Open
wangedmund77-cmyk wants to merge 1 commit into
labmain:mainfrom
wangedmund77-cmyk:codex/settings-theme-preference
Open

Add settings theme preference helper#97
wangedmund77-cmyk wants to merge 1 commit into
labmain:mainfrom
wangedmund77-cmyk:codex/settings-theme-preference

Conversation

@wangedmund77-cmyk

Copy link
Copy Markdown

Summary

  • add a settings-page theme preference helper for light/dark mode
  • persist the selected theme in localStorage and apply a settings-specific root class/data attribute
  • add Node tests for stored preferences, invalid values, theme application, and state options

Validation

  • npm test
  • git diff --check

Closes #11

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement dark mode toggle in settings page

1 participant