-
Notifications
You must be signed in to change notification settings - Fork 21
Add dark / light mode toggle #93
Copy link
Copy link
Closed
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:walletWallet frontendWallet frontenddifficulty:intermediate~half a day~half a daygood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:walletWallet frontendWallet frontenddifficulty:intermediate~half a day~half a daygood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Background
Veil currently uses a fixed dark theme. Users who prefer light mode get no choice. Adding a dark/light toggle improves accessibility and makes the wallet feel more polished for mainnet launch.
What to build
Add a theme toggle to the wallet settings page that switches between dark (current) and light themes. Persist the preference in localStorage.
Key files
frontend/wallet/app/globals.css— define light theme CSS variables under[data-theme="light"]frontend/wallet/app/settings/page.tsx— add toggle UI hereSuggested execution
globals.css, add a[data-theme="light"]block overriding--near-black,--off-white, card backgrounds, etc.localStorage.getItem("veil_theme")and applydocument.documentElement.setAttribute("data-theme", ...)settings/page.tsx— use the existing SVG icon style (no emojis)localStorage.setItem("veil_theme", value)Example commit message:
feat(wallet): add dark/light mode toggle with localStorage persistenceAcceptance criteria