1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 06:44:38 +03:00

Merge branch 'mkt/color-modes-whee' into mkt/color-modes-docs

This commit is contained in:
Michelle Tilley 2020-10-26 14:21:23 -07:00
commit 5711c3a85c
No known key found for this signature in database
GPG Key ID: 810E3A96D4CF00F4
3 changed files with 14 additions and 4 deletions

6
package-lock.json generated
View File

@ -2680,9 +2680,9 @@
}
},
"@primer/primitives": {
"version": "0.0.0-883cd00",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-883cd00.tgz",
"integrity": "sha512-Iksh7wku62qRLKPDQg0y/dQIDhTd8FOYSgtXWXkr/Rg0RU14kWAHe31/WMOKWgfoCzFaEZf7lNbFFc2eyS1Dgw=="
"version": "0.0.0-da21f4f",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-da21f4f.tgz",
"integrity": "sha512-jCgtN/hWBNJNWCoLepvB10yXaS/g+DGZSLq4AaM2MHbJ4DAUJHzAjVE53LmtFAGwJEMpBRctq7KlJ/NclGBXKQ=="
},
"@reach/router": {
"version": "1.3.3",

View File

@ -41,7 +41,7 @@
},
"dependencies": {
"@primer/octicons": "^9.1.1",
"@primer/primitives": "0.0.0-883cd00"
"@primer/primitives": "0.0.0-da21f4f"
},
"devDependencies": {
"@octokit/rest": "^16.34.0",

View File

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