File tree 4 files changed +32
-5
lines changed 4 files changed +32
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @primer/css " : patch
3
+ ---
4
+
5
+ Add experimental color variables. ** Warning: Do not use these color variables**
Original file line number Diff line number Diff line change 30
30
"release" : " changeset publish"
31
31
},
32
32
"dependencies" : {
33
- "@primer/primitives" : " 4.3.0 "
33
+ "@primer/primitives" : " 4.3.1 "
34
34
},
35
35
"devDependencies" : {
36
36
"@changesets/changelog-github" : " 0.4.0" ,
Original file line number Diff line number Diff line change
1
+ // EXPERIMENTAL. DO NOT USE.
2
+
3
+ @import " ../support/mixins/color-modes.scss" ;
4
+
5
+ @import " @primer/primitives/dist/scss/colors_v2/_light.scss" ;
6
+ @import " @primer/primitives/dist/scss/colors_v2/_dark.scss" ;
7
+ @import " @primer/primitives/dist/scss/colors_v2/_dark_dimmed.scss" ;
8
+
9
+ // Outputs the CSS variables
10
+ // Use :root (html element) to define a default
11
+
12
+ @include color-mode-theme (light , true) {
13
+ @include primer-colors-light ;
14
+ }
15
+
16
+ @include color-mode-theme (dark ) {
17
+ @include primer-colors-dark ;
18
+ }
19
+
20
+ @include color-mode-theme (dark_dimmed) {
21
+ @include primer-colors-dark_dimmed ;
22
+ }
Original file line number Diff line number Diff line change 760
760
" @nodelib/fs.scandir" " 2.1.4"
761
761
fastq "^1.6.0"
762
762
763
-
764
- version "4.3.0 "
765
- resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-4.3.0 .tgz#446e868cd1c48437cbc3340c52b159ec2e015b78 "
766
- integrity sha512-djXxll2yVTufmhnHA1H9bMT8I3S0ID6GlSewAJvKHlv80I+5AoZASVBF+WedtH/SyloLM5wyk+Tqj1ZNmy2+RQ ==
763
+
764
+ version "4.3.1 "
765
+ resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-4.3.1 .tgz#34ca84cddc03daff72764cae4d509679df763aae "
766
+ integrity sha512-o9UFxVhKKZ+ryFx7H45xNC8rw98OPDsF2Lq5LNg+87yTKDu0Wc2qmhFRMrvMsFXCYMOJxkbgbhzVt/GG4CMqsA ==
767
767
768
768
" @sinonjs/commons@^1.7.0 " :
769
769
version "1.8.2"
You can’t perform that action at this time.
0 commit comments