Skip to content

TP-21 — Wire ThemePickerButton into Preferences #116

Description

@ZhuchkaTriplesix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendTheme parser epic label: frontendsettingsTheme parser epic label: settingsthemeTheming, colors, VS Code themes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions