@primer/primitives 10.5.0-rc.6c9d75b1 → 10.5.1-rc.aa2b8f62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +4 -4
  2. package/dist/css/functional/themes/dark-high-contrast.css +16 -16
  3. package/dist/css/functional/themes/light-high-contrast.css +16 -16
  4. package/dist/docs/functional/themes/dark-colorblind.json +44 -122
  5. package/dist/docs/functional/themes/dark-dimmed.json +44 -122
  6. package/dist/docs/functional/themes/dark-high-contrast.json +65 -143
  7. package/dist/docs/functional/themes/dark-tritanopia.json +44 -122
  8. package/dist/docs/functional/themes/dark.json +44 -122
  9. package/dist/docs/functional/themes/light-colorblind.json +44 -122
  10. package/dist/docs/functional/themes/light-high-contrast.json +68 -144
  11. package/dist/docs/functional/themes/light-tritanopia.json +44 -122
  12. package/dist/docs/functional/themes/light.json +44 -122
  13. package/dist/figma/themes/dark-colorblind.json +8 -8
  14. package/dist/figma/themes/dark-dimmed.json +8 -8
  15. package/dist/figma/themes/dark-high-contrast.json +29 -29
  16. package/dist/figma/themes/dark-tritanopia.json +8 -8
  17. package/dist/figma/themes/dark.json +8 -8
  18. package/dist/figma/themes/light-colorblind.json +8 -8
  19. package/dist/figma/themes/light-high-contrast.json +30 -29
  20. package/dist/figma/themes/light-tritanopia.json +8 -8
  21. package/dist/figma/themes/light.json +8 -8
  22. package/dist/internalCss/dark-high-contrast.css +16 -16
  23. package/dist/internalCss/light-high-contrast.css +16 -16
  24. package/dist/styleLint/functional/themes/dark-colorblind.json +44 -122
  25. package/dist/styleLint/functional/themes/dark-dimmed.json +44 -122
  26. package/dist/styleLint/functional/themes/dark-high-contrast.json +65 -143
  27. package/dist/styleLint/functional/themes/dark-tritanopia.json +44 -122
  28. package/dist/styleLint/functional/themes/dark.json +44 -122
  29. package/dist/styleLint/functional/themes/light-colorblind.json +44 -122
  30. package/dist/styleLint/functional/themes/light-high-contrast.json +68 -144
  31. package/dist/styleLint/functional/themes/light-tritanopia.json +44 -122
  32. package/dist/styleLint/functional/themes/light.json +44 -122
  33. package/package.json +1 -1
  34. package/src/tokens/component/button.json5 +4 -0
  35. package/src/tokens/component/contribution.json5 +0 -37
  36. package/src/tokens/functional/color/borderColor.json5 +9 -9
  37. package/src/tokens/functional/color/control.json5 +56 -157
package/README.md CHANGED
@@ -60,7 +60,7 @@ To make working with tokens easier, we added some additional functionality on to
60
60
  We have two main color modes: `light` and `dark`. Additionally we have specific accessibility modes based on those, such as `light high contrast`.
61
61
 
62
62
  We added a way to create a mode by only including the changes from the main mode. We call this `overrides`.
63
- `Overrides` are cerated in `src/tokens/functional/color/[light|dark]/overrides/` and have to be added to [themes.config.ts](./scripts/themes.config.ts) to work.
63
+ `Overrides` are created in `src/tokens/functional/color/[light|dark]/overrides/` and have to be added to [themes.config.ts](./scripts/themes.config.ts) to work.
64
64
  In the individual files, e.g. `light.high-contrast.json5` you can now add tokens in the same structure as in any main file, e.g. `primitives-light.json5` to replace them.
65
65
 
66
66
  ### Transforming Colors with Alpha and Mix
@@ -88,7 +88,7 @@ For our Figma export we use the following meta data:
88
88
 
89
89
  - `collection` the collection that the token is added to within Figma
90
90
  - `mode` the mode that the token is added to within the collection in Figma
91
- - `scopes` the scopes that are assigned to the token in Figma, the actual Figma compatible `scopes` are retreive from an object in the [figmaAttributes transformer](./src/transformers/figmaAttributes.ts)
91
+ - `scopes` the scopes that are assigned to the token in Figma, the actual Figma compatible `scopes` are retrieved from an object in the [figmaAttributes transformer](./src/transformers/figmaAttributes.ts)
92
92
 
93
93
  Code example
94
94
 
@@ -109,8 +109,8 @@ Code example
109
109
  #### Token names and @-hack
110
110
 
111
111
  Token names have to be in camelCase or kebab-case and may only include letters, numbers and `-`. This is enforced by the token validation (`npm run lint:tokens`).
112
- The only acception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
113
- In this case you can create the follwing structure. The `@` will be removed from the name and act as the default value.
112
+ The only exception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
113
+ In this case you can create the following structure. The `@` will be removed from the name and act as the default value.
114
114
 
115
115
  ```json5
116
116
  {
@@ -55,7 +55,7 @@
55
55
  --borderColor-sponsors-muted: #f87cbd;
56
56
  --borderColor-success-emphasis: #09b43a;
57
57
  --borderColor-success-muted: #0ac740;
58
- --borderColor-translucent: #2f3742;
58
+ --borderColor-translucent: #9198a1;
59
59
  --borderColor-transparent: #00000000;
60
60
  --button-danger-borderColor-active: #ffb1af;
61
61
  --button-danger-borderColor-hover: #ffb1af;
@@ -140,16 +140,16 @@
140
140
  --color-prettylights-syntax-string-regexp: #72f088;
141
141
  --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d;
142
142
  --color-prettylights-syntax-variable: #ffb757;
143
- --contribution-default-bgColor-0: #212830;
143
+ --contribution-default-bgColor-0: #151b23;
144
144
  --contribution-default-bgColor-1: #007728;
145
145
  --contribution-default-bgColor-2: #02a232;
146
146
  --contribution-default-bgColor-3: #0ac740;
147
147
  --contribution-default-bgColor-4: #4ae168;
148
- --contribution-default-borderColor-0: #ffffff;
149
- --contribution-default-borderColor-1: #ffffff;
150
- --contribution-default-borderColor-2: #ffffff;
151
- --contribution-default-borderColor-3: #ffffff;
152
- --contribution-default-borderColor-4: #ffffff;
148
+ --contribution-default-borderColor-0: #ffffff0d;
149
+ --contribution-default-borderColor-1: #ffffff0d;
150
+ --contribution-default-borderColor-2: #ffffff0d;
151
+ --contribution-default-borderColor-3: #ffffff0d;
152
+ --contribution-default-borderColor-4: #ffffff0d;
153
153
  --contribution-halloween-bgColor-1: #fac68f;
154
154
  --contribution-halloween-bgColor-2: #c46212;
155
155
  --contribution-halloween-bgColor-3: #984b10;
@@ -165,7 +165,6 @@
165
165
  --control-checked-borderColor-active: #91cbff;
166
166
  --control-checked-borderColor-hover: #91cbff;
167
167
  --control-checked-borderColor-rest: #91cbff;
168
- --control-danger-fgColor-hover: #ff9492;
169
168
  --control-fgColor-placeholder: #b7bdc8;
170
169
  --control-transparent-bgColor-active: #3d444d;
171
170
  --control-transparent-bgColor-hover: #2f3742;
@@ -633,6 +632,7 @@
633
632
  --control-borderColor-emphasis: var(--borderColor-emphasis);
634
633
  --control-checked-borderColor-disabled: var(--control-checked-bgColor-disabled);
635
634
  --control-checked-fgColor-rest: var(--fgColor-onEmphasis);
635
+ --control-danger-fgColor-hover: var(--fgColor-onEmphasis);
636
636
  --control-fgColor-rest: var(--fgColor-default);
637
637
  --controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
638
638
  --controlKnob-bgColor-rest: var(--bgColor-inset);
@@ -744,7 +744,7 @@
744
744
  --borderColor-sponsors-muted: #f87cbd;
745
745
  --borderColor-success-emphasis: #09b43a;
746
746
  --borderColor-success-muted: #0ac740;
747
- --borderColor-translucent: #2f3742;
747
+ --borderColor-translucent: #9198a1;
748
748
  --borderColor-transparent: #00000000;
749
749
  --button-danger-borderColor-active: #ffb1af;
750
750
  --button-danger-borderColor-hover: #ffb1af;
@@ -829,16 +829,16 @@
829
829
  --color-prettylights-syntax-string-regexp: #72f088;
830
830
  --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d;
831
831
  --color-prettylights-syntax-variable: #ffb757;
832
- --contribution-default-bgColor-0: #212830;
832
+ --contribution-default-bgColor-0: #151b23;
833
833
  --contribution-default-bgColor-1: #007728;
834
834
  --contribution-default-bgColor-2: #02a232;
835
835
  --contribution-default-bgColor-3: #0ac740;
836
836
  --contribution-default-bgColor-4: #4ae168;
837
- --contribution-default-borderColor-0: #ffffff;
838
- --contribution-default-borderColor-1: #ffffff;
839
- --contribution-default-borderColor-2: #ffffff;
840
- --contribution-default-borderColor-3: #ffffff;
841
- --contribution-default-borderColor-4: #ffffff;
837
+ --contribution-default-borderColor-0: #ffffff0d;
838
+ --contribution-default-borderColor-1: #ffffff0d;
839
+ --contribution-default-borderColor-2: #ffffff0d;
840
+ --contribution-default-borderColor-3: #ffffff0d;
841
+ --contribution-default-borderColor-4: #ffffff0d;
842
842
  --contribution-halloween-bgColor-1: #fac68f;
843
843
  --contribution-halloween-bgColor-2: #c46212;
844
844
  --contribution-halloween-bgColor-3: #984b10;
@@ -854,7 +854,6 @@
854
854
  --control-checked-borderColor-active: #91cbff;
855
855
  --control-checked-borderColor-hover: #91cbff;
856
856
  --control-checked-borderColor-rest: #91cbff;
857
- --control-danger-fgColor-hover: #ff9492;
858
857
  --control-fgColor-placeholder: #b7bdc8;
859
858
  --control-transparent-bgColor-active: #3d444d;
860
859
  --control-transparent-bgColor-hover: #2f3742;
@@ -1322,6 +1321,7 @@
1322
1321
  --control-borderColor-emphasis: var(--borderColor-emphasis);
1323
1322
  --control-checked-borderColor-disabled: var(--control-checked-bgColor-disabled);
1324
1323
  --control-checked-fgColor-rest: var(--fgColor-onEmphasis);
1324
+ --control-danger-fgColor-hover: var(--fgColor-onEmphasis);
1325
1325
  --control-fgColor-rest: var(--fgColor-default);
1326
1326
  --controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
1327
1327
  --controlKnob-bgColor-rest: var(--bgColor-inset);
@@ -61,6 +61,7 @@
61
61
  --borderColor-translucent: #59636e;
62
62
  --borderColor-transparent: #ffffff00;
63
63
  --button-danger-bgColor-hover: #86061d;
64
+ --button-danger-borderColor-hover: #6e011a;
64
65
  --button-danger-shadow-selected: inset 0px 1px 0px 0px #43001133;
65
66
  --button-inactive-fgColor: #454c54;
66
67
  --button-invisible-bgColor-disabled: #ffffff00;
@@ -125,16 +126,16 @@
125
126
  --color-prettylights-syntax-string-regexp: #024c1a;
126
127
  --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98;
127
128
  --color-prettylights-syntax-variable: #702c00;
128
- --contribution-default-bgColor-0: #e6eaef;
129
+ --contribution-default-bgColor-0: #eff2f5;
129
130
  --contribution-default-bgColor-1: #82e596;
130
131
  --contribution-default-bgColor-2: #26a148;
131
132
  --contribution-default-bgColor-3: #117f32;
132
133
  --contribution-default-bgColor-4: #024c1a;
133
- --contribution-default-borderColor-0: #010409;
134
- --contribution-default-borderColor-1: #010409;
135
- --contribution-default-borderColor-2: #010409;
136
- --contribution-default-borderColor-3: #010409;
137
- --contribution-default-borderColor-4: #010409;
134
+ --contribution-default-borderColor-0: #0104090d;
135
+ --contribution-default-borderColor-1: #0104090d;
136
+ --contribution-default-borderColor-2: #0104090d;
137
+ --contribution-default-borderColor-3: #0104090d;
138
+ --contribution-default-borderColor-4: #0104090d;
138
139
  --contribution-halloween-bgColor-1: #f0db3d;
139
140
  --contribution-halloween-bgColor-2: #ffd642;
140
141
  --contribution-halloween-bgColor-3: #f68c41;
@@ -470,7 +471,7 @@
470
471
  --borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
471
472
  --borderColor-upsell-muted: var(--borderColor-done-muted);
472
473
  --button-danger-bgColor-rest: var(--control-bgColor-rest);
473
- --button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
474
+ --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
474
475
  --button-danger-fgColor-active: #ffffff;
475
476
  --button-danger-fgColor-disabled: #86061d80;
476
477
  --button-danger-fgColor-hover: #ffffff;
@@ -617,7 +618,6 @@
617
618
  --border-upsell-muted: 0.0625rem solid #a371f7;
618
619
  --borderColor-neutral-muted: var(--borderColor-muted);
619
620
  --button-danger-bgColor-disabled: var(--control-bgColor-disabled);
620
- --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
621
621
  --button-danger-borderColor-rest: var(--control-borderColor-rest);
622
622
  --button-default-bgColor-disabled: var(--control-bgColor-disabled);
623
623
  --button-default-borderColor-active: var(--control-borderColor-rest);
@@ -750,6 +750,7 @@
750
750
  --borderColor-translucent: #59636e;
751
751
  --borderColor-transparent: #ffffff00;
752
752
  --button-danger-bgColor-hover: #86061d;
753
+ --button-danger-borderColor-hover: #6e011a;
753
754
  --button-danger-shadow-selected: inset 0px 1px 0px 0px #43001133;
754
755
  --button-inactive-fgColor: #454c54;
755
756
  --button-invisible-bgColor-disabled: #ffffff00;
@@ -814,16 +815,16 @@
814
815
  --color-prettylights-syntax-string-regexp: #024c1a;
815
816
  --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98;
816
817
  --color-prettylights-syntax-variable: #702c00;
817
- --contribution-default-bgColor-0: #e6eaef;
818
+ --contribution-default-bgColor-0: #eff2f5;
818
819
  --contribution-default-bgColor-1: #82e596;
819
820
  --contribution-default-bgColor-2: #26a148;
820
821
  --contribution-default-bgColor-3: #117f32;
821
822
  --contribution-default-bgColor-4: #024c1a;
822
- --contribution-default-borderColor-0: #010409;
823
- --contribution-default-borderColor-1: #010409;
824
- --contribution-default-borderColor-2: #010409;
825
- --contribution-default-borderColor-3: #010409;
826
- --contribution-default-borderColor-4: #010409;
823
+ --contribution-default-borderColor-0: #0104090d;
824
+ --contribution-default-borderColor-1: #0104090d;
825
+ --contribution-default-borderColor-2: #0104090d;
826
+ --contribution-default-borderColor-3: #0104090d;
827
+ --contribution-default-borderColor-4: #0104090d;
827
828
  --contribution-halloween-bgColor-1: #f0db3d;
828
829
  --contribution-halloween-bgColor-2: #ffd642;
829
830
  --contribution-halloween-bgColor-3: #f68c41;
@@ -1159,7 +1160,7 @@
1159
1160
  --borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
1160
1161
  --borderColor-upsell-muted: var(--borderColor-done-muted);
1161
1162
  --button-danger-bgColor-rest: var(--control-bgColor-rest);
1162
- --button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
1163
+ --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
1163
1164
  --button-danger-fgColor-active: #ffffff;
1164
1165
  --button-danger-fgColor-disabled: #86061d80;
1165
1166
  --button-danger-fgColor-hover: #ffffff;
@@ -1306,7 +1307,6 @@
1306
1307
  --border-upsell-muted: 0.0625rem solid #a371f7;
1307
1308
  --borderColor-neutral-muted: var(--borderColor-muted);
1308
1309
  --button-danger-bgColor-disabled: var(--control-bgColor-disabled);
1309
- --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
1310
1310
  --button-danger-borderColor-rest: var(--control-borderColor-rest);
1311
1311
  --button-default-bgColor-disabled: var(--control-bgColor-disabled);
1312
1312
  --button-default-borderColor-active: var(--control-borderColor-rest);
@@ -2225,7 +2225,7 @@
2225
2225
  "org.primer.figma": {
2226
2226
  "collection": "mode",
2227
2227
  "group": "semantic",
2228
- "scopes": ["borderColor"],
2228
+ "scopes": ["borderColor", "effectColor"],
2229
2229
  "codeSyntax": {
2230
2230
  "web": "var(--borderColor-accent-emphasis) /* utility class: .color-border-accent-emphasis */"
2231
2231
  }
@@ -2240,7 +2240,7 @@
2240
2240
  "org.primer.figma": {
2241
2241
  "collection": "mode",
2242
2242
  "group": "semantic",
2243
- "scopes": ["borderColor"],
2243
+ "scopes": ["borderColor", "effectColor"],
2244
2244
  "codeSyntax": {
2245
2245
  "web": "var(--borderColor-accent-emphasis) /* utility class: .color-border-accent-emphasis */"
2246
2246
  }
@@ -2259,7 +2259,7 @@
2259
2259
  "org.primer.figma": {
2260
2260
  "collection": "mode",
2261
2261
  "group": "semantic",
2262
- "scopes": ["borderColor"],
2262
+ "scopes": ["borderColor", "effectColor"],
2263
2263
  "codeSyntax": {
2264
2264
  "web": "var(--borderColor-accent-muted) /* utility class: .color-border-accent */"
2265
2265
  }
@@ -2292,7 +2292,7 @@
2292
2292
  "org.primer.figma": {
2293
2293
  "collection": "mode",
2294
2294
  "group": "semantic",
2295
- "scopes": ["borderColor"],
2295
+ "scopes": ["borderColor", "effectColor"],
2296
2296
  "codeSyntax": {
2297
2297
  "web": "var(--borderColor-accent-muted) /* utility class: .color-border-accent */"
2298
2298
  }
@@ -2739,7 +2739,7 @@
2739
2739
  "org.primer.figma": {
2740
2740
  "collection": "mode",
2741
2741
  "group": "semantic",
2742
- "scopes": ["borderColor"],
2742
+ "scopes": ["borderColor", "effectColor"],
2743
2743
  "codeSyntax": {
2744
2744
  "web": "var(--borderColor-default) /* utility class: .color-border-default */"
2745
2745
  }
@@ -2760,7 +2760,7 @@
2760
2760
  "org.primer.figma": {
2761
2761
  "collection": "mode",
2762
2762
  "group": "semantic",
2763
- "scopes": ["borderColor"],
2763
+ "scopes": ["borderColor", "effectColor"],
2764
2764
  "codeSyntax": {
2765
2765
  "web": "var(--borderColor-default) /* utility class: .color-border-default */"
2766
2766
  }
@@ -2779,7 +2779,7 @@
2779
2779
  "org.primer.figma": {
2780
2780
  "collection": "mode",
2781
2781
  "group": "semantic",
2782
- "scopes": ["borderColor"]
2782
+ "scopes": ["borderColor", "effectColor"]
2783
2783
  },
2784
2784
  "org.primer.overrides": {
2785
2785
  "dark-dimmed": {
@@ -2808,7 +2808,7 @@
2808
2808
  "org.primer.figma": {
2809
2809
  "collection": "mode",
2810
2810
  "group": "semantic",
2811
- "scopes": ["borderColor"]
2811
+ "scopes": ["borderColor", "effectColor"]
2812
2812
  },
2813
2813
  "org.primer.overrides": {
2814
2814
  "dark-dimmed": {
@@ -2945,7 +2945,7 @@
2945
2945
  "org.primer.figma": {
2946
2946
  "collection": "mode",
2947
2947
  "group": "semantic",
2948
- "scopes": ["borderColor"]
2948
+ "scopes": ["borderColor", "effectColor"]
2949
2949
  },
2950
2950
  "org.primer.overrides": {
2951
2951
  "light-high-contrast": "#3d444d",
@@ -2961,7 +2961,7 @@
2961
2961
  "org.primer.figma": {
2962
2962
  "collection": "mode",
2963
2963
  "group": "semantic",
2964
- "scopes": ["borderColor"]
2964
+ "scopes": ["borderColor", "effectColor"]
2965
2965
  },
2966
2966
  "org.primer.overrides": {
2967
2967
  "light-high-contrast": "{borderColor.default}",
@@ -2981,7 +2981,7 @@
2981
2981
  "org.primer.figma": {
2982
2982
  "collection": "mode",
2983
2983
  "group": "semantic",
2984
- "scopes": ["borderColor"],
2984
+ "scopes": ["borderColor", "effectColor"],
2985
2985
  "codeSyntax": {
2986
2986
  "web": "var(--borderColor-muted) /* utility class: .color-border-muted */"
2987
2987
  }
@@ -3020,7 +3020,7 @@
3020
3020
  "org.primer.figma": {
3021
3021
  "collection": "mode",
3022
3022
  "group": "semantic",
3023
- "scopes": ["borderColor"],
3023
+ "scopes": ["borderColor", "effectColor"],
3024
3024
  "codeSyntax": {
3025
3025
  "web": "var(--borderColor-muted) /* utility class: .color-border-muted */"
3026
3026
  }
@@ -3675,7 +3675,7 @@
3675
3675
  "org.primer.figma": {
3676
3676
  "collection": "mode",
3677
3677
  "group": "semantic",
3678
- "scopes": ["borderColor"]
3678
+ "scopes": ["borderColor", "effectColor"]
3679
3679
  },
3680
3680
  "org.primer.overrides": {
3681
3681
  "light-high-contrast": {
@@ -3686,7 +3686,7 @@
3686
3686
  "$type": "color"
3687
3687
  },
3688
3688
  "dark-high-contrast": {
3689
- "$value": "#2f3742",
3689
+ "$value": "#9198a1",
3690
3690
  "alpha": 1,
3691
3691
  "filePath": "src/tokens/functional/color/borderColor.json5",
3692
3692
  "isSource": true,
@@ -3704,7 +3704,7 @@
3704
3704
  "org.primer.figma": {
3705
3705
  "collection": "mode",
3706
3706
  "group": "semantic",
3707
- "scopes": ["borderColor"]
3707
+ "scopes": ["borderColor", "effectColor"]
3708
3708
  },
3709
3709
  "org.primer.overrides": {
3710
3710
  "light-high-contrast": {
@@ -3715,7 +3715,7 @@
3715
3715
  "$type": "color"
3716
3716
  },
3717
3717
  "dark-high-contrast": {
3718
- "$value": "{base.color.neutral.6}",
3718
+ "$value": "{base.color.neutral.9}",
3719
3719
  "alpha": 1,
3720
3720
  "filePath": "src/tokens/functional/color/borderColor.json5",
3721
3721
  "isSource": true,
@@ -3737,7 +3737,7 @@
3737
3737
  "org.primer.figma": {
3738
3738
  "collection": "mode",
3739
3739
  "group": "semantic",
3740
- "scopes": ["borderColor"]
3740
+ "scopes": ["borderColor", "effectColor"]
3741
3741
  }
3742
3742
  },
3743
3743
  "filePath": "src/tokens/functional/color/borderColor.json5",
@@ -3749,7 +3749,7 @@
3749
3749
  "org.primer.figma": {
3750
3750
  "collection": "mode",
3751
3751
  "group": "semantic",
3752
- "scopes": ["borderColor"]
3752
+ "scopes": ["borderColor", "effectColor"]
3753
3753
  }
3754
3754
  }
3755
3755
  },
@@ -4178,6 +4178,13 @@
4178
4178
  "filePath": "src/tokens/component/button.json5",
4179
4179
  "isSource": true,
4180
4180
  "$type": "color"
4181
+ },
4182
+ "light-high-contrast": {
4183
+ "$value": "#8e1519",
4184
+ "alpha": 1,
4185
+ "filePath": "src/tokens/component/button.json5",
4186
+ "isSource": true,
4187
+ "$type": "color"
4181
4188
  }
4182
4189
  }
4183
4190
  },
@@ -4205,6 +4212,13 @@
4205
4212
  "filePath": "src/tokens/component/button.json5",
4206
4213
  "isSource": true,
4207
4214
  "$type": "color"
4215
+ },
4216
+ "light-high-contrast": {
4217
+ "$value": "{base.color.red.7}",
4218
+ "alpha": 1,
4219
+ "filePath": "src/tokens/component/button.json5",
4220
+ "isSource": true,
4221
+ "$type": "color"
4208
4222
  }
4209
4223
  }
4210
4224
  }
@@ -10738,8 +10752,6 @@
10738
10752
  "scopes": ["bgColor"]
10739
10753
  },
10740
10754
  "org.primer.overrides": {
10741
- "dark-high-contrast": "#212830",
10742
- "light-high-contrast": "#212830",
10743
10755
  "dark-dimmed": "#2a313c"
10744
10756
  }
10745
10757
  },
@@ -10755,8 +10767,6 @@
10755
10767
  "scopes": ["bgColor"]
10756
10768
  },
10757
10769
  "org.primer.overrides": {
10758
- "dark-high-contrast": "{base.color.neutral.3}",
10759
- "light-high-contrast": "{base.color.neutral.3}",
10760
10770
  "dark-dimmed": "{base.color.neutral.5}"
10761
10771
  }
10762
10772
  }
@@ -10920,16 +10930,6 @@
10920
10930
  "filePath": "src/tokens/component/contribution.json5",
10921
10931
  "isSource": true,
10922
10932
  "$type": "color"
10923
- },
10924
- "dark-high-contrast": {
10925
- "$value": "#ffffff",
10926
- "alpha": 1,
10927
- "filePath": "src/tokens/component/contribution.json5",
10928
- "isSource": true,
10929
- "$type": "color"
10930
- },
10931
- "light-high-contrast": {
10932
- "alpha": 1
10933
10933
  }
10934
10934
  }
10935
10935
  },
@@ -10959,16 +10959,6 @@
10959
10959
  "filePath": "src/tokens/component/contribution.json5",
10960
10960
  "isSource": true,
10961
10961
  "$type": "color"
10962
- },
10963
- "dark-high-contrast": {
10964
- "$value": "{base.color.white}",
10965
- "alpha": 1,
10966
- "filePath": "src/tokens/component/contribution.json5",
10967
- "isSource": true,
10968
- "$type": "color"
10969
- },
10970
- "light-high-contrast": {
10971
- "alpha": 1
10972
10962
  }
10973
10963
  }
10974
10964
  }
@@ -11002,16 +10992,6 @@
11002
10992
  "filePath": "src/tokens/component/contribution.json5",
11003
10993
  "isSource": true,
11004
10994
  "$type": "color"
11005
- },
11006
- "dark-high-contrast": {
11007
- "$value": "#ffffff",
11008
- "alpha": 1,
11009
- "filePath": "src/tokens/component/contribution.json5",
11010
- "isSource": true,
11011
- "$type": "color"
11012
- },
11013
- "light-high-contrast": {
11014
- "alpha": 1
11015
10995
  }
11016
10996
  }
11017
10997
  },
@@ -11041,16 +11021,6 @@
11041
11021
  "filePath": "src/tokens/component/contribution.json5",
11042
11022
  "isSource": true,
11043
11023
  "$type": "color"
11044
- },
11045
- "dark-high-contrast": {
11046
- "$value": "{base.color.white}",
11047
- "alpha": 1,
11048
- "filePath": "src/tokens/component/contribution.json5",
11049
- "isSource": true,
11050
- "$type": "color"
11051
- },
11052
- "light-high-contrast": {
11053
- "alpha": 1
11054
11024
  }
11055
11025
  }
11056
11026
  }
@@ -11084,16 +11054,6 @@
11084
11054
  "filePath": "src/tokens/component/contribution.json5",
11085
11055
  "isSource": true,
11086
11056
  "$type": "color"
11087
- },
11088
- "dark-high-contrast": {
11089
- "$value": "#ffffff",
11090
- "alpha": 1,
11091
- "filePath": "src/tokens/component/contribution.json5",
11092
- "isSource": true,
11093
- "$type": "color"
11094
- },
11095
- "light-high-contrast": {
11096
- "alpha": 1
11097
11057
  }
11098
11058
  }
11099
11059
  },
@@ -11123,16 +11083,6 @@
11123
11083
  "filePath": "src/tokens/component/contribution.json5",
11124
11084
  "isSource": true,
11125
11085
  "$type": "color"
11126
- },
11127
- "dark-high-contrast": {
11128
- "$value": "{base.color.white}",
11129
- "alpha": 1,
11130
- "filePath": "src/tokens/component/contribution.json5",
11131
- "isSource": true,
11132
- "$type": "color"
11133
- },
11134
- "light-high-contrast": {
11135
- "alpha": 1
11136
11086
  }
11137
11087
  }
11138
11088
  }
@@ -11166,16 +11116,6 @@
11166
11116
  "filePath": "src/tokens/component/contribution.json5",
11167
11117
  "isSource": true,
11168
11118
  "$type": "color"
11169
- },
11170
- "dark-high-contrast": {
11171
- "$value": "#ffffff",
11172
- "alpha": 1,
11173
- "filePath": "src/tokens/component/contribution.json5",
11174
- "isSource": true,
11175
- "$type": "color"
11176
- },
11177
- "light-high-contrast": {
11178
- "alpha": 1
11179
11119
  }
11180
11120
  }
11181
11121
  },
@@ -11205,16 +11145,6 @@
11205
11145
  "filePath": "src/tokens/component/contribution.json5",
11206
11146
  "isSource": true,
11207
11147
  "$type": "color"
11208
- },
11209
- "dark-high-contrast": {
11210
- "$value": "{base.color.white}",
11211
- "alpha": 1,
11212
- "filePath": "src/tokens/component/contribution.json5",
11213
- "isSource": true,
11214
- "$type": "color"
11215
- },
11216
- "light-high-contrast": {
11217
- "alpha": 1
11218
11148
  }
11219
11149
  }
11220
11150
  }
@@ -11248,16 +11178,6 @@
11248
11178
  "filePath": "src/tokens/component/contribution.json5",
11249
11179
  "isSource": true,
11250
11180
  "$type": "color"
11251
- },
11252
- "dark-high-contrast": {
11253
- "$value": "#ffffff",
11254
- "alpha": 1,
11255
- "filePath": "src/tokens/component/contribution.json5",
11256
- "isSource": true,
11257
- "$type": "color"
11258
- },
11259
- "light-high-contrast": {
11260
- "alpha": 1
11261
11181
  }
11262
11182
  }
11263
11183
  },
@@ -11287,16 +11207,6 @@
11287
11207
  "filePath": "src/tokens/component/contribution.json5",
11288
11208
  "isSource": true,
11289
11209
  "$type": "color"
11290
- },
11291
- "dark-high-contrast": {
11292
- "$value": "{base.color.white}",
11293
- "alpha": 1,
11294
- "filePath": "src/tokens/component/contribution.json5",
11295
- "isSource": true,
11296
- "$type": "color"
11297
- },
11298
- "light-high-contrast": {
11299
- "alpha": 1
11300
11210
  }
11301
11211
  }
11302
11212
  }
@@ -12793,6 +12703,12 @@
12793
12703
  "filePath": "src/tokens/functional/color/control.json5",
12794
12704
  "isSource": true,
12795
12705
  "$type": "color"
12706
+ },
12707
+ "dark-high-contrast": {
12708
+ "$value": "#ffffff",
12709
+ "filePath": "src/tokens/functional/color/control.json5",
12710
+ "isSource": true,
12711
+ "$type": "color"
12796
12712
  }
12797
12713
  }
12798
12714
  },
@@ -12815,6 +12731,12 @@
12815
12731
  "filePath": "src/tokens/functional/color/control.json5",
12816
12732
  "isSource": true,
12817
12733
  "$type": "color"
12734
+ },
12735
+ "dark-high-contrast": {
12736
+ "$value": "{fgColor.onEmphasis}",
12737
+ "filePath": "src/tokens/functional/color/control.json5",
12738
+ "isSource": true,
12739
+ "$type": "color"
12818
12740
  }
12819
12741
  }
12820
12742
  }