Skip to content

feat(settings): wire ThemePickerButton into Preferences (TP-21) - #147

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/116-wire-theme-picker-preferences
Jun 14, 2026
Merged

feat(settings): wire ThemePickerButton into Preferences (TP-21)#147
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/116-wire-theme-picker-preferences

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Replace Color preset dropdown with Theme row using ThemePickerButton in Preferences
  • Add built-in Querya Dark / Querya Light definitions to ThemeController.availableThemes with setThemeById / previewThemeById support
  • Wire selection to setThemeById, hover preview to previewThemeById; keep Import theme and Reset appearance buttons

Test plan

  • flutter test test/core/theme/theme_controller_test.dart test/features/settings/preferences_appearance_section_test.dart
  • Built-in themes always appear in picker (even when registry scan is empty)
  • setThemeById('querya-light') applies Querya Light preset
  • Preferences shows Theme row, built-in themes, import/reset buttons
  • Reset still returns to Querya Dark with built-ins in list

Closes #116

Replace the Color preset dropdown with a registry-backed Theme row,
inject built-in Querya Dark/Light definitions, and route selection and
hover preview through ThemeController.
@github-actions github-actions Bot added theme Theming, colors, VS Code themes frontend Theme parser epic label: frontend settings Theme parser epic label: settings labels Jun 14, 2026
@github-actions github-actions Bot added this to the Theme system milestone Jun 14, 2026

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit a4a1971 into dev Jun 14, 2026
4 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/116-wire-theme-picker-preferences branch June 15, 2026 04:13
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
…eferences

feat(settings): wire ThemePickerButton into Preferences (TP-21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Theme parser epic label: frontend settings Theme parser epic label: settings theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant