Skip to content

Commit 989044d

Browse files
authored
Merge branch '21.0.x' into didimmova/fix-badge-proj-content-21.0.x
2 parents e7dd6f9 + 4a7172c commit 989044d

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

projects/igniteui-angular/core/src/core/styles/components/chip/_chip-theme.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
)
116116
);
117117

118-
gap: sizable(rem(3px), rem(6px), rem(8px));
119118
color: var-get($theme, 'text-color');
120119
background: var-get($theme, 'background');
121120
border: $border-size solid var-get($theme, 'border-color');
@@ -410,6 +409,8 @@
410409
}
411410

412411
%igx-chip__start {
412+
gap: sizable(rem(3px), rem(6px), rem(8px));
413+
413414
> igx-avatar,
414415
> igx-circular-bar {
415416
&:first-child {
@@ -437,6 +438,8 @@
437438
}
438439

439440
%igx-chip__end {
441+
gap: sizable(rem(3px), rem(6px), rem(8px));
442+
440443
> igx-avatar,
441444
> igx-circular-bar {
442445
&:last-child {
@@ -490,6 +493,7 @@
490493
%igx-chip__content {
491494
@include ellipsis();
492495

496+
padding-inline: pad-inline(rem(3px), rem(6px), rem(8px));
493497
max-width: $chip-max-width;
494498

495499
&:empty {

projects/igniteui-angular/core/src/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)