New Light/Dark theme mixins
This commit is contained in:
parent
13ad4abaea
commit
8c8856785b
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue