1
1
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:
Michelle Tilley 2020-10-22 10:37:38 -07:00
parent a7c192e3b4
commit 19c9d7ed7d
No known key found for this signature in database
GPG Key ID: 810E3A96D4CF00F4

View File

@ -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;
}