Skip to content

refactor(extensions): colours through context.colors; extension_stats_view off shadcn (#1731) - #1743

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

ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-extensions

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1731 (folder features/extensions, ~24 reads). Epic #1465.

Mechanical, no visual change:

• Theme.of(context).colorScheme (one-line and wrapped in extension_table_view.dart) and shadcn.Theme.of(context).colorScheme → context.colors;
• Theme.of(dialogContext).colorScheme → dialogContext.colors;
• theme.colorScheme in workspace home and recovery banner → colors;
• parameter types ColorScheme theme in ExtensionCard helpers and shadcn.ColorScheme cs in _buildChip → QueryaUiColors;
• extension_stats_view.dart drops its shadcn_flutter import (the scheme was all it took from it). It leaves the shadcn ratchet: 33 → 32 files. features/extensions now has no direct shadcn imports.

The guard colors_through_context_test.dart now covers connections, extensions, mongodb, mysql, postgresql, redis, settings, sqlite and workspace.

dart analyze is clean; guards and extension suites pass locally (23 tests).

@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 ffffc5c into dev Oct 18, 2026
14 checks passed

@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

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