Epic: C
Depends on: TP-17, TP-18
Source: docs/theme-parser-github-issues.md
Goal
Replace or extend current Color preset dropdown with registry-backed theme selection.
Files
lib/features/settings/preferences_appearance_section.dart
lib/features/settings/theme_picker_button.dart
Implementation
In Appearance:
- keep
Theme mode;
- replace
Color preset row with Theme row using ThemePickerButton;
- include existing Querya Dark/Light as built-in definitions;
- show current imported/registry selected theme;
- call
ThemeController.setThemeById(id) on select;
- keep old
Import theme… and Reset appearance buttons.
Compatibility
- If registry unavailable/empty, fallback to current preset dropdown behavior or show Querya Dark/Light only.
Acceptance Criteria
- Querya Dark/Light selectable.
- Legacy imported theme selectable if present.
- Selecting registry theme applies immediately.
- Existing reset returns to Querya Dark.
Tests
- widget shows built-in themes;
- selecting theme calls controller hook or fake callback;
- reset remains visible;
- import button remains visible.
Epic: C
Depends on: TP-17, TP-18
Source:
docs/theme-parser-github-issues.mdGoal
Replace or extend current Color preset dropdown with registry-backed theme selection.
Files
lib/features/settings/preferences_appearance_section.dartlib/features/settings/theme_picker_button.dartImplementation
In Appearance:
Theme mode;Color presetrow withThemerow usingThemePickerButton;ThemeController.setThemeById(id)on select;Import theme…andReset appearancebuttons.Compatibility
Acceptance Criteria
Tests