Skip to content

Release 0.3.0 — theme system - #85

Merged
ZhuchkaTriplesix merged 55 commits into
mainfrom
dev
May 28, 2026
Merged

Release 0.3.0 — theme system#85
ZhuchkaTriplesix merged 55 commits into
mainfrom
dev

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Theme system: runtime dark/light/system, Querya Light, VS Code theme import (colors + tokenColors), user overrides.
  • Editor: QueryaCodeEditor, SQL/JSON syntax highlighting (syntax_highlight), SqlEditorChrome from theme tokens.
  • Preferences: appearance section, optional theme animation, import/reset; UI fixes for dark/imported themes and dropdown menus.
  • Docs & samples: docs/theme.md, editor/code_forge spikes; themes/samples/cyberpunk-neon.json.

Version

  • pubspec.yaml: 0.3.0+4
  • Git tag 0.3.0 (already pushed; points at this tree on dev)

Test plan

  • flutter analyze — clean
  • flutter test — 361 passed
  • Smoke: Preferences import theme, SQL editor dialog, Color preset dropdown
  • Confirm Release workflow artifacts for tag 0.3.0 on GitHub

ZhuchkaTriplesix and others added 30 commits May 28, 2026 10:02
Introduces QueryaWorkbenchTheme, QueryaEditorTheme, and QueryaTheme
with dark/light defaults, lerp/copyWith, and shadcn ColorScheme mapping.
AppTheme now builds from QueryaTheme.darkDefault (visual parity).

Closes #38
Adds stripJsonc preprocessor and VsCodeThemeManifest with colors and
tokenColors parsing for theme import pipeline.

Closes #39
Adds parseVsCodeColor for #RGB, #RGBA, #RRGGBB, #RRGGBBAA formats.

Closes #53
Use const ColorScheme presets via QueryaColors and const Typography.geist()
so flutter analyze exits cleanly in CI.
…-models

feat(theme): QueryaTheme, workbench and editor token models (#38)
feat(theme): VS Code theme JSON/JSONC parser (#39)
Exposes context.workbench / context.editorTheme via InheritedWidget.
Wraps app home with QueryaTheme.darkDefault until ThemeController (#40).

Closes #54
feat(theme): VS Code HEX/RGBA color parser (#53)
feat(theme): QueryaThemeScope InheritedWidget (#54)
Persist theme mode and preset in AppSettings, load on startup, and
rebuild ShadcnApp from ThemeController via ListenableBuilder.

Closes #40
Closes #41
Add vscode_color_map, buildQueryaThemeFromVsCodeManifest, fixture tests,
and docs/theme-import.md for supported keys and fallback behavior.

Closes #44
…ntime

feat(theme): ThemeController and runtime theme (#40, #41)
feat(theme): VS Code workbench colors import subset (#44)
Persist VS Code color overrides in AppSettings, merge with imported
layer in ThemeController, and apply via buildQueryaThemeFromVsCodeColors.

Closes #45
feat(theme): user color overrides deep merge (#45)
Use QueryaThemeScope workbench accent and ColorScheme.primary in
title bar, empty hero, and SQL editor chrome.

Closes #42
feat(theme): migrate P0 workbench off QueryaColors (#42)
Add Preferences Appearance section, ThemeImportService with persisted
import file, ThemeController.importThemeFromFile, and imported preset.

Closes #43
feat(theme): Preferences appearance and theme import (#43)
Use QueryaEditorTheme for SQL editor chrome, background, and text;
extend VS Code color map for selection/lineNumber/bracket/border keys;
align PG/MySQL SQL toolbar icons with workbench accent.

Closes #60
feat(theme): SqlEditorChrome from editor theme tokens (#60)
Introduce QueryaCodeEditor with shadcn/Material TextField backends,
migrate QueryEditorTab, SQL editor dialogs, and Mongo JSON editor.

Closes #47
feat(editor): QueryaCodeEditor abstraction (#47)
Add editor-spike-report.md with scorecard, test matrix, and MVP
recommendation (syntax_highlight for #49/#50, re_editor Phase 2).

Closes #48
docs(editor): code editor package spike report (#48)
Wire QueryaHighlightController into QueryaCodeEditor for SQL/JSON, map
QueryaEditorTheme tokens to HighlighterTheme, and init grammars at startup.
ZhuchkaTriplesix and others added 25 commits May 28, 2026 11:03
feat(editor): SQL syntax highlighting in QueryaCodeEditor (#49)
Map JSON grammar scopes in HighlighterTheme, wire mongo editor to workbench
success and editor background tokens, and add format/validation tests.
feat(editor): JSON syntax highlighting in Mongo document editor (#50)
)

Add TokenStyleResolver, bridge tokenColors to HighlighterTheme on import,
and offload highlighting for buffers over 8KB to a background isolate.
feat(theme): VS Code tokenColors and TextMate scope resolution (#46)
Add Dracula/One Dark/JSONC fixtures, integration tests for tokenColors
import, codec/resolver coverage, and ThemeController shadcn theme tests.
Document workbench vs editor architecture, VS Code import, overrides,
tokenColors pipeline, and testing pointers.
test(theme): theme pipeline unit and fixture coverage (#58)
docs(theme): theme system guide (docs/theme.md) (#55)
Replace hardcoded colors in workspace empty hero mock and window close
button with workbench/editor theme tokens; add widget tests.

Part of #42.
refactor(theme): P0 workbench surfaces use design tokens (#59)
Add toolbar decoration helper, brightness-aware accent glow, and widget
tests for imported editor colors; wire PG/MySQL toolbars to theme tokens.
feat(theme): SqlEditorChrome and SQL toolbar theme tokens (#60)
Stop forcing AppTheme.dark in MainScreen so ThemeMode.light applies;
document light preset and add WCAG contrast unit tests.
feat(theme): Querya Light preset in main shell (#51)
Add AppSettings flag (default off), Preferences toggle, and wire ShadcnApp
enableThemeAnimation. Document manual QA checklist; align ThemeData.lerp tests.
feat(theme): optional animated theme transitions
Add go/no-go spike doc with epic breakdown; NO-GO for 0.3, re_editor before
code_forge. Cross-link editor-spike-report, theme.md, and roadmap.
docs(editor): code_forge and LSP evaluation (#52)
Record milestone closure in theme.md and roadmap; note P2 and editor follow-ups.
QueryaThemeScope on ShadcnApp.builder for SQL editor and overlays.
Material theme from Querya ColorScheme; legible muted labels; DropdownMenu
in Preferences (no full-screen menu glitch).
VS Code JSON/JSONC fixtures under themes/samples/ with README.
Theme system milestone: CHANGELOG and roadmap for 0.3.0 release.
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f7453fa into main May 28, 2026
17 checks passed
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
Release 0.3.0 — theme system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant