Skip to content

Commit 2c8198a

Browse files
authored
Merge pull request #10715 from IgniteUI/simeonoff/fix-10665
fix(themes): theme mixins don't work correctly
2 parents 6f1d0af + dccaa47 commit 2c8198a

File tree

1 file changed

+4
-4
lines changed
  • projects/igniteui-angular/src/lib/core/styles/themes

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/core/styles/themes/_index.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
$warn: igx-color($palette, 'warn'),
495495
$error: igx-color($palette, 'error'),
496496
$surface: if($surface != #fff, $surface, #fff),
497-
$grays: if($grays != rgba(0, 0, 0, .38), $grays, #000),
497+
$grays: if($grays != #9e9e9e, $grays, #000),
498498
);
499499

500500
@include igx-theme(
@@ -526,7 +526,7 @@
526526
$warn: igx-color($palette, 'warn'),
527527
$error: igx-color($palette, 'error'),
528528
$surface: if($surface != #fff, $surface, #222),
529-
$grays: if($grays != rgba(0, 0, 0, .38), $grays, #fff),
529+
$grays: if($grays != #9e9e9e, $grays, #fff),
530530
);
531531

532532
@include igx-theme(
@@ -637,7 +637,7 @@
637637
$palette: igx-palette(
638638
$primary,
639639
$secondary,
640-
$surface: if($surface != #f8f9fa, $surface, #222),
640+
$surface: if($surface != white, $surface, #222),
641641
$grays: #fff
642642
),
643643
$schema: $dark-bootstrap-schema,
@@ -691,7 +691,7 @@
691691
$palette: igx-palette(
692692
$primary,
693693
$secondary,
694-
$surface: if($surface != #2a2b2f, $surface, #2a2b2f),
694+
$surface: if($surface != white, $surface, #2a2b2f),
695695
$grays: #fff
696696
),
697697
$schema: $dark-indigo-schema,

0 commit comments

Comments
 (0)