We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 447d64c commit cb28f57Copy full SHA for cb28f57
projects/material-css-vars/src/lib/_public-util.scss
@@ -139,8 +139,10 @@
139
}
140
141
@mixin mat-css-dark-theme-global {
142
- #{variables.$dark-theme-selector} & {
143
- @content;
+ @if variables.$dark-theme-selector {
+ #{variables.$dark-theme-selector} & {
144
+ @content;
145
+ }
146
147
148
@@ -155,8 +157,10 @@
155
157
#{variables.$light-theme-selector} & {
156
158
@content;
159
160
161
162
163
164
165
166
0 commit comments