@primer/primitives 10.5.0 → 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 (29) hide show
  1. package/README.md +4 -4
  2. package/dist/css/functional/themes/dark-high-contrast.css +4 -4
  3. package/dist/css/functional/themes/light-high-contrast.css +4 -4
  4. package/dist/docs/functional/themes/dark-colorblind.json +28 -2
  5. package/dist/docs/functional/themes/dark-dimmed.json +28 -2
  6. package/dist/docs/functional/themes/dark-high-contrast.json +32 -6
  7. package/dist/docs/functional/themes/dark-tritanopia.json +28 -2
  8. package/dist/docs/functional/themes/dark.json +28 -2
  9. package/dist/docs/functional/themes/light-colorblind.json +28 -2
  10. package/dist/docs/functional/themes/light-high-contrast.json +35 -7
  11. package/dist/docs/functional/themes/light-tritanopia.json +28 -2
  12. package/dist/docs/functional/themes/light.json +28 -2
  13. package/dist/figma/themes/dark-high-contrast.json +7 -7
  14. package/dist/figma/themes/light-high-contrast.json +8 -7
  15. package/dist/internalCss/dark-high-contrast.css +4 -4
  16. package/dist/internalCss/light-high-contrast.css +4 -4
  17. package/dist/styleLint/functional/themes/dark-colorblind.json +28 -2
  18. package/dist/styleLint/functional/themes/dark-dimmed.json +28 -2
  19. package/dist/styleLint/functional/themes/dark-high-contrast.json +32 -6
  20. package/dist/styleLint/functional/themes/dark-tritanopia.json +28 -2
  21. package/dist/styleLint/functional/themes/dark.json +28 -2
  22. package/dist/styleLint/functional/themes/light-colorblind.json +28 -2
  23. package/dist/styleLint/functional/themes/light-high-contrast.json +35 -7
  24. package/dist/styleLint/functional/themes/light-tritanopia.json +28 -2
  25. package/dist/styleLint/functional/themes/light.json +28 -2
  26. package/package.json +1 -1
  27. package/src/tokens/component/button.json5 +4 -0
  28. package/src/tokens/functional/color/borderColor.json5 +1 -1
  29. 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;
@@ -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;
@@ -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;
@@ -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;
@@ -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);
@@ -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,
@@ -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,
@@ -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
  }
@@ -12689,6 +12703,12 @@
12689
12703
  "filePath": "src/tokens/functional/color/control.json5",
12690
12704
  "isSource": true,
12691
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"
12692
12712
  }
12693
12713
  }
12694
12714
  },
@@ -12711,6 +12731,12 @@
12711
12731
  "filePath": "src/tokens/functional/color/control.json5",
12712
12732
  "isSource": true,
12713
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"
12714
12740
  }
12715
12741
  }
12716
12742
  }
@@ -3680,7 +3680,7 @@
3680
3680
  "$type": "color"
3681
3681
  },
3682
3682
  "dark-high-contrast": {
3683
- "$value": "#2f3742",
3683
+ "$value": "#9198a1",
3684
3684
  "alpha": 1,
3685
3685
  "filePath": "src/tokens/functional/color/borderColor.json5",
3686
3686
  "isSource": true,
@@ -3709,7 +3709,7 @@
3709
3709
  "$type": "color"
3710
3710
  },
3711
3711
  "dark-high-contrast": {
3712
- "$value": "{base.color.neutral.6}",
3712
+ "$value": "{base.color.neutral.9}",
3713
3713
  "alpha": 1,
3714
3714
  "filePath": "src/tokens/functional/color/borderColor.json5",
3715
3715
  "isSource": true,
@@ -4172,6 +4172,13 @@
4172
4172
  "filePath": "src/tokens/component/button.json5",
4173
4173
  "isSource": true,
4174
4174
  "$type": "color"
4175
+ },
4176
+ "light-high-contrast": {
4177
+ "$value": "#922323",
4178
+ "alpha": 1,
4179
+ "filePath": "src/tokens/component/button.json5",
4180
+ "isSource": true,
4181
+ "$type": "color"
4175
4182
  }
4176
4183
  }
4177
4184
  },
