mirror of
https://github.com/primer/css.git
synced 2025-01-05 21:22:57 +03:00
👕 Fix lint errors
This commit is contained in:
parent
a7c192e3b4
commit
19c9d7ed7d
@ -1,10 +1,12 @@
|
||||
// Allows CSS to be scoped to a specific color mode
|
||||
@mixin color-mode($mode) {
|
||||
@if $mode == light {
|
||||
:root, [data-color-mode="light"] {
|
||||
:root,
|
||||
[data-color-mode="light"] {
|
||||
@content;
|
||||
}
|
||||
} @else if $mode == dark {
|
||||
}
|
||||
@else if $mode == dark {
|
||||
[data-color-mode="dark"] {
|
||||
@content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user