Clean: SASS - Dark mixin

This commit is contained in:
alstjr7375 2021-12-27 15:36:37 +09:00
parent 7a80769986
commit abfe9027fa
11 changed files with 82 additions and 9 deletions

6
src/utils/_darkmode.scss Normal file
View file

@ -0,0 +1,6 @@
@mixin Dark() {
// -moz-toolbar-prefers-color-scheme is removed at v95, #250
@media (-moz-toolbar-prefers-color-scheme: dark), (prefers-color-scheme: dark) {
@content;
}
}