@@ -4199,6 +4206,13 @@
4199
4206
  "filePath": "src/tokens/component/button.json5",
4200
4207
  "isSource": true,
4201
4208
  "$type": "color"
4209
+ },
4210
+ "light-high-contrast": {
4211
+ "$value": "{base.color.red.7}",
4212
+ "alpha": 1,
4213
+ "filePath": "src/tokens/component/button.json5",
4214
+ "isSource": true,
4215
+ "$type": "color"
4202
4216
  }
4203
4217
  }
4204
4218
  }
@@ -12685,6 +12699,12 @@
12685
12699
  "filePath": "src/tokens/functional/color/control.json5",
12686
12700
  "isSource": true,
12687
12701
  "$type": "color"
12702
+ },
12703
+ "dark-high-contrast": {
12704
+ "$value": "#f0f6fc",
12705
+ "filePath": "src/tokens/functional/color/control.json5",
12706
+ "isSource": true,
12707
+ "$type": "color"
12688
12708
  }
12689
12709
  }
12690
12710
  },
@@ -12707,6 +12727,12 @@
12707
12727
  "filePath": "src/tokens/functional/color/control.json5",
12708
12728
  "isSource": true,
12709
12729
  "$type": "color"
12730
+ },
12731
+ "dark-high-contrast": {
12732
+ "$value": "{fgColor.onEmphasis}",
12733
+ "filePath": "src/tokens/functional/color/control.json5",
12734
+ "isSource": true,
12735
+ "$type": "color"
12710
12736
  }
12711
12737
  }
12712
12738
  }
@@ -3678,7 +3678,7 @@
3678
3678
  "$type": "color"
3679
3679
  },
3680
3680
  "dark-high-contrast": {
3681
- "$value": "#2f3742",
3681
+ "$value": "#9198a1",
3682
3682
  "alpha": 1,
3683
3683
  "filePath": "src/tokens/functional/color/borderColor.json5",
3684
3684
  "isSource": true,
@@ -3690,7 +3690,7 @@
3690
3690
  "filePath": "src/tokens/functional/color/borderColor.json5",
3691
3691
  "isSource": true,
3692
3692
  "original": {
3693
- "$value": "{base.color.neutral.6}",
3693
+ "$value": "{base.color.neutral.9}",
3694
3694
  "$type": "color",
3695
3695
  "$extensions": {
3696
3696
  "org.primer.figma": {
@@ -3707,7 +3707,7 @@
3707
3707
  "$type": "color"
3708
3708
  },
3709
3709
  "dark-high-contrast": {
3710
- "$value": "{base.color.neutral.6}",
3710
+ "$value": "{base.color.neutral.9}",
3711
3711
  "alpha": 1,
3712
3712
  "filePath": "src/tokens/functional/color/borderColor.json5",
3713
3713
  "isSource": true,
@@ -3721,7 +3721,7 @@
3721
3721
  "attributes": {},
3722
3722
  "path": ["borderColor", "translucent"],
3723
3723
  "key": "{borderColor.translucent}",
3724
- "value": "#2f3742",
3724
+ "value": "#9198a1",
3725
3725
  "type": "color"
3726
3726
  },
3727
3727
  "borderColor-transparent": {
@@ -4172,6 +4172,13 @@
4172
4172
  "filePath": "src/tokens/component/button.json5",
4173
4173
  "isSource": true,
4174
4174
  "$type": "color"
4175
+ },
4176
+ "light-high-contrast": {
4177
+ "$value": "#e82a2f",
4178
+ "alpha": 1,
4179
+ "filePath": "src/tokens/component/button.json5",
4180
+ "isSource": true,
4181
+ "$type": "color"
4175
4182
  }
4176
4183
  }
4177
4184
  },
@@ -4200,6 +4207,13 @@
4200
4207
  "filePath": "src/tokens/component/button.json5",
4201
4208
  "isSource": true,
4202
4209
  "$type": "color"
4210
+ },
4211
+ "light-high-contrast": {
4212
+ "$value": "{base.color.red.7}",
4213
+ "alpha": 1,
4214
+ "filePath": "src/tokens/component/button.json5",
4215
+ "isSource": true,
4216
+ "$type": "color"
4203
4217
  }
