Skip to content

Add settings dark mode toggle#98

Open
ChaiXinLong-tech wants to merge 1 commit into
labmain:mainfrom
ChaiXinLong-tech:bounty/dark-mode-toggle-11
Open

Add settings dark mode toggle#98
ChaiXinLong-tech wants to merge 1 commit into
labmain:mainfrom
ChaiXinLong-tech:bounty/dark-mode-toggle-11

Conversation

@ChaiXinLong-tech

Copy link
Copy Markdown

Summary

  • add a settings dark mode controller that initializes from localStorage
  • persist light/dark preference back to localStorage when toggled
  • update the root element with a dark class and data-theme for UI styling hooks
  • add Node-based tests for initialization, persistence, root updates, and button binding

Closes #11

Bounty: $50 USD1
Wallet: 0xb90760f7d1f5c8dc99b7325a7da7bc407f133bb4

Verification

  • npm test

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