-
Notifications
You must be signed in to change notification settings - Fork 160
fix(query-builder): update fluent query builder buttons styling #17141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -257,11 +257,11 @@ | |
|
|
||
| @if $variant == 'fluent' { | ||
| --background: transparent; | ||
| --focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover}); | ||
| --focus-visible-background: transparent; | ||
| --focus-background: transparent; | ||
| --active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --focus-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus}); | ||
| --active-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus}); | ||
| --hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover}); | ||
| } | ||
|
|
||
| --foreground: #{var-get($theme, 'color-expression-group-and')}; | ||
|
|
@@ -307,11 +307,11 @@ | |
|
|
||
| @if $variant == 'fluent' { | ||
| --background: transparent; | ||
| --focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover}); | ||
| --focus-visible-background: transparent; | ||
| --focus-background: transparent; | ||
| --active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; | ||
| --focus-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus}); | ||
| --active-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus}); | ||
| --hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover}); | ||
|
Comment on lines
308
to
+314
|
||
| } | ||
|
|
||
| --foreground: #{var-get($theme, 'color-expression-group-or')}; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the fluent AND button, this change updates
--focus-backgroundand--active-backgroundfromtransparent/grayto a tinted background ($alpha-focus). The linked issue/PR description only calls for updating the hover + focused-hover background (8% alpha). If focus/active backgrounds are not meant to change, consider reverting those to the previous values and only adjusting--hover-background/--focus-hover-backgroundto match the design spec.