4204
4218
  }
4205
4219
  },
@@ -12697,13 +12711,19 @@
12697
12711
  "filePath": "src/tokens/functional/color/control.json5",
12698
12712
  "isSource": true,
12699
12713
  "$type": "color"
12714
+ },
12715
+ "dark-high-contrast": {
12716
+ "$value": "#ffffff",
12717
+ "filePath": "src/tokens/functional/color/control.json5",
12718
+ "isSource": true,
12719
+ "$type": "color"
12700
12720
  }
12701
12721
  }
12702
12722
  },
12703
12723
  "filePath": "src/tokens/functional/color/control.json5",
12704
12724
  "isSource": true,
12705
12725
  "original": {
12706
- "$value": "{base.color.red.3}",
12726
+ "$value": "{fgColor.onEmphasis}",
12707
12727
  "$type": "color",
12708
12728
  "$extensions": {
12709
12729
  "org.primer.figma": {
@@ -12719,6 +12739,12 @@
12719
12739
  "filePath": "src/tokens/functional/color/control.json5",
12720
12740
  "isSource": true,
12721
12741
  "$type": "color"
12742
+ },
12743
+ "dark-high-contrast": {
12744
+ "$value": "{fgColor.onEmphasis}",
12745
+ "filePath": "src/tokens/functional/color/control.json5",
12746
+ "isSource": true,
12747
+ "$type": "color"
12722
12748
  }
12723
12749
  }
12724
12750
  }
@@ -12727,7 +12753,7 @@
12727
12753
  "attributes": {},
12728
12754
  "path": ["control", "danger", "fgColor", "hover"],
12729
12755
  "key": "{control.danger.fgColor.hover}",
12730
- "value": "#ff9492",
12756
+ "value": "#ffffff",
12731
12757
  "type": "color"
12732
12758
  },
12733
12759
  "control-danger-fgColor-rest": {
@@ -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,
@@ -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,
@@ -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
  }
@@ -12689,6 +12703,12 @@
12689
12703
  "filePath": "src/tokens/functional/color/control.json5",
12690
12704
  "isSource": true,
12691
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"
12692
12712
  }
12693
12713
  }
12694
12714
  },
@@ -12711,6 +12731,12 @@
12711
12731
  "filePath": "src/tokens/functional/color/control.json5",
12712
12732
  "isSource": true,
12713
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"
12714
12740
  }
12715
12741
  }
12716
12742
  }
@@ -3678,7 +3678,7 @@
3678
3678
  "$type": "color"
3679
3679
  },
3680
3680
  "dark-high-contrast": {
3681
- "$value": "#2f3742",
3681
+ "$value": "#9198a1",
3682
3682
  "alpha": 1,
3683
3683
  "filePath": "src/tokens/functional/color/borderColor.json5",
3684
3684
  "isSource": true,
@@ -3707,7 +3707,7 @@
3707
3707
  "$type": "color"
3708
3708
  },
3709
3709
  "dark-high-contrast": {
3710
- "$value": "{base.color.neutral.6}",
3710
+ "$value": "{base.color.neutral.9}",
3711
3711
  "alpha": 1,
3712
3712
  "filePath": "src/tokens/functional/color/borderColor.json5",
3713
3713
  "isSource": true,
@@ -4170,6 +4170,13 @@
4170
4170
  "filePath": "src/tokens/component/button.json5",
4171
4171
  "isSource": true,
4172
4172
  "$type": "color"
4173
+ },
4174
+ "light-high-contrast": {
4175
+ "$value": "#8e1519",
4176
+ "alpha": 1,
4177
+ "filePath": "src/tokens/component/button.json5",
4178
+ "isSource": true,
4179
+ "$type": "color"
4173
4180
  }
4174
4181
  }
4175
4182
  },
@@ -4197,6 +4204,13 @@
4197
4204
  "filePath": "src/tokens/component/button.json5",
4198
4205
  "isSource": true,
4199
4206
  "$type": "color"
4207
+ },
4208
+ "light-high-contrast": {
4209
+ "$value": "{base.color.red.7}",
4210
+ "alpha": 1,
4211
+ "filePath": "src/tokens/component/button.json5",
4212
+ "isSource": true,
4213
+ "$type": "color"
4200
4214
  }
4201
4215
  }
4202
4216
  }
@@ -12681,6 +12695,12 @@
12681
12695
  "filePath": "src/tokens/functional/color/control.json5",
12682
12696
  "isSource": true,
12683
12697
  "$type": "color"
12698
+ },
12699
+ "dark-high-contrast": {
12700
+ "$value": "#ffffff",
12701
+ "filePath": "src/tokens/functional/color/control.json5",
12702
+ "isSource": true,
12703
+ "$type": "color"
12684
12704
  }
12685
12705
  }
12686
12706
  },
@@ -12703,6 +12723,12 @@
12703
12723
  "filePath": "src/tokens/functional/color/control.json5",
12704
12724
  "isSource": true,
12705
12725
  "$type": "color"
12726
+ },
12727
+ "dark-high-contrast": {
12728
+ "$value": "{fgColor.onEmphasis}",
12729
+ "filePath": "src/tokens/functional/color/control.json5",
12730
+ "isSource": true,
12731
+ "$type": "color"
12706
12732
  }
12707
12733
  }
12708
12734
  }
@@ -3666,7 +3666,7 @@
3666
3666
  "$type": "color"
3667
3667
  },
3668
3668
  "dark-high-contrast": {
3669
- "$value": "#d1d9e0",
3669
+ "$value": "#59636e",
3670
3670
  "alpha": 1,
3671
3671
  "filePath": "src/tokens/functional/color/borderColor.json5",
3672
3672
  "isSource": true,
@@ -3695,7 +3695,7 @@
3695
3695
  "$type": "color"
3696
3696
  },
3697
3697
  "dark-high-contrast": {
3698
- "$value": "{base.color.neutral.6}",
3698
+ "$value": "{base.color.neutral.9}",
3699
3699
  "alpha": 1,
3700
3700
  "filePath": "src/tokens/functional/color/borderColor.json5",
3701
3701
  "isSource": true,
@@ -4158,6 +4158,13 @@
4158
4158
  "filePath": "src/tokens/component/button.json5",
4159
4159
  "isSource": true,
4160
4160
  "$type": "color"
4161
+ },
4162
+ "light-high-contrast": {
4163
+ "$value": "#82071e",
4164
+ "alpha": 1,
4165
+ "filePath": "src/tokens/component/button.json5",
4166
+ "isSource": true,
4167
+ "$type": "color"
4161
4168
  }
4162
4169
  }
4163
4170
  },
@@ -4185,6 +4192,13 @@
4185
4192
  "filePath": "src/tokens/component/button.json5",
4186
4193
  "isSource": true,
4187
4194
  "$type": "color"
4195
+ },
4196
+ "light-high-contrast": {
4197
+ "$value": "{base.color.red.7}",
4198
+ "alpha": 1,
4199
+ "filePath": "src/tokens/component/button.json5",
4200
+ "isSource": true,
4201
+ "$type": "color"
4188
4202
  }
4189
4203
  }
4190
4204
  }
@@ -12671,6 +12685,12 @@
12671
12685
  "filePath": "src/tokens/functional/color/control.json5",
12672
12686
  "isSource": true,
12673
12687
  "$type": "color"
12688
+ },
12689
+ "dark-high-contrast": {
12690
+ "$value": "#ffffff",
12691
+ "filePath": "src/tokens/functional/color/control.json5",
12692
+ "isSource": true,
12693
+ "$type": "color"
12674
12694
  }
12675
12695
  }
12676
12696
  },
@@ -12693,6 +12713,12 @@
12693
12713
  "filePath": "src/tokens/functional/color/control.json5",
12694
12714
  "isSource": true,
12695
12715
  "$type": "color"
12716
+ },
12717
+ "dark-high-contrast": {
12718
+ "$value": "{fgColor.onEmphasis}",
12719
+ "filePath": "src/tokens/functional/color/control.json5",
12720
+ "isSource": true,
12721
+ "$type": "color"
12696
12722
  }
12697
12723
  }
12698
12724
  }