mirror of
https://github.com/primer/css.git
synced 2025-01-07 14:58:54 +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
|
// Allows CSS to be scoped to a specific color mode
|
||||||
@mixin color-mode($mode) {
|
@mixin color-mode($mode) {
|
||||||
@if $mode == light {
|
@if $mode == light {
|
||||||
:root, [data-color-mode="light"] {
|
:root,
|
||||||
|
[data-color-mode="light"] {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
} @else if $mode == dark {
|
}
|
||||||
|
@else if $mode == dark {
|
||||||
[data-color-mode="dark"] {
|
[data-color-mode="dark"] {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user