Skip to content

Commit 3409bd9

Browse files
authored
Merge pull request #2875 from IgniteUI/dkamburov/hsla-for-surface
style(*): Use hsla for surface to apply proper background when theme is changed
2 parents 71632c5 + dc4d7f9 commit 3409bd9

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
::ng-deep {
22
.custom-body {
33
color: var(--igx-surface-500-contrast);
4-
background: var(--igx-surface-500);
4+
background: hsla(var(--igx-surface-500));
55
}
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
::ng-deep {
22
.custom-body {
33
color: var(--igx-surface-500-contrast);
4-
background: var(--igx-surface-500);
4+
background: hsla(var(--igx-surface-500));
55
}
66
}

src/app/interactions/toggle/toggle-samples.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
.custom-body & {
2727
color: var(--igx-surface-500-contrast);
28-
background-color: var(--igx-surface-500);
28+
background-color: hsla(var(--igx-surface-500));
2929
}
3030
}
3131

src/app/scheduling/calendar/calendar-sample-6/calendar-sample-6.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.info {
1111
display: flex;
1212
justify-content: center;
13-
background: var(--igx-surface-500);
13+
background: hsla(var(--igx-surface-500));
1414
}
1515

1616
.info > span {

src/app/scheduling/calendar/multiview/multiview.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.stay__info {
1919
display: flex;
2020
justify-content: center;
21-
background: var(--igx-surface-500);
21+
background: hsla(var(--igx-surface-500));
2222
}
2323

2424
.stay__info > span {

0 commit comments

Comments
 (0)