You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Theme picker: expose the other built-in presets (Catppuccin, Tokyo Night, Nord, Dracula, Gruvbox, GitHub) #1
The app already has light and dark palettes for nine presets in src/ui/pi_gui_theme.rs (PRESETS: default, catppuccin, tokyo-night, nord, dracula, gruvbox, github, vscode, ayu), but only Ayu can be chosen.
What to change:
src/settings.rs: apply_theme always calls Theme::ayu(dark). Let the theme setting name a preset, e.g. "theme": "Nord" or "theme": "system:nord" to follow macOS light/dark. Keep "system", "Ayu Dark" and "Ayu Light" working.
src/hub.rs (settings page, theme_options): add a way to pick the preset next to the System / Light / Dark control.
Update the comment in DEFAULT_FILE (src/settings.rs) and the Settings section of README.md.
A screenshot of a couple of presets in the PR would help.
Activity