Skip to content

feat(theme): QueryaTheme, workbench and editor token models (#38) - #62

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/38-querya-workbench-theme-models
May 28, 2026
Merged

feat(theme): QueryaTheme, workbench and editor token models (#38)#62
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/38-querya-workbench-theme-models

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

Adds foundation theme models for the Theme system epic (#37):

  • QueryaWorkbenchTheme — sidebar, editor chrome, status/git colors
  • QueryaEditorTheme — syntax token colors + font defaults
  • QueryaTheme — aggregate with ColorScheme, lerp, toShadcnThemeData()
  • AppTheme / QueryaColorScheme now delegate to QueryaTheme.darkDefault (no visual change)

Tests

  • test/core/theme/querya_theme_test.dart — defaults, copyWith, lerp, colorScheme mapping

Checks

  • flutter test (287 passed)
  • flutter analyze (info-level prefer_const only)

Closes #38

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
@ZhuchkaTriplesix ZhuchkaTriplesix added this to the Theme system milestone May 28, 2026
@ZhuchkaTriplesix ZhuchkaTriplesix added enhancement New feature or request theme Theming, colors, VS Code themes labels May 28, 2026
Use const ColorScheme presets via QueryaColors and const Typography.geist()
so flutter analyze exits cleanly in CI.

@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 4571918 into dev May 28, 2026
4 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/38-querya-workbench-theme-models branch June 15, 2026 04:14
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
…-models

feat(theme): QueryaTheme, workbench and editor token models (#38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant