Skip to content

Commit 1e07046

Browse files
committed
fix(build): styling issues preventing build
1 parent 561d275 commit 1e07046

2 files changed

Lines changed: 26 additions & 17 deletions

File tree

src/app/grid/grid-row-editing-style/grid-row-editing-style.component.scss

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@
22
@use "igniteui-angular/theming" as *;
33

44
$banner-theme: banner-theme(
5-
$banner-background: #e3e3e3,
6-
$banner-message-color: color($purple-palette, "secondary", 600)
5+
$banner-background: #e3e3e3,
6+
$banner-message-color: color($purple-palette, "secondary", 600),
7+
);
8+
$banner-theme: banner-theme(
9+
$banner-background: #494949,
10+
$banner-message-color: #ffcd0f,
11+
);
12+
13+
$icon-button-theme: icon-button-theme(
14+
$foreground: #ffcd0f,
15+
$hover-foreground: #ffffff
716
);
817

918
:host {
10-
::ng-deep {
11-
@include css-vars($banner-theme);
12-
@include css-vars($icon-button-theme);
13-
}
19+
::ng-deep {
20+
@include css-vars($banner-theme);
21+
@include css-vars($icon-button-theme);
22+
}
1423
}
1524

1625
igx-grid {
17-
@include palette($purple-palette);
18-
}
26+
@include palette($purple-palette);
27+
}

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,31 +183,31 @@ igx-expansion-panel-body {
183183

184184
.mat-mdc-slider.secondary .mdc-slider__track--inactive,
185185
.mat-mdc-slider.secondary .mdc-slider__thumb-knob {
186-
background-color: color($custom-mat-dark-theme, 'accent');
186+
background-color: color($custom-mat-dark-theme, accent, default);
187187
}
188188

189189
.mat-mdc-slider.secondary .mdc-slider__track--active_fill,
190190
.mat-mdc-slider.secondary .mdc-slider__thumb-knob {
191-
border-color: color($custom-mat-dark-theme, 'accent');
191+
border-color: color($custom-mat-dark-theme, accent, default);
192192
}
193193

194194
.mat-mdc-slider.secondary .mat-mdc-slider-visual-thumb .mat-ripple > * {
195-
background-color: color($custom-mat-dark-theme, 'accent');
195+
background-color: color($custom-mat-dark-theme, accent, default);
196196
opacity: .12;
197197
}
198198

199199
.mat-step-header .mat-step-icon-selected {
200-
background-color: color($custom-dark-palette, 'secondary');
200+
background-color: color($custom-dark-palette, secondary);
201201
}
202202

203203
.mat-stepper-horizontal,
204204
.mat-mdc-form-field-focus-overlay,
205205
.mdc-text-field--filled:not(.mdc-text-field--disabled) {
206-
background: color($custom-dark-palette, 'surface');
206+
background: color($custom-dark-palette, surface);
207207
}
208208

209209
igx-expansion-panel h5 {
210-
color: color($custom-dark-palette, 'gray', 800);
210+
color: color($custom-dark-palette, gray, 800);
211211
}
212212
}
213213
}
@@ -233,16 +233,16 @@ igx-expansion-panel-body {
233233

234234
.mat-mdc-slider.secondary .mdc-slider__track--inactive,
235235
.mat-mdc-slider.secondary .mdc-slider__thumb-knob {
236-
background-color: color($custom-mat-light-theme, 'accent');
236+
background-color: color($custom-mat-light-theme, accent, default);
237237
}
238238

239239
.mat-mdc-slider.secondary .mdc-slider__track--active_fill,
240240
.mat-mdc-slider.secondary .mdc-slider__thumb-knob {
241-
border-color: color($custom-mat-light-theme, 'accent');
241+
border-color: color($custom-mat-light-theme, accent, default);
242242
}
243243

244244
.mat-mdc-slider.secondary .mat-mdc-slider-visual-thumb .mat-ripple > * {
245-
background-color: color($custom-mat-light-theme, 'accent');
245+
background-color: color($custom-mat-light-theme, accent, default);
246246
opacity: .12;
247247
}
248248

0 commit comments

Comments
 (0)