Skip to content

refactor(misc): read colours through context.colors across shared and misc features (#1731) - #1744

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

ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-small-features

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1731 (folders shared, app, command_palette, erd, help, main_screen, onboarding, recovery, results, updater). Epic #1465.

Mechanical, no visual change:

• Theme.of(context).colorScheme and shadcn.Theme.of(context).colorScheme → context.colors across all 10 locations;
• Parameter/variable types ColorScheme → QueryaUiColors;
• erd_export_data.dart, erd_edge_tip_label.dart, and update_changelog_view.dart drop their package:shadcn_flutter imports. They leave the shadcn ratchet: 32 → 29 files;
• colors_through_context_test.dart now covers all of lib/ except lib/core (which will be migrated next in the final step of #1731).

dart analyze is clean (0 issues); guards, features-app, ERD, recovery, results, updater, and shared suites pass locally (over 500 tests).

… misc features (#1731)

Migrate colour reading from Theme.of(context).colorScheme /
shadcn.Theme.of(context).colorScheme to context.colors across:
- lib/shared
- lib/app
- lib/features/command_palette
- lib/features/erd
- lib/features/help
- lib/features/main_screen
- lib/features/onboarding
- lib/features/recovery
- lib/features/results
- lib/features/updater

Drop package:shadcn_flutter from erd_export_data.dart,
erd_edge_tip_label.dart, and update_changelog_view.dart, and update the
shadcn ratchet accordingly. Add all 10 locations to the migrated list in
colors_through_context_test.dart.

Part of #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 87b1b68 into dev Oct 18, 2026
16 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