Skip to content

Commit ea44240

Browse files
committed
revert: refactor(sample): theme css changes in PR
1 parent 2dea0f0 commit ea44240

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/app/theming/angular/angular-sample.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ igx-expansion-panel-body {
139139
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale);
140140

141141
&.light {
142-
@include color-classes($prop: "background", $prefix: "bg");
142+
@include color-classes($palette: $igx-light-palette, $prop: "background", $prefix: "bg");
143143

144144
background: color($igx-light-palette, 'surface');
145145

@@ -159,7 +159,7 @@ igx-expansion-panel-body {
159159
}
160160

161161
&.dark {
162-
@include color-classes($prop: "background", $prefix: "bg");
162+
@include color-classes($palette: $custom-dark-palette, $prop: "background", $prefix: "bg");
163163

164164
background: color($custom-dark-palette, 'surface');
165165

src/app/theming/bootstrap/bootstrap-sample.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ $dark-secondary: color($custom-dark-palette, "secondary");
5151

5252
&.light {
5353
@include color-classes(
54+
$palette: $light-bootstrap-palette,
5455
$prop: 'background',
5556
$prefix: 'bg'
5657
);
@@ -77,6 +78,7 @@ $dark-secondary: color($custom-dark-palette, "secondary");
7778

7879
&.dark {
7980
@include color-classes(
81+
$palette: $custom-dark-palette,
8082
$prop: 'background',
8183
$prefix: 'bg'
8284
);

0 commit comments

Comments
 (0)