Skip to content

Use template one-click theme toggle (drop the Light/Dark/System select) - #2

Open
agenticaihome wants to merge 1 commit into
masterfrom
fix/template-theme-toggle
Open

Use template one-click theme toggle (drop the Light/Dark/System select)#2
agenticaihome wants to merge 1 commit into
masterfrom
fix/template-theme-toggle

Conversation

@agenticaihome

Copy link
Copy Markdown
Owner

Swap the old Light/Dark/System dropdown theme picker for the ergo-basics template's one-click Sun/Moon toggle (mode-watcher toggleMode) — one click flips the theme, the icons rotate + cross-fade. This matches the reputation-system app's theme control.

  • Component interface unchanged (<Theme />, no props), so App.svelte needs no changes.
  • Production build green.

🤖 Generated with Claude Code

Replace the Light/Dark/System DropdownMenu theme picker with the
ergo-basics template's direct Sun/Moon toggle (mode-watcher `toggleMode`):
one click flips the theme, icons cross-fade. Matches the reputation-system
app's theme control. Component interface is unchanged (`<Theme />`, no props).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant