Skip to content

Commit 30b6652

Browse files
fix(query-builder): update fluent query builder buttons styling (#17148)
Co-authored-by: Marin Popov <desig9stein@users.noreply.github.com>
1 parent a42734e commit 30b6652

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

projects/igniteui-angular/src/lib/core/styles/components/query-builder/_query-builder-theme.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@
257257

258258
@if $variant == 'fluent' {
259259
--background: transparent;
260-
--focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
260+
--focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover});
261261
--focus-visible-background: transparent;
262-
--focus-background: transparent;
263-
--active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
264-
--hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
262+
--focus-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus});
263+
--active-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus});
264+
--hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover});
265265
}
266266

267267
--foreground: #{var-get($theme, 'color-expression-group-and')};
@@ -307,11 +307,11 @@
307307

308308
@if $variant == 'fluent' {
309309
--background: transparent;
310-
--focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
310+
--focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover});
311311
--focus-visible-background: transparent;
312-
--focus-background: transparent;
313-
--active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
314-
--hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))};
312+
--focus-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus});
313+
--active-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus});
314+
--hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover});
315315
}
316316

317317
--foreground: #{var-get($theme, 'color-expression-group-or')};

0 commit comments

Comments
 (0)