Repository navigation
refactor(ui): migrate hardcoded colors in onboarding and badges to QueryaTheme tokens (#1509) - #1666
Merged
Conversation
…eryaTheme tokens (#1509)
ZhuchkaTriplesix
deleted the
issue/1509-onboarding-badges-theme-tokens
branch
October 17, 2026 03:58
ZhuchkaTriplesix
added a commit
that referenced
this pull request
Oct 17, 2026
…dcn theme (#1671) #1666 (#1509) made the dialog backdrop use workbenchOrDefault.shadow. Without a QueryaThemeScope that getter fell back to colors.brightness, which is shadcn Theme.of and asserts when there is no shadcn theme, so every app_dialog test (a bare MaterialApp) failed and dev went red. The fallbacks of workbenchOrDefault, editorTheme and semanticPalette take the shadcn theme's brightness when there is one, else Material's. The app always has both scopes, so nothing changes there. The settled-tint test now expects the theme's shadow colour, which the backdrop has used since #1666, instead of plain black.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1509
Summary of changes
0xFF06B6D4,0xFF8B5CF6,0xFF3B82F6,0xFF10B981,0xFFF59E0B) with theme workbench and chart palette tokens (wb.accent,cs.chart4,cs.chart1,cs.chart2,cs.chart3).0xFF1E2024,0xFFF1F5F9, and black shadow) in_ShortcutKeyBadgewithwb.surfaceandwb.shadow.0xFFEC4899in the cheat sheet slide icon withcontext.colors.chart5.environmentAccentColorOfwithcontext.workbenchOrDefaultdelegation.QueryaButtonand usedscheme.destructiveForegroundandmaterial.Colors.transparent._DialogBackdropwithcontext.workbenchOrDefault.shadow.test/features/onboarding/welcome_tour_dialog_test.dartverifying slide icons and shortcut keycaps adapt to theme tokens.