mirror of
https://github.com/primer/css.git
synced 2024-12-14 23:12:03 +03:00
Merge branch 'mkt/color-modes-whee' into mkt/color-modes-docs
This commit is contained in:
commit
5711c3a85c
6
package-lock.json
generated
6
package-lock.json
generated
@ -2680,9 +2680,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@primer/primitives": {
|
"@primer/primitives": {
|
||||||
"version": "0.0.0-883cd00",
|
"version": "0.0.0-da21f4f",
|
||||||
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-883cd00.tgz",
|
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-da21f4f.tgz",
|
||||||
"integrity": "sha512-Iksh7wku62qRLKPDQg0y/dQIDhTd8FOYSgtXWXkr/Rg0RU14kWAHe31/WMOKWgfoCzFaEZf7lNbFFc2eyS1Dgw=="
|
"integrity": "sha512-jCgtN/hWBNJNWCoLepvB10yXaS/g+DGZSLq4AaM2MHbJ4DAUJHzAjVE53LmtFAGwJEMpBRctq7KlJ/NclGBXKQ=="
|
||||||
},
|
},
|
||||||
"@reach/router": {
|
"@reach/router": {
|
||||||
"version": "1.3.3",
|
"version": "1.3.3",
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@primer/octicons": "^9.1.1",
|
"@primer/octicons": "^9.1.1",
|
||||||
"@primer/primitives": "0.0.0-883cd00"
|
"@primer/primitives": "0.0.0-da21f4f"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@octokit/rest": "^16.34.0",
|
"@octokit/rest": "^16.34.0",
|
||||||
|
@ -24,3 +24,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin color-mode-var($name, $light, $dark) {
|
||||||
|
@include color-mode(light) {
|
||||||
|
--color-#{$name}: #{$light};
|
||||||
|
}
|
||||||
|
|
||||||
|
@include color-mode(dark) {
|
||||||
|
--color-#{$name}: #{$dark};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user