@primer/primitives 9.0.1 → 9.0.2-rc.758febf5

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 (28) hide show
  1. package/dist/css/functional/themes/dark-colorblind.css +4 -4
  2. package/dist/css/functional/themes/dark-dimmed.css +4 -4
  3. package/dist/css/functional/themes/dark-high-contrast.css +6 -6
  4. package/dist/css/functional/themes/dark-tritanopia.css +4 -4
  5. package/dist/css/functional/themes/dark.css +4 -4
  6. package/dist/docs/functional/themes/dark-colorblind.json +12 -4
  7. package/dist/docs/functional/themes/dark-dimmed.json +12 -4
  8. package/dist/docs/functional/themes/dark-high-contrast.json +15 -15
  9. package/dist/docs/functional/themes/dark-tritanopia.json +12 -4
  10. package/dist/docs/functional/themes/dark.json +12 -4
  11. package/dist/figma/themes/dark-colorblind.json +21 -20
  12. package/dist/figma/themes/dark-dimmed.json +21 -20
  13. package/dist/figma/themes/dark-high-contrast.json +10 -11
  14. package/dist/figma/themes/dark-tritanopia.json +21 -20
  15. package/dist/figma/themes/dark.json +21 -20
  16. package/dist/internalCss/dark-colorblind.css +4 -4
  17. package/dist/internalCss/dark-dimmed.css +4 -4
  18. package/dist/internalCss/dark-high-contrast.css +6 -6
  19. package/dist/internalCss/dark-tritanopia.css +4 -4
  20. package/dist/internalCss/dark.css +4 -4
  21. package/dist/styleLint/functional/themes/dark-colorblind.json +12 -4
  22. package/dist/styleLint/functional/themes/dark-dimmed.json +12 -4
  23. package/dist/styleLint/functional/themes/dark-high-contrast.json +15 -15
  24. package/dist/styleLint/functional/themes/dark-tritanopia.json +12 -4
  25. package/dist/styleLint/functional/themes/dark.json +12 -4
  26. package/package.json +1 -1
  27. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +2 -6
  28. package/src/tokens/functional/color/dark/patterns-dark.json5 +6 -2
@@ -264,11 +264,11 @@
264
264
  --button-outline-borderColor-hover: #3d444d;
265
265
  --button-outline-borderColor-selected: #3d444d;
266
266
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #db6d28;
267
+ --button-danger-fgColor-rest: #fa5e55;
268
268
  --button-danger-fgColor-hover: #ffffff;
269
269
  --button-danger-fgColor-active: #ffffff;
270
270
  --button-danger-fgColor-disabled: #db6d2880;
271
- --button-danger-iconColor-rest: #db6d28;
271
+ --button-danger-iconColor-rest: #fa5e55;
272
272
  --button-danger-iconColor-hover: #ffffff;
273
273
  --button-danger-bgColor-rest: #212830;
274
274
  --button-danger-bgColor-hover: #9b4215;
@@ -833,11 +833,11 @@
833
833
  --button-outline-borderColor-hover: #3d444d;
834
834
  --button-outline-borderColor-selected: #3d444d;
835
835
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #db6d28;
836
+ --button-danger-fgColor-rest: #fa5e55;
837
837
  --button-danger-fgColor-hover: #ffffff;
838
838
  --button-danger-fgColor-active: #ffffff;
839
839
  --button-danger-fgColor-disabled: #db6d2880;
840
- --button-danger-iconColor-rest: #db6d28;
840
+ --button-danger-iconColor-rest: #fa5e55;
841
841
  --button-danger-iconColor-hover: #ffffff;
842
842
  --button-danger-bgColor-rest: #212830;
843
843
  --button-danger-bgColor-hover: #9b4215;
@@ -264,11 +264,11 @@
264
264
  --button-outline-borderColor-hover: #3d444d;
265
265
  --button-outline-borderColor-selected: #3d444d;
266
266
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #e5534b;
267
+ --button-danger-fgColor-rest: #ea5c53;
268
268
  --button-danger-fgColor-hover: #cdd9e5;
269
269
  --button-danger-fgColor-active: #cdd9e5;
270
270
  --button-danger-fgColor-disabled: #e5534b80;
271
- --button-danger-iconColor-rest: #e5534b;
271
+ --button-danger-iconColor-rest: #ea5c53;
272
272
  --button-danger-iconColor-hover: #cdd9e5;
273
273
  --button-danger-bgColor-rest: #2a313c;
274
274
  --button-danger-bgColor-hover: #ad2e2c;
@@ -833,11 +833,11 @@
833
833
  --button-outline-borderColor-hover: #3d444d;
834
834
  --button-outline-borderColor-selected: #3d444d;
835
835
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #e5534b;
836
+ --button-danger-fgColor-rest: #ea5c53;
837
837
  --button-danger-fgColor-hover: #cdd9e5;
838
838
  --button-danger-fgColor-active: #cdd9e5;
839
839
  --button-danger-fgColor-disabled: #e5534b80;
840
- --button-danger-iconColor-rest: #e5534b;
840
+ --button-danger-iconColor-rest: #ea5c53;
841
841
  --button-danger-iconColor-hover: #cdd9e5;
842
842
  --button-danger-bgColor-rest: #2a313c;
843
843
  --button-danger-bgColor-hover: #ad2e2c;
@@ -264,15 +264,15 @@
264
264
  --button-outline-borderColor-hover: #b7bdc8;
265
265
  --button-outline-borderColor-selected: #b7bdc8;
266
266
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #ff9492;
267
+ --button-danger-fgColor-rest: #ffa8a6;
268
268
  --button-danger-fgColor-hover: #ffffff;
269
269
  --button-danger-fgColor-active: #ffffff;
270
270
  --button-danger-fgColor-disabled: #ff949280;
271
- --button-danger-iconColor-rest: #ff9492;
271
+ --button-danger-iconColor-rest: #ffa8a6;
272
272
  --button-danger-iconColor-hover: #ffffff;
273
273
  --button-danger-bgColor-rest: #262c36;
274
274
  --button-danger-bgColor-hover: #ad0116;
275
- --button-danger-bgColor-active: #c51120;
275
+ --button-danger-bgColor-active: #ad0116;
276
276
  --button-danger-bgColor-disabled: #262c36;
277
277
  --button-danger-borderColor-rest: #b7bdc8;
278
278
  --button-danger-borderColor-hover: #ffb1af;
@@ -833,15 +833,15 @@
833
833
  --button-outline-borderColor-hover: #b7bdc8;
834
834
  --button-outline-borderColor-selected: #b7bdc8;
835
835
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #ff9492;
836
+ --button-danger-fgColor-rest: #ffa8a6;
837
837
  --button-danger-fgColor-hover: #ffffff;
838
838
  --button-danger-fgColor-active: #ffffff;
839
839
  --button-danger-fgColor-disabled: #ff949280;
840
- --button-danger-iconColor-rest: #ff9492;
840
+ --button-danger-iconColor-rest: #ffa8a6;
841
841
  --button-danger-iconColor-hover: #ffffff;
842
842
  --button-danger-bgColor-rest: #262c36;
843
843
  --button-danger-bgColor-hover: #ad0116;
844
- --button-danger-bgColor-active: #c51120;
844
+ --button-danger-bgColor-active: #ad0116;
845
845
  --button-danger-bgColor-disabled: #262c36;
846
846
  --button-danger-borderColor-rest: #b7bdc8;
847
847
  --button-danger-borderColor-hover: #ffb1af;
@@ -264,11 +264,11 @@
264
264
  --button-outline-borderColor-hover: #3d444d;
265
265
  --button-outline-borderColor-selected: #3d444d;
266
266
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #f85149;
267
+ --button-danger-fgColor-rest: #fa5e55;
268
268
  --button-danger-fgColor-hover: #ffffff;
269
269
  --button-danger-fgColor-active: #ffffff;
270
270
  --button-danger-fgColor-disabled: #f8514980;
271
- --button-danger-iconColor-rest: #f85149;
271
+ --button-danger-iconColor-rest: #fa5e55;
272
272
  --button-danger-iconColor-hover: #ffffff;
273
273
  --button-danger-bgColor-rest: #212830;
274
274
  --button-danger-bgColor-hover: #b62324;
@@ -833,11 +833,11 @@
833
833
  --button-outline-borderColor-hover: #3d444d;
834
834
  --button-outline-borderColor-selected: #3d444d;
835
835
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #f85149;
836
+ --button-danger-fgColor-rest: #fa5e55;
837
837
  --button-danger-fgColor-hover: #ffffff;
838
838
  --button-danger-fgColor-active: #ffffff;
839
839
  --button-danger-fgColor-disabled: #f8514980;
840
- --button-danger-iconColor-rest: #f85149;
840
+ --button-danger-iconColor-rest: #fa5e55;
841
841
  --button-danger-iconColor-hover: #ffffff;
842
842
  --button-danger-bgColor-rest: #212830;
843
843
  --button-danger-bgColor-hover: #b62324;
@@ -264,11 +264,11 @@
264
264
  --button-outline-borderColor-hover: #3d444d;
265
265
  --button-outline-borderColor-selected: #3d444d;
266
266
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #f85149;
267
+ --button-danger-fgColor-rest: #fa5e55;
268
268
  --button-danger-fgColor-hover: #ffffff;
269
269
  --button-danger-fgColor-active: #ffffff;
270
270
  --button-danger-fgColor-disabled: #f8514980;
271
- --button-danger-iconColor-rest: #f85149;
271
+ --button-danger-iconColor-rest: #fa5e55;
272
272
  --button-danger-iconColor-hover: #ffffff;
273
273
  --button-danger-bgColor-rest: #212830;
274
274
  --button-danger-bgColor-hover: #b62324;
@@ -833,11 +833,11 @@
833
833
  --button-outline-borderColor-hover: #3d444d;
834
834
  --button-outline-borderColor-selected: #3d444d;
835
835
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #f85149;
836
+ --button-danger-fgColor-rest: #fa5e55;
837
837
  --button-danger-fgColor-hover: #ffffff;
838
838
  --button-danger-fgColor-active: #ffffff;
839
839
  --button-danger-fgColor-disabled: #f8514980;
840
- --button-danger-iconColor-rest: #f85149;
840
+ --button-danger-iconColor-rest: #fa5e55;
841
841
  --button-danger-iconColor-hover: #ffffff;
842
842
  --button-danger-bgColor-rest: #212830;
843
843
  --button-danger-bgColor-hover: #b62324;
@@ -7701,7 +7701,7 @@
7701
7701
  "path": ["button", "outline", "shadow", "selected"]
7702
7702
  },
7703
7703
  "button-danger-fgColor-rest": {
7704
- "value": "#db6d28",
7704
+ "value": "#fa5e55",
7705
7705
  "$type": "color",
7706
7706
  "$extensions": {
7707
7707
  "org.primer.figma": {
@@ -7711,10 +7711,14 @@
7711
7711
  "scopes": ["fgColor"]
7712
7712
  }
7713
7713
  },
7714
+ "mix": {
7715
+ "color": "#ff7b72",
7716
+ "weight": 0.3
7717
+ },
7714
7718
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7715
7719
  "isSource": true,
7716
7720
  "original": {
7717
- "value": "{fgColor.danger}",
7721
+ "value": "{base.color.red.4}",
7718
7722
  "$type": "color",
7719
7723
  "$extensions": {
7720
7724
  "org.primer.figma": {
@@ -7723,6 +7727,10 @@
7723
7727
  "group": "component (internal)",
7724
7728
  "scopes": ["fgColor"]
7725
7729
  }
7730
+ },
7731
+ "mix": {
7732
+ "color": "{base.color.red.3}",
7733
+ "weight": 0.3
7726
7734
  }
7727
7735
  },
7728
7736
  "name": "button-danger-fgColor-rest",
@@ -7819,7 +7827,7 @@
7819
7827
  "path": ["button", "danger", "fgColor", "disabled"]
7820
7828
  },
7821
7829
  "button-danger-iconColor-rest": {
7822
- "value": "#db6d28",
7830
+ "value": "#fa5e55",
7823
7831
  "$type": "color",
7824
7832
  "$extensions": {
7825
7833
  "org.primer.figma": {
@@ -7832,7 +7840,7 @@
7832
7840
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7833
7841
  "isSource": true,
7834
7842
  "original": {
7835
- "value": "{fgColor.danger}",
7843
+ "value": "{button.danger.fgColor.rest}",
7836
7844
  "$type": "color",
7837
7845
  "$extensions": {
7838
7846
  "org.primer.figma": {
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#e5534b",
7710
+ "value": "#ea5c53",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#f47067",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#e5534b",
7836
+ "value": "#ea5c53",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
@@ -7739,7 +7739,7 @@
7739
7739
  "path": ["button", "outline", "shadow", "selected"]
7740
7740
  },
7741
7741
  "button-danger-fgColor-rest": {
7742
- "value": "#ff9492",
7742
+ "value": "#ffa8a6",
7743
7743
  "$type": "color",
7744
7744
  "$extensions": {
7745
7745
  "org.primer.figma": {
@@ -7749,10 +7749,14 @@
7749
7749
  "scopes": ["fgColor"]
7750
7750
  }
7751
7751
  },
7752
+ "mix": {
7753
+ "color": "#ff9492",
7754
+ "weight": 0.3
7755
+ },
7752
7756
  "filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
7753
7757
  "isSource": true,
7754
7758
  "original": {
7755
- "value": "{base.color.red.3}",
7759
+ "value": "{base.color.red.2}",
7756
7760
  "$type": "color",
7757
7761
  "$extensions": {
7758
7762
  "org.primer.figma": {
@@ -7761,6 +7765,10 @@
7761
7765
  "group": "component (internal)",
7762
7766
  "scopes": ["fgColor"]
7763
7767
  }
7768
+ },
7769
+ "mix": {
7770
+ "color": "{base.color.red.3}",
7771
+ "weight": 0.3
7764
7772
  }
7765
7773
  },
7766
7774
  "name": "button-danger-fgColor-rest",
@@ -7857,7 +7865,7 @@
7857
7865
  "path": ["button", "danger", "fgColor", "disabled"]
7858
7866
  },
7859
7867
  "button-danger-iconColor-rest": {
7860
- "value": "#ff9492",
7868
+ "value": "#ffa8a6",
7861
7869
  "$type": "color",
7862
7870
  "$extensions": {
7863
7871
  "org.primer.figma": {
@@ -7870,7 +7878,7 @@
7870
7878
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7871
7879
  "isSource": true,
7872
7880
  "original": {
7873
- "value": "{fgColor.danger}",
7881
+ "value": "{button.danger.fgColor.rest}",
7874
7882
  "$type": "color",
7875
7883
  "$extensions": {
7876
7884
  "org.primer.figma": {
@@ -7973,7 +7981,7 @@
7973
7981
  "path": ["button", "danger", "bgColor", "hover"]
7974
7982
  },
7975
7983
  "button-danger-bgColor-active": {
7976
- "value": "#c51120",
7984
+ "value": "#ad0116",
7977
7985
  "$type": "color",
7978
7986
  "$extensions": {
7979
7987
  "org.primer.figma": {
@@ -7983,13 +7991,9 @@
7983
7991
  "scopes": ["bgColor"]
7984
7992
  }
7985
7993
  },
7986
- "mix": {
7987
- "color": "#e82a2f",
7988
- "weight": 0.4
7989
- },
7994
+ "mix": null,
7990
7995
  "filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
7991
7996
  "isSource": true,
7992
- "alpha": 1,
7993
7997
  "original": {
7994
7998
  "value": "{bgColor.danger.emphasis}",
7995
7999
  "$type": "color",
@@ -8001,11 +8005,7 @@
8001
8005
  "scopes": ["bgColor"]
8002
8006
  }
8003
8007
  },
8004
- "mix": {
8005
- "color": "{base.color.red.7}",
8006
- "weight": 0.4
8007
- },
8008
- "alpha": 1
8008
+ "mix": null
8009
8009
  },
8010
8010
  "name": "button-danger-bgColor-active",
8011
8011
  "attributes": {},
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#f85149",
7710
+ "value": "#fa5e55",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#ff7b72",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#f85149",
7836
+ "value": "#fa5e55",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#f85149",
7710
+ "value": "#fa5e55",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#ff7b72",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#f85149",
7836
+ "value": "#fa5e55",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
@@ -3975,6 +3975,23 @@
3975
3975
  "group": "component (internal)",
3976
3976
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3977
3977
  },
3978
+ {
3979
+ "name": "button/danger/fgColor/rest",
3980
+ "value": {
3981
+ "r": 0.9803921568627451,
3982
+ "g": 0.3686274509803922,
3983
+ "b": 0.3333333333333333,
3984
+ "a": 1
3985
+ },
3986
+ "type": "COLOR",
3987
+ "isMix": true,
3988
+ "refId": "mode/button/danger/fgColor/rest",
3989
+ "reference": "base/color/dark/base/color/red/4",
3990
+ "collection": "mode",
3991
+ "mode": "dark colorblind",
3992
+ "group": "component (internal)",
3993
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3994
+ },
3978
3995
  {
3979
3996
  "name": "button/outline/shadow/selected/offsetX",
3980
3997
  "value": 0,
@@ -7741,14 +7758,14 @@
7741
7758
  {
7742
7759
  "name": "button/danger/iconColor/rest",
7743
7760
  "value": {
7744
- "r": 0.8588235294117647,
7745
- "g": 0.42745098039215684,
7746
- "b": 0.1568627450980392,
7761
+ "r": 0.9803921568627451,
7762
+ "g": 0.3686274509803922,
7763
+ "b": 0.3333333333333333,
7747
7764
  "a": 1
7748
7765
  },
7749
7766
  "type": "COLOR",
7750
7767
  "refId": "mode/button/danger/iconColor/rest",
7751
- "reference": "mode/fgColor/danger",
7768
+ "reference": "mode/button/danger/fgColor/rest",
7752
7769
  "collection": "mode",
7753
7770
  "mode": "dark colorblind",
7754
7771
  "group": "component (internal)",
@@ -7803,22 +7820,6 @@
7803
7820
  "group": "component (internal)",
7804
7821
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7805
7822
  },
7806
- {
7807
- "name": "button/danger/fgColor/rest",
7808
- "value": {
7809
- "r": 0.8588235294117647,
7810
- "g": 0.42745098039215684,
7811
- "b": 0.1568627450980392,
7812
- "a": 1
7813
- },
7814
- "type": "COLOR",
7815
- "refId": "mode/button/danger/fgColor/rest",
7816
- "reference": "mode/fgColor/danger",
7817
- "collection": "mode",
7818
- "mode": "dark colorblind",
7819
- "group": "component (internal)",
7820
- "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7821
- },
7822
7823
  {
7823
7824
  "name": "button/outline/bgColor/hover",
7824
7825
  "value": {
@@ -3962,6 +3962,23 @@
3962
3962
  "group": "component (internal)",
3963
3963
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3964
3964
  },
3965
+ {
3966
+ "name": "button/danger/fgColor/rest",
3967
+ "value": {
3968
+ "r": 0.9176470588235294,
3969
+ "g": 0.3607843137254902,
3970
+ "b": 0.3254901960784314,
3971
+ "a": 1
3972
+ },
3973
+ "type": "COLOR",
3974
+ "isMix": true,
3975
+ "refId": "mode/button/danger/fgColor/rest",
3976
+ "reference": "base/color/dark-dimmed/base/color/red/4",
3977
+ "collection": "mode",
3978
+ "mode": "dark dimmed",
3979
+ "group": "component (internal)",
3980
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3981
+ },
3965
3982
  {
3966
3983
  "name": "button/outline/shadow/selected/offsetX",
3967
3984
  "value": 0,
@@ -7840,14 +7857,14 @@
7840
7857
  {
7841
7858
  "name": "button/danger/iconColor/rest",
7842
7859
  "value": {
7843
- "r": 0.8980392156862745,
7844
- "g": 0.3254901960784314,
7845
- "b": 0.29411764705882354,
7860
+ "r": 0.9176470588235294,
7861
+ "g": 0.3607843137254902,
7862
+ "b": 0.3254901960784314,
7846
7863
  "a": 1
7847
7864
  },
7848
7865
  "type": "COLOR",
7849
7866
  "refId": "mode/button/danger/iconColor/rest",
7850
- "reference": "mode/fgColor/danger",
7867
+ "reference": "mode/button/danger/fgColor/rest",
7851
7868
  "collection": "mode",
7852
7869
  "mode": "dark dimmed",
7853
7870
  "group": "component (internal)",
@@ -7902,22 +7919,6 @@
7902
7919
  "group": "component (internal)",
7903
7920
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7904
7921
  },
7905
- {
7906
- "name": "button/danger/fgColor/rest",
7907
- "value": {
7908
- "r": 0.8980392156862745,
7909
- "g": 0.3254901960784314,
7910
- "b": 0.29411764705882354,
7911
- "a": 1
7912
- },
7913
- "type": "COLOR",
7914
- "refId": "mode/button/danger/fgColor/rest",
7915
- "reference": "mode/fgColor/danger",
7916
- "collection": "mode",
7917
- "mode": "dark dimmed",
7918
- "group": "component (internal)",
7919
- "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7920
- },
7921
7922
  {
7922
7923
  "name": "button/outline/bgColor/hover",
7923
7924
  "value": {
@@ -3799,13 +3799,14 @@
3799
3799
  "name": "button/danger/fgColor/rest",
3800
3800
  "value": {
3801
3801
  "r": 1,
3802
- "g": 0.5803921568627451,
3803
- "b": 0.5725490196078431,
3802
+ "g": 0.6588235294117647,
3803
+ "b": 0.6509803921568628,
3804
3804
  "a": 1
3805
3805
  },
3806
3806
  "type": "COLOR",
3807
+ "isMix": true,
3807
3808
  "refId": "mode/button/danger/fgColor/rest",
3808
- "reference": "base/color/dark-high-contrast/base/color/red/3",
3809
+ "reference": "base/color/dark-high-contrast/base/color/red/2",
3809
3810
  "collection": "mode",
3810
3811
  "mode": "dark high contrast",
3811
3812
  "group": "component (internal)",
@@ -7869,14 +7870,12 @@
7869
7870
  {
7870
7871
  "name": "button/danger/bgColor/active",
7871
7872
  "value": {
7872
- "r": 0.7725490196078432,
7873
- "g": 0.06666666666666667,
7874
- "b": 0.12549019607843137,
7873
+ "r": 0.6784313725490196,
7874
+ "g": 0.00392156862745098,
7875
+ "b": 0.08627450980392157,
7875
7876
  "a": 1
7876
7877
  },
7877
7878
  "type": "COLOR",
7878
- "alpha": 1,
7879
- "isMix": true,
7880
7879
  "refId": "mode/button/danger/bgColor/active",
7881
7880
  "reference": "mode/bgColor/danger-emphasis",
7882
7881
  "collection": "mode",
@@ -7936,13 +7935,13 @@
7936
7935
  "name": "button/danger/iconColor/rest",
7937
7936
  "value": {
7938
7937
  "r": 1,
7939
- "g": 0.5803921568627451,
7940
- "b": 0.5725490196078431,
7938
+ "g": 0.6588235294117647,
7939
+ "b": 0.6509803921568628,
7941
7940
  "a": 1
7942
7941
  },
7943
7942
  "type": "COLOR",
7944
7943
  "refId": "mode/button/danger/iconColor/rest",
7945
- "reference": "mode/fgColor/danger",
7944
+ "reference": "mode/button/danger/fgColor/rest",
7946
7945
  "collection": "mode",
7947
7946
  "mode": "dark high contrast",
7948
7947
  "group": "component (internal)",
@@ -3975,6 +3975,23 @@
3975
3975
  "group": "component (internal)",
3976
3976
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3977
3977
  },
3978
+ {
3979
+ "name": "button/danger/fgColor/rest",
3980
+ "value": {
3981
+ "r": 0.9803921568627451,
3982
+ "g": 0.3686274509803922,
3983
+ "b": 0.3333333333333333,
3984
+ "a": 1
3985
+ },
3986
+ "type": "COLOR",
3987
+ "isMix": true,
3988
+ "refId": "mode/button/danger/fgColor/rest",
3989
+ "reference": "base/color/dark/base/color/red/4",
3990
+ "collection": "mode",
3991
+ "mode": "dark tritanopia",
3992
+ "group": "component (internal)",
3993
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3994
+ },
3978
3995
  {
3979
3996
  "name": "button/outline/shadow/selected/offsetX",
3980
3997
  "value": 0,
@@ -7762,14 +7779,14 @@
7762
7779
  {
7763
7780
  "name": "button/danger/iconColor/rest",
7764
7781
  "value": {
7765
- "r": 0.9725490196078431,
7766
- "g": 0.3176470588235294,
7767
- "b": 0.28627450980392155,
7782
+ "r": 0.9803921568627451,
7783
+ "g": 0.3686274509803922,
7784
+ "b": 0.3333333333333333,
7768
7785
  "a": 1
7769
7786
  },
7770
7787
  "type": "COLOR",
7771
7788
  "refId": "mode/button/danger/iconColor/rest",
7772
- "reference": "mode/fgColor/danger",
7789
+ "reference": "mode/button/danger/fgColor/rest",
7773
7790
  "collection": "mode",
7774
7791
  "mode": "dark tritanopia",
7775
7792
  "group": "component (internal)",
@@ -7824,22 +7841,6 @@
7824
7841
  "group": "component (internal)",
7825
7842
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7826
7843
  },
7827
- {
7828
- "name": "button/danger/fgColor/rest",
7829
- "value": {
7830
- "r": 0.9725490196078431,
7831
- "g": 0.3176470588235294,
7832
- "b": 0.28627450980392155,
7833
- "a": 1
7834
- },
7835
- "type": "COLOR",
7836
- "refId": "mode/button/danger/fgColor/rest",
7837
- "reference": "mode/fgColor/danger",
7838
- "collection": "mode",
7839
- "mode": "dark tritanopia",
7840
- "group": "component (internal)",
7841
- "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7842
- },
7843
7844
  {
7844
7845
  "name": "button/outline/bgColor/hover",
7845
7846
  "value": {
@@ -3878,6 +3878,23 @@
3878
3878
  "group": "component (internal)",
3879
3879
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3880
3880
  },
3881
+ {
3882
+ "name": "button/danger/fgColor/rest",
3883
+ "value": {
3884
+ "r": 0.9803921568627451,
3885
+ "g": 0.3686274509803922,
3886
+ "b": 0.3333333333333333,
3887
+ "a": 1
3888
+ },
3889
+ "type": "COLOR",
3890
+ "isMix": true,
3891
+ "refId": "mode/button/danger/fgColor/rest",
3892
+ "reference": "base/color/dark/base/color/red/4",
3893
+ "collection": "mode",
3894
+ "mode": "dark",
3895
+ "group": "component (internal)",
3896
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3897
+ },
3881
3898
  {
3882
3899
  "name": "button/outline/shadow/selected/offsetX",
3883
3900
  "value": 0,
@@ -7762,14 +7779,14 @@
7762
7779
  {
7763
7780
  "name": "button/danger/iconColor/rest",
7764
7781
  "value": {
7765
- "r": 0.9725490196078431,
7766
- "g": 0.3176470588235294,
7767
- "b": 0.28627450980392155,
7782
+ "r": 0.9803921568627451,
7783
+ "g": 0.3686274509803922,
7784
+ "b": 0.3333333333333333,
7768
7785
  "a": 1
7769
7786
  },
7770
7787
  "type": "COLOR",
7771
7788
  "refId": "mode/button/danger/iconColor/rest",
7772
- "reference": "mode/fgColor/danger",
7789
+ "reference": "mode/button/danger/fgColor/rest",
7773
7790
  "collection": "mode",
7774
7791
  "mode": "dark",
7775
7792
  "group": "component (internal)",
@@ -7824,22 +7841,6 @@
7824
7841
  "group": "component (internal)",
7825
7842
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7826
7843
  },
7827
- {
7828
- "name": "button/danger/fgColor/rest",
7829
- "value": {
7830
- "r": 0.9725490196078431,
7831
- "g": 0.3176470588235294,
7832
- "b": 0.28627450980392155,
7833
- "a": 1
7834
- },
7835
- "type": "COLOR",
7836
- "refId": "mode/button/danger/fgColor/rest",
7837
- "reference": "mode/fgColor/danger",
7838
- "collection": "mode",
7839
- "mode": "dark",
7840
- "group": "component (internal)",
7841
- "scopes": ["TEXT_FILL", "SHAPE_FILL"]
7842
- },
7843
7844
  {
7844
7845
  "name": "button/outline/bgColor/hover",
7845
7846
  "value": {
@@ -554,11 +554,11 @@
554
554
  --button-outline-borderColor-hover: #3d444d;
555
555
  --button-outline-borderColor-selected: #3d444d;
556
556
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
557
- --button-danger-fgColor-rest: #db6d28;
557
+ --button-danger-fgColor-rest: #fa5e55;
558
558
  --button-danger-fgColor-hover: #ffffff;
559
559
  --button-danger-fgColor-active: #ffffff;
560
560
  --button-danger-fgColor-disabled: #db6d2880;
561
- --button-danger-iconColor-rest: #db6d28;
561
+ --button-danger-iconColor-rest: #fa5e55;
562
562
  --button-danger-iconColor-hover: #ffffff;
563
563
  --button-danger-bgColor-rest: #212830;
564
564
  --button-danger-bgColor-hover: #9b4215;
@@ -1413,11 +1413,11 @@
1413
1413
  --button-outline-borderColor-hover: #3d444d;
1414
1414
  --button-outline-borderColor-selected: #3d444d;
1415
1415
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
1416
- --button-danger-fgColor-rest: #db6d28;
1416
+ --button-danger-fgColor-rest: #fa5e55;
1417
1417
  --button-danger-fgColor-hover: #ffffff;
1418
1418
  --button-danger-fgColor-active: #ffffff;
1419
1419
  --button-danger-fgColor-disabled: #db6d2880;
1420
- --button-danger-iconColor-rest: #db6d28;
1420
+ --button-danger-iconColor-rest: #fa5e55;
1421
1421
  --button-danger-iconColor-hover: #ffffff;
1422
1422
  --button-danger-bgColor-rest: #212830;
1423
1423
  --button-danger-bgColor-hover: #9b4215;
@@ -554,11 +554,11 @@
554
554
  --button-outline-borderColor-hover: #3d444d;
555
555
  --button-outline-borderColor-selected: #3d444d;
556
556
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
557
- --button-danger-fgColor-rest: #e5534b;
557
+ --button-danger-fgColor-rest: #ea5c53;
558
558
  --button-danger-fgColor-hover: #cdd9e5;
559
559
  --button-danger-fgColor-active: #cdd9e5;
560
560
  --button-danger-fgColor-disabled: #e5534b80;
561
- --button-danger-iconColor-rest: #e5534b;
561
+ --button-danger-iconColor-rest: #ea5c53;
562
562
  --button-danger-iconColor-hover: #cdd9e5;
563
563
  --button-danger-bgColor-rest: #2a313c;
564
564
  --button-danger-bgColor-hover: #ad2e2c;
@@ -1413,11 +1413,11 @@
1413
1413
  --button-outline-borderColor-hover: #3d444d;
1414
1414
  --button-outline-borderColor-selected: #3d444d;
1415
1415
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
1416
- --button-danger-fgColor-rest: #e5534b;
1416
+ --button-danger-fgColor-rest: #ea5c53;
1417
1417
  --button-danger-fgColor-hover: #cdd9e5;
1418
1418
  --button-danger-fgColor-active: #cdd9e5;
1419
1419
  --button-danger-fgColor-disabled: #e5534b80;
1420
- --button-danger-iconColor-rest: #e5534b;
1420
+ --button-danger-iconColor-rest: #ea5c53;
1421
1421
  --button-danger-iconColor-hover: #cdd9e5;
1422
1422
  --button-danger-bgColor-rest: #2a313c;
1423
1423
  --button-danger-bgColor-hover: #ad2e2c;
@@ -554,15 +554,15 @@
554
554
  --button-outline-borderColor-hover: #b7bdc8;
555
555
  --button-outline-borderColor-selected: #b7bdc8;
556
556
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
557
- --button-danger-fgColor-rest: #ff9492;
557
+ --button-danger-fgColor-rest: #ffa8a6;
558
558
  --button-danger-fgColor-hover: #ffffff;
559
559
  --button-danger-fgColor-active: #ffffff;
560
560
  --button-danger-fgColor-disabled: #ff949280;
561
- --button-danger-iconColor-rest: #ff9492;
561
+ --button-danger-iconColor-rest: #ffa8a6;
562
562
  --button-danger-iconColor-hover: #ffffff;
563
563
  --button-danger-bgColor-rest: #262c36;
564
564
  --button-danger-bgColor-hover: #ad0116;
565
- --button-danger-bgColor-active: #c51120;
565
+ --button-danger-bgColor-active: #ad0116;
566
566
  --button-danger-bgColor-disabled: #262c36;
567
567
  --button-danger-borderColor-rest: #b7bdc8;
568
568
  --button-danger-borderColor-hover: #ffb1af;
@@ -1413,15 +1413,15 @@
1413
1413
  --button-outline-borderColor-hover: #b7bdc8;
1414
1414
  --button-outline-borderColor-selected: #b7bdc8;
1415
1415
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
1416
- --button-danger-fgColor-rest: #ff9492;
1416
+ --button-danger-fgColor-rest: #ffa8a6;
1417
1417
  --button-danger-fgColor-hover: #ffffff;
1418
1418
  --button-danger-fgColor-active: #ffffff;
1419
1419
  --button-danger-fgColor-disabled: #ff949280;
1420
- --button-danger-iconColor-rest: #ff9492;
1420
+ --button-danger-iconColor-rest: #ffa8a6;
1421
1421
  --button-danger-iconColor-hover: #ffffff;
1422
1422
  --button-danger-bgColor-rest: #262c36;
1423
1423
  --button-danger-bgColor-hover: #ad0116;
1424
- --button-danger-bgColor-active: #c51120;
1424
+ --button-danger-bgColor-active: #ad0116;
1425
1425
  --button-danger-bgColor-disabled: #262c36;
1426
1426
  --button-danger-borderColor-rest: #b7bdc8;
1427
1427
  --button-danger-borderColor-hover: #ffb1af;
@@ -554,11 +554,11 @@
554
554
  --button-outline-borderColor-hover: #3d444d;
555
555
  --button-outline-borderColor-selected: #3d444d;
556
556
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
557
- --button-danger-fgColor-rest: #f85149;
557
+ --button-danger-fgColor-rest: #fa5e55;
558
558
  --button-danger-fgColor-hover: #ffffff;
559
559
  --button-danger-fgColor-active: #ffffff;
560
560
  --button-danger-fgColor-disabled: #f8514980;
561
- --button-danger-iconColor-rest: #f85149;
561
+ --button-danger-iconColor-rest: #fa5e55;
562
562
  --button-danger-iconColor-hover: #ffffff;
563
563
  --button-danger-bgColor-rest: #212830;
564
564
  --button-danger-bgColor-hover: #b62324;
@@ -1413,11 +1413,11 @@
1413
1413
  --button-outline-borderColor-hover: #3d444d;
1414
1414
  --button-outline-borderColor-selected: #3d444d;
1415
1415
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
1416
- --button-danger-fgColor-rest: #f85149;
1416
+ --button-danger-fgColor-rest: #fa5e55;
1417
1417
  --button-danger-fgColor-hover: #ffffff;
1418
1418
  --button-danger-fgColor-active: #ffffff;
1419
1419
  --button-danger-fgColor-disabled: #f8514980;
1420
- --button-danger-iconColor-rest: #f85149;
1420
+ --button-danger-iconColor-rest: #fa5e55;
1421
1421
  --button-danger-iconColor-hover: #ffffff;
1422
1422
  --button-danger-bgColor-rest: #212830;
1423
1423
  --button-danger-bgColor-hover: #b62324;
@@ -554,11 +554,11 @@
554
554
  --button-outline-borderColor-hover: #3d444d;
555
555
  --button-outline-borderColor-selected: #3d444d;
556
556
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
557
- --button-danger-fgColor-rest: #f85149;
557
+ --button-danger-fgColor-rest: #fa5e55;
558
558
  --button-danger-fgColor-hover: #ffffff;
559
559
  --button-danger-fgColor-active: #ffffff;
560
560
  --button-danger-fgColor-disabled: #f8514980;
561
- --button-danger-iconColor-rest: #f85149;
561
+ --button-danger-iconColor-rest: #fa5e55;
562
562
  --button-danger-iconColor-hover: #ffffff;
563
563
  --button-danger-bgColor-rest: #212830;
564
564
  --button-danger-bgColor-hover: #b62324;
@@ -1413,11 +1413,11 @@
1413
1413
  --button-outline-borderColor-hover: #3d444d;
1414
1414
  --button-outline-borderColor-selected: #3d444d;
1415
1415
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
1416
- --button-danger-fgColor-rest: #f85149;
1416
+ --button-danger-fgColor-rest: #fa5e55;
1417
1417
  --button-danger-fgColor-hover: #ffffff;
1418
1418
  --button-danger-fgColor-active: #ffffff;
1419
1419
  --button-danger-fgColor-disabled: #f8514980;
1420
- --button-danger-iconColor-rest: #f85149;
1420
+ --button-danger-iconColor-rest: #fa5e55;
1421
1421
  --button-danger-iconColor-hover: #ffffff;
1422
1422
  --button-danger-bgColor-rest: #212830;
1423
1423
  --button-danger-bgColor-hover: #b62324;
@@ -7701,7 +7701,7 @@
7701
7701
  "path": ["button", "outline", "shadow", "selected"]
7702
7702
  },
7703
7703
  "button-danger-fgColor-rest": {
7704
- "value": "#db6d28",
7704
+ "value": "#fa5e55",
7705
7705
  "$type": "color",
7706
7706
  "$extensions": {
7707
7707
  "org.primer.figma": {
@@ -7711,10 +7711,14 @@
7711
7711
  "scopes": ["fgColor"]
7712
7712
  }
7713
7713
  },
7714
+ "mix": {
7715
+ "color": "#ff7b72",
7716
+ "weight": 0.3
7717
+ },
7714
7718
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7715
7719
  "isSource": true,
7716
7720
  "original": {
7717
- "value": "{fgColor.danger}",
7721
+ "value": "{base.color.red.4}",
7718
7722
  "$type": "color",
7719
7723
  "$extensions": {
7720
7724
  "org.primer.figma": {
@@ -7723,6 +7727,10 @@
7723
7727
  "group": "component (internal)",
7724
7728
  "scopes": ["fgColor"]
7725
7729
  }
7730
+ },
7731
+ "mix": {
7732
+ "color": "{base.color.red.3}",
7733
+ "weight": 0.3
7726
7734
  }
7727
7735
  },
7728
7736
  "name": "button-danger-fgColor-rest",
@@ -7819,7 +7827,7 @@
7819
7827
  "path": ["button", "danger", "fgColor", "disabled"]
7820
7828
  },
7821
7829
  "button-danger-iconColor-rest": {
7822
- "value": "#db6d28",
7830
+ "value": "#fa5e55",
7823
7831
  "$type": "color",
7824
7832
  "$extensions": {
7825
7833
  "org.primer.figma": {
@@ -7832,7 +7840,7 @@
7832
7840
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7833
7841
  "isSource": true,
7834
7842
  "original": {
7835
- "value": "{fgColor.danger}",
7843
+ "value": "{button.danger.fgColor.rest}",
7836
7844
  "$type": "color",
7837
7845
  "$extensions": {
7838
7846
  "org.primer.figma": {
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#e5534b",
7710
+ "value": "#ea5c53",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#f47067",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#e5534b",
7836
+ "value": "#ea5c53",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
@@ -7739,7 +7739,7 @@
7739
7739
  "path": ["button", "outline", "shadow", "selected"]
7740
7740
  },
7741
7741
  "button-danger-fgColor-rest": {
7742
- "value": "#ff9492",
7742
+ "value": "#ffa8a6",
7743
7743
  "$type": "color",
7744
7744
  "$extensions": {
7745
7745
  "org.primer.figma": {
@@ -7749,10 +7749,14 @@
7749
7749
  "scopes": ["fgColor"]
7750
7750
  }
7751
7751
  },
7752
+ "mix": {
7753
+ "color": "#ff9492",
7754
+ "weight": 0.3
7755
+ },
7752
7756
  "filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
7753
7757
  "isSource": true,
7754
7758
  "original": {
7755
- "value": "{base.color.red.3}",
7759
+ "value": "{base.color.red.2}",
7756
7760
  "$type": "color",
7757
7761
  "$extensions": {
7758
7762
  "org.primer.figma": {
@@ -7761,6 +7765,10 @@
7761
7765
  "group": "component (internal)",
7762
7766
  "scopes": ["fgColor"]
7763
7767
  }
7768
+ },
7769
+ "mix": {
7770
+ "color": "{base.color.red.3}",
7771
+ "weight": 0.3
7764
7772
  }
7765
7773
  },
7766
7774
  "name": "button-danger-fgColor-rest",
@@ -7857,7 +7865,7 @@
7857
7865
  "path": ["button", "danger", "fgColor", "disabled"]
7858
7866
  },
7859
7867
  "button-danger-iconColor-rest": {
7860
- "value": "#ff9492",
7868
+ "value": "#ffa8a6",
7861
7869
  "$type": "color",
7862
7870
  "$extensions": {
7863
7871
  "org.primer.figma": {
@@ -7870,7 +7878,7 @@
7870
7878
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7871
7879
  "isSource": true,
7872
7880
  "original": {
7873
- "value": "{fgColor.danger}",
7881
+ "value": "{button.danger.fgColor.rest}",
7874
7882
  "$type": "color",
7875
7883
  "$extensions": {
7876
7884
  "org.primer.figma": {
@@ -7973,7 +7981,7 @@
7973
7981
  "path": ["button", "danger", "bgColor", "hover"]
7974
7982
  },
7975
7983
  "button-danger-bgColor-active": {
7976
- "value": "#c51120",
7984
+ "value": "#ad0116",
7977
7985
  "$type": "color",
7978
7986
  "$extensions": {
7979
7987
  "org.primer.figma": {
@@ -7983,13 +7991,9 @@
7983
7991
  "scopes": ["bgColor"]
7984
7992
  }
7985
7993
  },
7986
- "mix": {
7987
- "color": "#e82a2f",
7988
- "weight": 0.4
7989
- },
7994
+ "mix": null,
7990
7995
  "filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
7991
7996
  "isSource": true,
7992
- "alpha": 1,
7993
7997
  "original": {
7994
7998
  "value": "{bgColor.danger.emphasis}",
7995
7999
  "$type": "color",
@@ -8001,11 +8005,7 @@
8001
8005
  "scopes": ["bgColor"]
8002
8006
  }
8003
8007
  },
8004
- "mix": {
8005
- "color": "{base.color.red.7}",
8006
- "weight": 0.4
8007
- },
8008
- "alpha": 1
8008
+ "mix": null
8009
8009
  },
8010
8010
  "name": "button-danger-bgColor-active",
8011
8011
  "attributes": {},
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#f85149",
7710
+ "value": "#fa5e55",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#ff7b72",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#f85149",
7836
+ "value": "#fa5e55",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
@@ -7707,7 +7707,7 @@
7707
7707
  "path": ["button", "outline", "shadow", "selected"]
7708
7708
  },
7709
7709
  "button-danger-fgColor-rest": {
7710
- "value": "#f85149",
7710
+ "value": "#fa5e55",
7711
7711
  "$type": "color",
7712
7712
  "$extensions": {
7713
7713
  "org.primer.figma": {
@@ -7717,10 +7717,14 @@
7717
7717
  "scopes": ["fgColor"]
7718
7718
  }
7719
7719
  },
7720
+ "mix": {
7721
+ "color": "#ff7b72",
7722
+ "weight": 0.3
7723
+ },
7720
7724
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7721
7725
  "isSource": true,
7722
7726
  "original": {
7723
- "value": "{fgColor.danger}",
7727
+ "value": "{base.color.red.4}",
7724
7728
  "$type": "color",
7725
7729
  "$extensions": {
7726
7730
  "org.primer.figma": {
@@ -7729,6 +7733,10 @@
7729
7733
  "group": "component (internal)",
7730
7734
  "scopes": ["fgColor"]
7731
7735
  }
7736
+ },
7737
+ "mix": {
7738
+ "color": "{base.color.red.3}",
7739
+ "weight": 0.3
7732
7740
  }
7733
7741
  },
7734
7742
  "name": "button-danger-fgColor-rest",
@@ -7825,7 +7833,7 @@
7825
7833
  "path": ["button", "danger", "fgColor", "disabled"]
7826
7834
  },
7827
7835
  "button-danger-iconColor-rest": {
7828
- "value": "#f85149",
7836
+ "value": "#fa5e55",
7829
7837
  "$type": "color",
7830
7838
  "$extensions": {
7831
7839
  "org.primer.figma": {
@@ -7838,7 +7846,7 @@
7838
7846
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7839
7847
  "isSource": true,
7840
7848
  "original": {
7841
- "value": "{fgColor.danger}",
7849
+ "value": "{button.danger.fgColor.rest}",
7842
7850
  "$type": "color",
7843
7851
  "$extensions": {
7844
7852
  "org.primer.figma": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "9.0.1",
3
+ "version": "9.0.2-rc.758febf5",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "engines": {
6
6
  "node": ">=18.18.0 <18.19.0"
@@ -436,7 +436,7 @@
436
436
  danger: {
437
437
  fgColor: {
438
438
  rest: {
439
- $value: '{base.color.red.3}',
439
+ $value: '{base.color.red.2}',
440
440
  $type: 'color',
441
441
  $extensions: {
442
442
  'org.primer.figma': {
@@ -468,11 +468,7 @@
468
468
  active: {
469
469
  $value: '{bgColor.danger.emphasis}',
470
470
  $type: 'color',
471
- alpha: 1,
472
- mix: {
473
- color: '{base.color.red.7}',
474
- weight: 0.4,
475
- },
471
+ mix: null
476
472
  },
477
473
  },
478
474
  },
@@ -1359,7 +1359,7 @@
1359
1359
  danger: {
1360
1360
  fgColor: {
1361
1361
  rest: {
1362
- $value: '{fgColor.danger}',
1362
+ $value: '{base.color.red.4}',
1363
1363
  $type: 'color',
1364
1364
  $extensions: {
1365
1365
  'org.primer.figma': {
@@ -1369,6 +1369,10 @@
1369
1369
  scopes: ['fgColor'],
1370
1370
  },
1371
1371
  },
1372
+ mix: {
1373
+ color: '{base.color.red.3}',
1374
+ weight: 0.3,
1375
+ },
1372
1376
  },
1373
1377
  hover: {
1374
1378
  $value: '{base.color.neutral.13}',
@@ -1410,7 +1414,7 @@
1410
1414
  },
1411
1415
  iconColor: {
1412
1416
  rest: {
1413
- $value: '{fgColor.danger}',
1417
+ $value: '{button.danger.fgColor.rest}',
1414
1418
  $type: 'color',
1415
1419
  $extensions: {
1416
1420
  'org.primer.figma': {