You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(ui): migrate hardcoded colors in onboarding and badges to QueryaTheme tokens #1509
These should be resolved via theme semantic status tokens (workbench.success, workbench.warning, workbench.error).
Buttons & Dialogs:
In lib/shared/widgets/querya_button.dart (lines 298–316) and lib/shared/widgets/app_dialog.dart, raw Color(0xFF000000) and Color(0xFFFFFFFF) are used instead of theme foreground/background tokens.
Proposed Solution
Replace hardcoded colors in welcome_tour_dialog.dart with colors derived from context.queryaTheme (e.g. using syntax/editor accent tokens or theme primary colors).
Refactor connection_environment_badge.dart to use semantic workbench colors from context.queryaTheme.workbench.
Ensure all dialog overlays and button contrast colors reference theme tokens.
Acceptance Criteria
All UI widgets adapt harmoniously across all installed themes (light, dark, high contrast).
No hardcoded Color(0x...) remain in welcome_tour_dialog.dart and connection_environment_badge.dart.
Activity
refactor(ui): migrate hardcoded colors in onboarding and badges to Qu…
ZhuchkaTriplesix commentedon Oct 17, 2026
Resolved in #1666
fix(theme): token defaults without a theme scope no longer need a sha…