Skip to content

Theme: UI выбора и импорта темы в Preferences #43

@ZhuchkaTriplesix

Description

@ZhuchkaTriplesix

Summary

UI в Preferences для выбора темы: preset Querya dark/light, импорт .json, сброс, preview.

UX

Раздел Appearance в lib/features/settings/preferences_dialog.dart:

Control Поведение
Theme mode Dark / Light / System (system — если desktop OS brightness доступен)
Color preset Querya Dark (default), Querya Light, Imported: {name}
Import theme… file_selector.jsonThemeController.importThemeFromFile
Reset colors Clear overrides + imported

Import flow

  1. User picks file
  2. Parse (Theme: парсер VS Code theme JSON/JSONC #39) → show theme name + type (dark/light)
  3. On error: toast/dialog с текстом исключения
  4. Optional: copy imported file to app data dir for persistence

Acceptance criteria

Зависимости

Оценка

~2 дня

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestthemeTheming, colors, VS Code themes

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions