New Light/Dark theme mixins
This commit is contained in:

committed by
Scott Nonnenberg

parent
13ad4abaea
commit
8c8856785b
@@ -28,3 +28,13 @@
|
|||||||
@include color-svg($svg, black);
|
@include color-svg($svg, black);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin light-theme() {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin dark-theme() {
|
||||||
|
body.dark-theme & {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user