mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
Add color-scheme mixin
This commit is contained in:
parent
a68424658a
commit
54ce9e8b3c
1 changed files with 10 additions and 0 deletions
|
|
@ -59,3 +59,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin color-scheme {
|
||||
@media (prefers-color-scheme: light) {
|
||||
@content("light");
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@content("dark");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue