Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 0df4b16

Browse files
arshabhrschmukler
authored andcommitted
fix(theming): add support for background hues
Closes: #1450, closes #1950, closes #1321
1 parent 57deba1 commit 0df4b16

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
md-content.md-THEME_NAME-theme {
2-
background-color: '{{background-hue-3}}';
2+
background-color: '{{background-color}}';
33
}

src/components/dialog/dialog-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $dialog-border-radius: 4px !default;
22

33
md-dialog.md-THEME_NAME-theme {
44
border-radius: $dialog-border-radius;
5-
background-color: '{{background-hue-3}}';
5+
background-color: '{{background-color}}';
66

77
&.md-content-overflow .md-actions {
88
border-top-color: '{{foreground-4}}';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
md-sidenav.md-THEME_NAME-theme {
2-
background-color: '{{background-hue-3}}';
2+
background-color: '{{background-color}}';
33
}

src/components/slider/slider-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ md-slider.md-THEME_NAME-theme {
1313
border-color: '{{foreground-4}}';
1414
}
1515
.md-disabled-thumb {
16-
border-color: '{{background-hue-3}}';
16+
border-color: '{{background-color}}';
1717
}
1818
&.md-min .md-thumb:after {
19-
background-color: '{{background-hue-3}}';
19+
background-color: '{{background-color}}';
2020
}
2121

2222
.md-track.md-track-fill {

src/components/subheader/subheader-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.md-subheader.md-THEME_NAME-theme {
22
color: '{{ foreground-2-0.23 }}';
3-
background-color: '{{background-hue-3}}';
3+
background-color: '{{background-color}}';
44

55
&.md-primary {
66
color: '{{primary-color}}'

0 commit comments

Comments
 (0)