Skip to content

refactor(core): read colours through context.colors across core (#1731) - #1745

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-core
Oct 18, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-core

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1731 (core). Completes #1731. Epic #1465 (step 3b).

Mechanical, no visual change:

• Theme.of(context).colorScheme and theme.colorScheme → context.colors / theme.colors across lib/core (querya_split_handle.dart, querya_hover_surface.dart, querya_tree_indent_guide.dart, querya_semantic_palette.dart, theme_editor_draft.dart);
• querya_split_handle.dart and theme_editor_draft.dart drop their package:shadcn_flutter imports. They leave the shadcn ratchet: 29 → 27 files;
• colors_through_context_test.dart now covers all of lib/ except lib/core/theme (which bridges to the shadcn shell and leaves with #1465 step 5);
• dart analyze is clean (0 issues); guards and core suites pass locally (over 2000 tests).

Closes #1731.

Read colours through context.colors / QueryaUiColors across lib/core
and expand colors_through_context_test.dart to cover all of lib/ except
lib/core/theme (which bridges to the shadcn shell and leaves with #1465
step 5).

Drop shadcn_flutter imports in querya_split_handle.dart and
theme_editor_draft.dart, updating the ratchet guard accordingly.

Closes #1731.
@ZhuchkaTriplesix ZhuchkaTriplesix added this to the Theme system milestone Oct 18, 2026
@ZhuchkaTriplesix ZhuchkaTriplesix added theme Theming, colors, VS Code themes frontend Theme parser epic label: frontend ui User interface components and widgets P2 Medium priority / Parity & Refactoring labels Oct 18, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f7ad179 into dev Oct 18, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Theme parser epic label: frontend P2 Medium priority / Parity & Refactoring theme Theming, colors, VS Code themes ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant