@primer/primitives 11.3.1 → 11.3.2-rc.49de51de

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 (68) hide show
  1. package/README.md +5 -0
  2. package/dist/css/functional/themes/dark-colorblind-high-contrast.css +4 -4
  3. package/dist/css/functional/themes/dark-colorblind.css +4 -4
  4. package/dist/css/functional/themes/dark-dimmed-high-contrast.css +4 -4
  5. package/dist/css/functional/themes/dark-dimmed.css +4 -4
  6. package/dist/css/functional/themes/dark-high-contrast.css +4 -4
  7. package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +4 -4
  8. package/dist/css/functional/themes/dark-tritanopia.css +4 -4
  9. package/dist/css/functional/themes/dark.css +4 -4
  10. package/dist/css/functional/themes/light-colorblind-high-contrast.css +4 -4
  11. package/dist/css/functional/themes/light-colorblind.css +4 -4
  12. package/dist/css/functional/themes/light-high-contrast.css +4 -4
  13. package/dist/css/functional/themes/light-tritanopia-high-contrast.css +4 -4
  14. package/dist/css/functional/themes/light-tritanopia.css +4 -4
  15. package/dist/css/functional/themes/light.css +4 -4
  16. package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +4 -24
  17. package/dist/docs/functional/themes/dark-colorblind.json +4 -24
  18. package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +4 -24
  19. package/dist/docs/functional/themes/dark-dimmed.json +4 -24
  20. package/dist/docs/functional/themes/dark-high-contrast.json +4 -24
  21. package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +4 -24
  22. package/dist/docs/functional/themes/dark-tritanopia.json +4 -24
  23. package/dist/docs/functional/themes/dark.json +4 -24
  24. package/dist/docs/functional/themes/light-colorblind-high-contrast.json +4 -24
  25. package/dist/docs/functional/themes/light-colorblind.json +4 -24
  26. package/dist/docs/functional/themes/light-high-contrast.json +4 -24
  27. package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +4 -24
  28. package/dist/docs/functional/themes/light-tritanopia.json +4 -24
  29. package/dist/docs/functional/themes/light.json +4 -24
  30. package/dist/figma/themes/dark-colorblind.json +8 -8
  31. package/dist/figma/themes/dark-dimmed.json +9 -9
  32. package/dist/figma/themes/dark-high-contrast.json +9 -9
  33. package/dist/figma/themes/dark-tritanopia.json +9 -9
  34. package/dist/figma/themes/dark.json +9 -9
  35. package/dist/figma/themes/light-colorblind.json +8 -8
  36. package/dist/figma/themes/light-high-contrast.json +8 -8
  37. package/dist/figma/themes/light-tritanopia.json +8 -8
  38. package/dist/figma/themes/light.json +8 -8
  39. package/dist/internalCss/dark-colorblind-high-contrast.css +4 -4
  40. package/dist/internalCss/dark-colorblind.css +4 -4
  41. package/dist/internalCss/dark-dimmed-high-contrast.css +4 -4
  42. package/dist/internalCss/dark-dimmed.css +4 -4
  43. package/dist/internalCss/dark-high-contrast.css +4 -4
  44. package/dist/internalCss/dark-tritanopia-high-contrast.css +4 -4
  45. package/dist/internalCss/dark-tritanopia.css +4 -4
  46. package/dist/internalCss/dark.css +4 -4
  47. package/dist/internalCss/light-colorblind-high-contrast.css +4 -4
  48. package/dist/internalCss/light-colorblind.css +4 -4
  49. package/dist/internalCss/light-high-contrast.css +4 -4
  50. package/dist/internalCss/light-tritanopia-high-contrast.css +4 -4
  51. package/dist/internalCss/light-tritanopia.css +4 -4
  52. package/dist/internalCss/light.css +4 -4
  53. package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +4 -24
  54. package/dist/styleLint/functional/themes/dark-colorblind.json +4 -24
  55. package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +4 -24
  56. package/dist/styleLint/functional/themes/dark-dimmed.json +4 -24
  57. package/dist/styleLint/functional/themes/dark-high-contrast.json +4 -24
  58. package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +4 -24
  59. package/dist/styleLint/functional/themes/dark-tritanopia.json +4 -24
  60. package/dist/styleLint/functional/themes/dark.json +4 -24
  61. package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +4 -24
  62. package/dist/styleLint/functional/themes/light-colorblind.json +4 -24
  63. package/dist/styleLint/functional/themes/light-high-contrast.json +4 -24
  64. package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +4 -24
  65. package/dist/styleLint/functional/themes/light-tritanopia.json +4 -24
  66. package/dist/styleLint/functional/themes/light.json +4 -24
  67. package/package.json +1 -1
  68. package/src/tokens/functional/color/syntax.json5 +2 -12
package/README.md CHANGED
@@ -37,6 +37,9 @@ All available imports:
37
37
  @import '@primer/primitives/dist/css/functional/size/viewport.css';
38
38
  @import '@primer/primitives/dist/css/functional/typography/typography.css';
39
39
 
40
+ /* motion */
41
+ @import '@primer/primitives/dist/css/base/motion/motion.css';
42
+
40
43
  /* color */
41
44
  @import '@primer/primitives/dist/css/functional/themes/light.css';
42
45
  @import '@primer/primitives/dist/css/functional/themes/light-tritanopia.css';
@@ -49,6 +52,8 @@ All available imports:
49
52
  @import '@primer/primitives/dist/css/functional/themes/dark-tritanopia.css';
50
53
  ```
51
54
 
55
+ > **Note:** Motion CSS imports are required for components with animations, such as `Spinner` from `@primer/react`. If you're experiencing issues with animated components appearing static, ensure you've imported the motion CSS files.
56
+
52
57
  ## Design token data
53
58
 
54
59
  Design token data is stored in the [src/tokens](./src/tokens/) directory. These tokens are compiled with [style dictionary](https://amzn.github.io/style-dictionary/#/) in [scripts/buildTokens.ts](./scripts/buildTokens.ts).
@@ -125,8 +125,6 @@
125
125
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
126
126
  --color-prettylights-syntax-entity: #dbb7ff;
127
127
  --color-prettylights-syntax-entity-tag: #addcff;
128
- --color-prettylights-syntax-invalid-illegal-bg: #bf5e0a;
129
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
130
128
  --color-prettylights-syntax-keyword: #fe9a2d;
131
129
  --color-prettylights-syntax-markup-bold: #f0f6fc;
132
130
  --color-prettylights-syntax-markup-changed-bg: #a74c00;
@@ -719,6 +717,8 @@
719
717
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
720
718
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
721
719
  --color-ansi-white-bright: #ffffff;
720
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
721
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
722
722
  --contribution-default-bgColor-0: #010409;
723
723
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
724
724
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -1023,8 +1023,6 @@
1023
1023
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
1024
1024
  --color-prettylights-syntax-entity: #dbb7ff;
1025
1025
  --color-prettylights-syntax-entity-tag: #addcff;
1026
- --color-prettylights-syntax-invalid-illegal-bg: #bf5e0a;
1027
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1028
1026
  --color-prettylights-syntax-keyword: #fe9a2d;
1029
1027
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1030
1028
  --color-prettylights-syntax-markup-changed-bg: #a74c00;
@@ -1617,6 +1615,8 @@
1617
1615
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
1618
1616
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
1619
1617
  --color-ansi-white-bright: #ffffff;
1618
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1619
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1620
1620
  --contribution-default-bgColor-0: #010409;
1621
1621
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1622
1622
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -118,8 +118,6 @@
118
118
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
119
119
  --color-prettylights-syntax-entity: #d2a8ff;
120
120
  --color-prettylights-syntax-entity-tag: #a5d6ff;
121
- --color-prettylights-syntax-invalid-illegal-bg: #762d0a;
122
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
123
121
  --color-prettylights-syntax-keyword: #f0883e;
124
122
  --color-prettylights-syntax-markup-bold: #f0f6fc;
125
123
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
@@ -752,6 +750,8 @@
752
750
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
753
751
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
754
752
  --color-ansi-white-bright: #ffffff;
753
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
754
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
755
755
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
756
756
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
757
757
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -1016,8 +1016,6 @@
1016
1016
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
1017
1017
  --color-prettylights-syntax-entity: #d2a8ff;
1018
1018
  --color-prettylights-syntax-entity-tag: #a5d6ff;
1019
- --color-prettylights-syntax-invalid-illegal-bg: #762d0a;
1020
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1021
1019
  --color-prettylights-syntax-keyword: #f0883e;
1022
1020
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1023
1021
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
@@ -1650,6 +1648,8 @@
1650
1648
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
1651
1649
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1652
1650
  --color-ansi-white-bright: #ffffff;
1651
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1652
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1653
1653
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1654
1654
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
1655
1655
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -129,8 +129,6 @@
129
129
  --color-prettylights-syntax-constant-other-reference-link: #96d0ff;
130
130
  --color-prettylights-syntax-entity: #dcbdfb;
131
131
  --color-prettylights-syntax-entity-tag: #8ddb8c;
132
- --color-prettylights-syntax-invalid-illegal-bg: #922323;
133
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
134
132
  --color-prettylights-syntax-keyword: #f47067;
135
133
  --color-prettylights-syntax-markup-bold: #f0f6fc;
136
134
  --color-prettylights-syntax-markup-changed-bg: #682d0f;
@@ -739,6 +737,8 @@
739
737
  --codeMirror-lines-bgColor: var(--bgColor-default);
740
738
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
741
739
  --color-ansi-white-bright: #cdd9e5;
740
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
741
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
742
742
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
743
743
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
744
744
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -1027,8 +1027,6 @@
1027
1027
  --color-prettylights-syntax-constant-other-reference-link: #96d0ff;
1028
1028
  --color-prettylights-syntax-entity: #dcbdfb;
1029
1029
  --color-prettylights-syntax-entity-tag: #8ddb8c;
1030
- --color-prettylights-syntax-invalid-illegal-bg: #922323;
1031
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1032
1030
  --color-prettylights-syntax-keyword: #f47067;
1033
1031
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1034
1032
  --color-prettylights-syntax-markup-changed-bg: #682d0f;
@@ -1637,6 +1635,8 @@
1637
1635
  --codeMirror-lines-bgColor: var(--bgColor-default);
1638
1636
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
1639
1637
  --color-ansi-white-bright: #cdd9e5;
1638
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1639
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1640
1640
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1641
1641
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
1642
1642
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -130,8 +130,6 @@
130
130
  --color-prettylights-syntax-constant-other-reference-link: #96d0ff;
131
131
  --color-prettylights-syntax-entity: #dcbdfb;
132
132
  --color-prettylights-syntax-entity-tag: #8ddb8c;
133
- --color-prettylights-syntax-invalid-illegal-bg: #922323;
134
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
135
133
  --color-prettylights-syntax-keyword: #f47067;
136
134
  --color-prettylights-syntax-markup-bold: #f0f6fc;
137
135
  --color-prettylights-syntax-markup-changed-bg: #682d0f;
@@ -774,6 +772,8 @@
774
772
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
775
773
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
776
774
  --color-ansi-white-bright: #cdd9e5;
775
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
776
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
777
777
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
778
778
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
779
779
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -1028,8 +1028,6 @@
1028
1028
  --color-prettylights-syntax-constant-other-reference-link: #96d0ff;
1029
1029
  --color-prettylights-syntax-entity: #dcbdfb;
1030
1030
  --color-prettylights-syntax-entity-tag: #8ddb8c;
1031
- --color-prettylights-syntax-invalid-illegal-bg: #922323;
1032
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1033
1031
  --color-prettylights-syntax-keyword: #f47067;
1034
1032
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1035
1033
  --color-prettylights-syntax-markup-changed-bg: #682d0f;
@@ -1672,6 +1670,8 @@
1672
1670
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
1673
1671
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1674
1672
  --color-ansi-white-bright: #cdd9e5;
1673
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1674
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1675
1675
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1676
1676
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
1677
1677
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -123,8 +123,6 @@
123
123
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
124
124
  --color-prettylights-syntax-entity: #dbb7ff;
125
125
  --color-prettylights-syntax-entity-tag: #72f088;
126
- --color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
127
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
128
126
  --color-prettylights-syntax-keyword: #ff9492;
129
127
  --color-prettylights-syntax-markup-bold: #f0f6fc;
130
128
  --color-prettylights-syntax-markup-changed-bg: #a74c00;
@@ -717,6 +715,8 @@
717
715
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
718
716
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
719
717
  --color-ansi-white-bright: #ffffff;
718
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
719
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
720
720
  --contribution-default-bgColor-0: #010409;
721
721
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
722
722
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -1021,8 +1021,6 @@
1021
1021
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
1022
1022
  --color-prettylights-syntax-entity: #dbb7ff;
1023
1023
  --color-prettylights-syntax-entity-tag: #72f088;
1024
- --color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
1025
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1026
1024
  --color-prettylights-syntax-keyword: #ff9492;
1027
1025
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1028
1026
  --color-prettylights-syntax-markup-changed-bg: #a74c00;
@@ -1615,6 +1613,8 @@
1615
1613
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
1616
1614
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
1617
1615
  --color-ansi-white-bright: #ffffff;
1616
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1617
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1618
1618
  --contribution-default-bgColor-0: #010409;
1619
1619
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1620
1620
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -126,8 +126,6 @@
126
126
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
127
127
  --color-prettylights-syntax-entity: #dbb7ff;
128
128
  --color-prettylights-syntax-entity-tag: #addcff;
129
- --color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
130
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
131
129
  --color-prettylights-syntax-keyword: #ff9492;
132
130
  --color-prettylights-syntax-markup-bold: #f0f6fc;
133
131
  --color-prettylights-syntax-markup-changed-bg: #cc1421;
@@ -719,6 +717,8 @@
719
717
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
720
718
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
721
719
  --color-ansi-white-bright: #ffffff;
720
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
721
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
722
722
  --contribution-default-bgColor-0: #010409;
723
723
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
724
724
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -1024,8 +1024,6 @@
1024
1024
  --color-prettylights-syntax-constant-other-reference-link: #addcff;
1025
1025
  --color-prettylights-syntax-entity: #dbb7ff;
1026
1026
  --color-prettylights-syntax-entity-tag: #addcff;
1027
- --color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
1028
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1029
1027
  --color-prettylights-syntax-keyword: #ff9492;
1030
1028
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1031
1029
  --color-prettylights-syntax-markup-changed-bg: #cc1421;
@@ -1617,6 +1615,8 @@
1617
1615
  --codeMirror-gutterMarker-fgColor-muted: var(--fgColor-muted);
1618
1616
  --codeMirror-lineNumber-fgColor: var(--fgColor-muted);
1619
1617
  --color-ansi-white-bright: #ffffff;
1618
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1619
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1620
1620
  --contribution-default-bgColor-0: #010409;
1621
1621
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1622
1622
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
@@ -122,8 +122,6 @@
122
122
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
123
123
  --color-prettylights-syntax-entity: #d2a8ff;
124
124
  --color-prettylights-syntax-entity-tag: #a5d6ff;
125
- --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
126
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
127
125
  --color-prettylights-syntax-keyword: #ff7b72;
128
126
  --color-prettylights-syntax-markup-bold: #f0f6fc;
129
127
  --color-prettylights-syntax-markup-changed-bg: #67060c;
@@ -753,6 +751,8 @@
753
751
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
754
752
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
755
753
  --color-ansi-white-bright: #ffffff;
754
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
755
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
756
756
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
757
757
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
758
758
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -1020,8 +1020,6 @@
1020
1020
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
1021
1021
  --color-prettylights-syntax-entity: #d2a8ff;
1022
1022
  --color-prettylights-syntax-entity-tag: #a5d6ff;
1023
- --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
1024
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1025
1023
  --color-prettylights-syntax-keyword: #ff7b72;
1026
1024
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1027
1025
  --color-prettylights-syntax-markup-changed-bg: #67060c;
@@ -1651,6 +1649,8 @@
1651
1649
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
1652
1650
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1653
1651
  --color-ansi-white-bright: #ffffff;
1652
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1653
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1654
1654
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1655
1655
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
1656
1656
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -116,8 +116,6 @@
116
116
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
117
117
  --color-prettylights-syntax-entity: #d2a8ff;
118
118
  --color-prettylights-syntax-entity-tag: #7ee787;
119
- --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
120
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
121
119
  --color-prettylights-syntax-keyword: #ff7b72;
122
120
  --color-prettylights-syntax-markup-bold: #f0f6fc;
123
121
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
@@ -748,6 +746,8 @@
748
746
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
749
747
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
750
748
  --color-ansi-white-bright: #ffffff;
749
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
750
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
751
751
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
752
752
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
753
753
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -1014,8 +1014,6 @@
1014
1014
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
1015
1015
  --color-prettylights-syntax-entity: #d2a8ff;
1016
1016
  --color-prettylights-syntax-entity-tag: #7ee787;
1017
- --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
1018
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
1019
1017
  --color-prettylights-syntax-keyword: #ff7b72;
1020
1018
  --color-prettylights-syntax-markup-bold: #f0f6fc;
1021
1019
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
@@ -1646,6 +1644,8 @@
1646
1644
  --codeMirror-matchingBracket-fgColor: var(--fgColor-default);
1647
1645
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1648
1646
  --color-ansi-white-bright: #ffffff;
1647
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1648
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1649
1649
  --contribution-default-borderColor-1: var(--contribution-default-borderColor-0);
1650
1650
  --contribution-default-borderColor-2: var(--contribution-default-borderColor-0);
1651
1651
  --contribution-default-borderColor-3: var(--contribution-default-borderColor-0);
@@ -114,8 +114,6 @@
114
114
  --color-prettylights-syntax-constant-other-reference-link: #032563;
115
115
  --color-prettylights-syntax-entity: #512598;
116
116
  --color-prettylights-syntax-entity-tag: #023b95;
117
- --color-prettylights-syntax-invalid-illegal-bg: #5b2300;
118
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
119
117
  --color-prettylights-syntax-keyword: #873800;
120
118
  --color-prettylights-syntax-markup-changed-bg: #ffc67b;
121
119
  --color-prettylights-syntax-markup-changed-text: #702c00;
@@ -727,6 +725,8 @@
727
725
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
728
726
  --codeMirror-syntax-fgColor-comment: #010409;
729
727
  --color-ansi-black: #010409;
728
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
729
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
730
730
  --color-prettylights-syntax-markup-bold: #010409;
731
731
  --color-prettylights-syntax-markup-italic: #010409;
732
732
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -1012,8 +1012,6 @@
1012
1012
  --color-prettylights-syntax-constant-other-reference-link: #032563;
1013
1013
  --color-prettylights-syntax-entity: #512598;
1014
1014
  --color-prettylights-syntax-entity-tag: #023b95;
1015
- --color-prettylights-syntax-invalid-illegal-bg: #5b2300;
1016
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1017
1015
  --color-prettylights-syntax-keyword: #873800;
1018
1016
  --color-prettylights-syntax-markup-changed-bg: #ffc67b;
1019
1017
  --color-prettylights-syntax-markup-changed-text: #702c00;
@@ -1625,6 +1623,8 @@
1625
1623
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1626
1624
  --codeMirror-syntax-fgColor-comment: #010409;
1627
1625
  --color-ansi-black: #010409;
1626
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1627
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1628
1628
  --color-prettylights-syntax-markup-bold: #010409;
1629
1629
  --color-prettylights-syntax-markup-italic: #010409;
1630
1630
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -105,8 +105,6 @@
105
105
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
106
106
  --color-prettylights-syntax-entity: #6639ba;
107
107
  --color-prettylights-syntax-entity-tag: #0550ae;
108
- --color-prettylights-syntax-invalid-illegal-bg: #762c00;
109
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
110
108
  --color-prettylights-syntax-keyword: #bc4c00;
111
109
  --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
112
110
  --color-prettylights-syntax-markup-changed-text: #953800;
@@ -742,6 +740,8 @@
742
740
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
743
741
  --codeMirror-syntax-fgColor-comment: #1f2328;
744
742
  --color-ansi-black: #1f2328;
743
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
744
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
745
745
  --color-prettylights-syntax-markup-bold: #1f2328;
746
746
  --color-prettylights-syntax-markup-italic: #1f2328;
747
747
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -1003,8 +1003,6 @@
1003
1003
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
1004
1004
  --color-prettylights-syntax-entity: #6639ba;
1005
1005
  --color-prettylights-syntax-entity-tag: #0550ae;
1006
- --color-prettylights-syntax-invalid-illegal-bg: #762c00;
1007
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1008
1006
  --color-prettylights-syntax-keyword: #bc4c00;
1009
1007
  --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
1010
1008
  --color-prettylights-syntax-markup-changed-text: #953800;
@@ -1640,6 +1638,8 @@
1640
1638
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1641
1639
  --codeMirror-syntax-fgColor-comment: #1f2328;
1642
1640
  --color-ansi-black: #1f2328;
1641
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1642
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1643
1643
  --color-prettylights-syntax-markup-bold: #1f2328;
1644
1644
  --color-prettylights-syntax-markup-italic: #1f2328;
1645
1645
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -111,8 +111,6 @@
111
111
  --color-prettylights-syntax-constant-other-reference-link: #032563;
112
112
  --color-prettylights-syntax-entity: #512598;
113
113
  --color-prettylights-syntax-entity-tag: #023b95;
114
- --color-prettylights-syntax-invalid-illegal-bg: #6e011a;
115
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
116
114
  --color-prettylights-syntax-keyword: #a0111f;
117
115
  --color-prettylights-syntax-markup-changed-bg: #ffc67b;
118
116
  --color-prettylights-syntax-markup-changed-text: #702c00;
@@ -724,6 +722,8 @@
724
722
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
725
723
  --codeMirror-syntax-fgColor-comment: #010409;
726
724
  --color-ansi-black: #010409;
725
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
726
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
727
727
  --color-prettylights-syntax-markup-bold: #010409;
728
728
  --color-prettylights-syntax-markup-italic: #010409;
729
729
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -1009,8 +1009,6 @@
1009
1009
  --color-prettylights-syntax-constant-other-reference-link: #032563;
1010
1010
  --color-prettylights-syntax-entity: #512598;
1011
1011
  --color-prettylights-syntax-entity-tag: #023b95;
1012
- --color-prettylights-syntax-invalid-illegal-bg: #6e011a;
1013
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1014
1012
  --color-prettylights-syntax-keyword: #a0111f;
1015
1013
  --color-prettylights-syntax-markup-changed-bg: #ffc67b;
1016
1014
  --color-prettylights-syntax-markup-changed-text: #702c00;
@@ -1622,6 +1620,8 @@
1622
1620
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1623
1621
  --codeMirror-syntax-fgColor-comment: #010409;
1624
1622
  --color-ansi-black: #010409;
1623
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1624
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1625
1625
  --color-prettylights-syntax-markup-bold: #010409;
1626
1626
  --color-prettylights-syntax-markup-italic: #010409;
1627
1627
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -115,8 +115,6 @@
115
115
  --color-prettylights-syntax-constant-other-reference-link: #032563;
116
116
  --color-prettylights-syntax-entity: #512598;
117
117
  --color-prettylights-syntax-entity-tag: #023b95;
118
- --color-prettylights-syntax-invalid-illegal-bg: #6e011a;
119
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
120
118
  --color-prettylights-syntax-keyword: #a0111f;
121
119
  --color-prettylights-syntax-markup-changed-bg: #ffc1bc;
122
120
  --color-prettylights-syntax-markup-changed-text: #86061d;
@@ -727,6 +725,8 @@
727
725
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
728
726
  --codeMirror-syntax-fgColor-comment: #010409;
729
727
  --color-ansi-black: #010409;
728
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
729
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
730
730
  --color-prettylights-syntax-markup-bold: #010409;
731
731
  --color-prettylights-syntax-markup-italic: #010409;
732
732
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -1013,8 +1013,6 @@
1013
1013
  --color-prettylights-syntax-constant-other-reference-link: #032563;
1014
1014
  --color-prettylights-syntax-entity: #512598;
1015
1015
  --color-prettylights-syntax-entity-tag: #023b95;
1016
- --color-prettylights-syntax-invalid-illegal-bg: #6e011a;
1017
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1018
1016
  --color-prettylights-syntax-keyword: #a0111f;
1019
1017
  --color-prettylights-syntax-markup-changed-bg: #ffc1bc;
1020
1018
  --color-prettylights-syntax-markup-changed-text: #86061d;
@@ -1625,6 +1623,8 @@
1625
1623
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1626
1624
  --codeMirror-syntax-fgColor-comment: #010409;
1627
1625
  --color-ansi-black: #010409;
1626
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1627
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1628
1628
  --color-prettylights-syntax-markup-bold: #010409;
1629
1629
  --color-prettylights-syntax-markup-italic: #010409;
1630
1630
  --color-prettylights-syntax-storage-modifier-import: #010409;
@@ -109,8 +109,7 @@
109
109
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
110
110
  --color-prettylights-syntax-entity: #6639ba;
111
111
  --color-prettylights-syntax-entity-tag: #0550ae;
112
- --color-prettylights-syntax-invalid-illegal-bg: #82071e;
113
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
112
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
114
113
  --color-prettylights-syntax-keyword: #cf222e;
115
114
  --color-prettylights-syntax-markup-changed-bg: #ffcecb;
116
115
  --color-prettylights-syntax-markup-changed-text: #a40e26;
@@ -745,6 +744,7 @@
745
744
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
746
745
  --codeMirror-syntax-fgColor-comment: #1f2328;
747
746
  --color-ansi-black: #1f2328;
747
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
748
748
  --color-prettylights-syntax-markup-bold: #1f2328;
749
749
  --color-prettylights-syntax-markup-italic: #1f2328;
750
750
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -1007,8 +1007,7 @@
1007
1007
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
1008
1008
  --color-prettylights-syntax-entity: #6639ba;
1009
1009
  --color-prettylights-syntax-entity-tag: #0550ae;
1010
- --color-prettylights-syntax-invalid-illegal-bg: #82071e;
1011
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1010
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1012
1011
  --color-prettylights-syntax-keyword: #cf222e;
1013
1012
  --color-prettylights-syntax-markup-changed-bg: #ffcecb;
1014
1013
  --color-prettylights-syntax-markup-changed-text: #a40e26;
@@ -1643,6 +1642,7 @@
1643
1642
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1644
1643
  --codeMirror-syntax-fgColor-comment: #1f2328;
1645
1644
  --color-ansi-black: #1f2328;
1645
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1646
1646
  --color-prettylights-syntax-markup-bold: #1f2328;
1647
1647
  --color-prettylights-syntax-markup-italic: #1f2328;
1648
1648
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -107,8 +107,7 @@
107
107
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
108
108
  --color-prettylights-syntax-entity: #6639ba;
109
109
  --color-prettylights-syntax-entity-tag: #0550ae;
110
- --color-prettylights-syntax-invalid-illegal-bg: #82071e;
111
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
110
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
112
111
  --color-prettylights-syntax-keyword: #cf222e;
113
112
  --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
114
113
  --color-prettylights-syntax-markup-changed-text: #953800;
@@ -743,6 +742,7 @@
743
742
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
744
743
  --codeMirror-syntax-fgColor-comment: #1f2328;
745
744
  --color-ansi-black: #1f2328;
745
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
746
746
  --color-prettylights-syntax-markup-bold: #1f2328;
747
747
  --color-prettylights-syntax-markup-italic: #1f2328;
748
748
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -1005,8 +1005,7 @@
1005
1005
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
1006
1006
  --color-prettylights-syntax-entity: #6639ba;
1007
1007
  --color-prettylights-syntax-entity-tag: #0550ae;
1008
- --color-prettylights-syntax-invalid-illegal-bg: #82071e;
1009
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
1008
+ --color-prettylights-syntax-invalid-illegal-text: var(--fgColor-danger);
1010
1009
  --color-prettylights-syntax-keyword: #cf222e;
1011
1010
  --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
1012
1011
  --color-prettylights-syntax-markup-changed-text: #953800;
@@ -1641,6 +1640,7 @@
1641
1640
  --codeMirror-selection-bgColor: var(--borderColor-accent-muted);
1642
1641
  --codeMirror-syntax-fgColor-comment: #1f2328;
1643
1642
  --color-ansi-black: #1f2328;
1643
+ --color-prettylights-syntax-invalid-illegal-bg: var(--bgColor-danger-muted);
1644
1644
  --color-prettylights-syntax-markup-bold: #1f2328;
1645
1645
  --color-prettylights-syntax-markup-italic: #1f2328;
1646
1646
  --color-prettylights-syntax-storage-modifier-import: #1f2328;
@@ -13946,31 +13946,17 @@
13946
13946
  "org.primer.figma": {
13947
13947
  "collection": "mode",
13948
13948
  "group": "syntax"
13949
- },
13950
- "org.primer.overrides": {
13951
- "dark": "#e82a2f",
13952
- "dark-protanopia-deuteranopia": "#bf5e0a",
13953
- "dark-protanopia-deuteranopia-high-contrast": "#bf5e0a",
13954
- "light-protanopia-deuteranopia": "#bf5e0a",
13955
- "light-protanopia-deuteranopia-high-contrast": "#bf5e0a"
13956
13949
  }
13957
13950
  },
13958
13951
  "filePath": "src/tokens/functional/color/syntax.json5",
13959
13952
  "isSource": true,
13960
13953
  "original": {
13961
- "$value": "{base.color.orange.7}",
13954
+ "$value": "{bgColor.danger.muted}",
13962
13955
  "$type": "color",
13963
13956
  "$extensions": {
13964
13957
  "org.primer.figma": {
13965
13958
  "collection": "mode",
13966
13959
  "group": "syntax"
13967
- },
13968
- "org.primer.overrides": {
13969
- "dark": "{base.color.red.7}",
13970
- "dark-protanopia-deuteranopia": "{base.color.orange.7}",
13971
- "dark-protanopia-deuteranopia-high-contrast": "{base.color.orange.7}",
13972
- "light-protanopia-deuteranopia": "{base.color.orange.7}",
13973
- "light-protanopia-deuteranopia-high-contrast": "{base.color.orange.7}"
13974
13960
  }
13975
13961
  },
13976
13962
  "key": "{color.prettylights.syntax.invalid.illegal.bg}"
@@ -13978,7 +13964,7 @@
13978
13964
  "name": "color-prettylights-syntax-invalid-illegal-bg",
13979
13965
  "attributes": {},
13980
13966
  "path": ["color", "prettylights", "syntax", "invalid", "illegal", "bg"],
13981
- "value": "#bf5e0a",
13967
+ "value": "#ff80801a",
13982
13968
  "type": "color"
13983
13969
  },
13984
13970
  "color-prettylights-syntax-invalid-illegal-text": {
@@ -13987,23 +13973,17 @@
13987
13973
  "org.primer.figma": {
13988
13974
  "collection": "mode",
13989
13975
  "group": "syntax"
13990
- },
13991
- "org.primer.overrides": {
13992
- "dark": "#f0f6fc"
13993
13976
  }
13994
13977
  },
13995
13978
  "filePath": "src/tokens/functional/color/syntax.json5",
13996
13979
  "isSource": true,
13997
13980
  "original": {
13998
- "$value": "{base.color.neutral.12}",
13981
+ "$value": "{fgColor.danger}",
13999
13982
  "$type": "color",
14000
13983
  "$extensions": {
14001
13984
  "org.primer.figma": {
14002
13985
  "collection": "mode",
14003
13986
  "group": "syntax"
14004
- },
14005
- "org.primer.overrides": {
14006
- "dark": "{base.color.neutral.12}"
14007
13987
  }
14008
13988
  },
14009
13989
  "key": "{color.prettylights.syntax.invalid.illegal.text}"
@@ -14011,7 +13991,7 @@
14011
13991
  "name": "color-prettylights-syntax-invalid-illegal-text",
14012
13992
  "attributes": {},
14013
13993
  "path": ["color", "prettylights", "syntax", "invalid", "illegal", "text"],
14014
- "value": "#f0f6fc",
13994
+ "value": "#ffb757",
14015
13995
  "type": "color"
14016
13996
  },
14017
13997
  "color-prettylights-syntax-keyword": {