@primer/primitives 7.11.0-rc.f7ccc99 → 7.11.0

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 (142) hide show
  1. package/README.md +2 -2
  2. package/dist/color-contrast-check.json +1 -1
  3. package/dist/deprecated/colors.json +7 -1
  4. package/dist/js/colors/dark.d.ts +5 -0
  5. package/dist/js/colors/dark.js +5 -0
  6. package/dist/js/colors/dark_colorblind.d.ts +5 -0
  7. package/dist/js/colors/dark_colorblind.js +5 -0
  8. package/dist/js/colors/dark_dimmed.d.ts +5 -0
  9. package/dist/js/colors/dark_dimmed.js +5 -0
  10. package/dist/js/colors/dark_high_contrast.d.ts +5 -0
  11. package/dist/js/colors/dark_high_contrast.js +5 -0
  12. package/dist/js/colors/dark_tritanopia.d.ts +5 -0
  13. package/dist/js/colors/dark_tritanopia.js +5 -0
  14. package/dist/js/colors/index.d.ts +45 -0
  15. package/dist/js/colors/light.d.ts +5 -0
  16. package/dist/js/colors/light.js +5 -0
  17. package/dist/js/colors/light_colorblind.d.ts +5 -0
  18. package/dist/js/colors/light_colorblind.js +5 -0
  19. package/dist/js/colors/light_high_contrast.d.ts +5 -0
  20. package/dist/js/colors/light_high_contrast.js +5 -0
  21. package/dist/js/colors/light_tritanopia.d.ts +5 -0
  22. package/dist/js/colors/light_tritanopia.js +5 -0
  23. package/dist/js/index.d.ts +45 -0
  24. package/dist/json/colors/dark.json +5 -0
  25. package/dist/json/colors/dark_colorblind.json +5 -0
  26. package/dist/json/colors/dark_dimmed.json +5 -0
  27. package/dist/json/colors/dark_high_contrast.json +5 -0
  28. package/dist/json/colors/dark_tritanopia.json +5 -0
  29. package/dist/json/colors/light.json +5 -0
  30. package/dist/json/colors/light_colorblind.json +5 -0
  31. package/dist/json/colors/light_high_contrast.json +5 -0
  32. package/dist/json/colors/light_tritanopia.json +5 -0
  33. package/dist/scss/colors/_dark.scss +1 -0
  34. package/dist/scss/colors/_dark_colorblind.scss +1 -0
  35. package/dist/scss/colors/_dark_dimmed.scss +1 -0
  36. package/dist/scss/colors/_dark_high_contrast.scss +1 -0
  37. package/dist/scss/colors/_dark_tritanopia.scss +1 -0
  38. package/dist/scss/colors/_light.scss +1 -0
  39. package/dist/scss/colors/_light_colorblind.scss +1 -0
  40. package/dist/scss/colors/_light_high_contrast.scss +1 -0
  41. package/dist/scss/colors/_light_tritanopia.scss +1 -0
  42. package/dist/ts/colors/dark.ts +5 -0
  43. package/dist/ts/colors/dark_colorblind.ts +5 -0
  44. package/dist/ts/colors/dark_dimmed.ts +5 -0
  45. package/dist/ts/colors/dark_high_contrast.ts +5 -0
  46. package/dist/ts/colors/dark_tritanopia.ts +5 -0
  47. package/dist/ts/colors/light.ts +5 -0
  48. package/dist/ts/colors/light_colorblind.ts +5 -0
  49. package/dist/ts/colors/light_high_contrast.ts +5 -0
  50. package/dist/ts/colors/light_tritanopia.ts +5 -0
  51. package/package.json +16 -15
  52. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  53. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  54. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  55. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  56. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  57. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  58. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  59. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  60. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  61. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  62. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  63. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  64. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  65. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  66. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  67. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  68. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  69. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  70. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  71. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  72. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  73. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  74. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  75. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  76. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  77. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  78. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  79. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  80. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  81. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  82. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  83. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  84. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  85. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  86. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  87. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  88. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  89. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  90. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  93. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  94. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  95. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  96. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  97. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  98. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  99. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  100. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  101. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  102. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  103. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  104. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  105. package/CHANGELOG.md +0 -685
  106. package/tokens/base/color/dark/dark.dimmed.json5 +0 -128
  107. package/tokens/base/color/dark/dark.high-contrast.json5 +0 -128
  108. package/tokens/base/color/dark/dark.json5 +0 -133
  109. package/tokens/base/color/dark/dark.protanopia-deuteranopia.json5 +0 -48
  110. package/tokens/base/color/dark/dark.tritanopia.json5 +0 -96
  111. package/tokens/base/color/light/light.high-contrast.json5 +0 -394
  112. package/tokens/base/color/light/light.json5 +0 -403
  113. package/tokens/base/color/light/light.protanopia-deuteranopia.json5 +0 -138
  114. package/tokens/base/color/light/light.tritanopia.json5 +0 -96
  115. package/tokens/functional/border/dark.json5 +0 -12
  116. package/tokens/functional/border/light.json5 +0 -12
  117. package/tokens/functional/color/dark/ansi-dark.json5 +0 -74
  118. package/tokens/functional/color/dark/checks-dark.json5 +0 -289
  119. package/tokens/functional/color/dark/components-dark.json5 +0 -556
  120. package/tokens/functional/color/dark/diff-dark.json5 +0 -78
  121. package/tokens/functional/color/dark/marketing-dark.json5 +0 -24
  122. package/tokens/functional/color/dark/misc-dark.json5 +0 -38
  123. package/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -17
  124. package/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -276
  125. package/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -50
  126. package/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -49
  127. package/tokens/functional/color/dark/primitives-dark.json5 +0 -322
  128. package/tokens/functional/color/dark/syntax-dark.json5 +0 -208
  129. package/tokens/functional/color/light/ansi-light.json5 +0 -74
  130. package/tokens/functional/color/light/checks-light.json5 +0 -296
  131. package/tokens/functional/color/light/components-light.json5 +0 -469
  132. package/tokens/functional/color/light/diff-light.json5 +0 -76
  133. package/tokens/functional/color/light/marketing-light.json5 +0 -24
  134. package/tokens/functional/color/light/misc-light.json5 +0 -37
  135. package/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -332
  136. package/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -92
  137. package/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -92
  138. package/tokens/functional/color/light/primitives-light.json5 +0 -313
  139. package/tokens/functional/color/light/syntax-light.json5 +0 -208
  140. package/tokens/functional/color/scales.json5 +0 -493
  141. package/tokens/functional/shadow/dark.json5 +0 -93
  142. package/tokens/functional/shadow/light.json5 +0 -100
package/CHANGELOG.md DELETED
@@ -1,685 +0,0 @@
1
- # @primer/primitives
2
-
3
- ## 7.11.0
4
-
5
- ### Minor Changes
6
-
7
- - [#385](https://github.com/primer/primitives/pull/385) [`e03c7fd`](https://github.com/primer/primitives/commit/e03c7fd8a6d902e8d7784fd889acb3779236ba51) Thanks [@simurai](https://github.com/simurai)! - Add `Noto Sans` to the font stack
8
-
9
- - [#384](https://github.com/primer/primitives/pull/384) [`8b76794`](https://github.com/primer/primitives/commit/8b767947e35a79db17b9d7970836f03c904c8afe) Thanks [@langermank](https://github.com/langermank)! - - Remove deprecated focus color tokens in favor of "global" styles from Primer CSS
10
-
11
- ## 7.10.0
12
-
13
- ### Minor Changes
14
-
15
- - [#358](https://github.com/primer/primitives/pull/358) [`a188c78`](https://github.com/primer/primitives/commit/a188c788c88dbf8f79bb3252d24416bd195fbc14) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds a color token for the treeview icon fill.
16
-
17
- * [#354](https://github.com/primer/primitives/pull/354) [`3b28659`](https://github.com/primer/primitives/commit/3b286594aed3d4de97866d354f050f7e59945e95) Thanks [@mperrotti](https://github.com/mperrotti)! - Introduces TreeView.Item component color primitives
18
-
19
- ### Patch Changes
20
-
21
- - [#351](https://github.com/primer/primitives/pull/351) [`d8d2480`](https://github.com/primer/primitives/commit/d8d2480c1ec971dca7dd9b1026cf445663f1ae03) Thanks [@langermank](https://github.com/langermank)! - Add SCSS vars for PCSS utilities & dotcom
22
-
23
- ## 7.9.0
24
-
25
- ### Minor Changes
26
-
27
- - [#329](https://github.com/primer/primitives/pull/329) [`607cc75`](https://github.com/primer/primitives/commit/607cc753b305285faf399fdc47bb752cb6c71713) Thanks [@simurai](https://github.com/simurai)! - Add SegmentedControl colors
28
-
29
- ### Patch Changes
30
-
31
- - [#338](https://github.com/primer/primitives/pull/338) [`4dc8e2e`](https://github.com/primer/primitives/commit/4dc8e2ea3725c32fcf3b5a7cfc0cf29d943e2169) Thanks [@adrian5](https://github.com/adrian5)! - Normalize color data to lowercase hex
32
-
33
- ## 7.8.4
34
-
35
- ### Patch Changes
36
-
37
- - [#334](https://github.com/primer/primitives/pull/334) [`ff5fea6`](https://github.com/primer/primitives/commit/ff5fea6dfb229c430fec66277cf24520dd70d7b5) Thanks [@langermank](https://github.com/langermank)! - Typography bug fixes + border thickness naming
38
-
39
- ## 7.8.3
40
-
41
- ### Patch Changes
42
-
43
- - [#326](https://github.com/primer/primitives/pull/326) [`bc75b88`](https://github.com/primer/primitives/commit/bc75b88c06bd9dc2aacd0dcdc0f52927bc527b06) Thanks [@rezrah](https://github.com/rezrah)! - export StyleDictionary for app-level extending
44
-
45
- ## 7.8.2
46
-
47
- ### Patch Changes
48
-
49
- - [#323](https://github.com/primer/primitives/pull/323) [`40f15d5`](https://github.com/primer/primitives/commit/40f15d530a130390debb794dbc4080f58b42d49e) Thanks [@rezrah](https://github.com/rezrah)! - add self serve tooling for v2 primitives
50
-
51
- ## 7.8.1
52
-
53
- ### Patch Changes
54
-
55
- - [#321](https://github.com/primer/primitives/pull/321) [`97b4ba2`](https://github.com/primer/primitives/commit/97b4ba2bc4a86262489e11501563b6e76a7d12c2) Thanks [@rezrah](https://github.com/rezrah)! - Fixes post installation command
56
-
57
- ## 7.8.0
58
-
59
- ### Minor Changes
60
-
61
- - [#317](https://github.com/primer/primitives/pull/317) [`45359ea`](https://github.com/primer/primitives/commit/45359eab4613edacfad331858128f187a01ce49c) Thanks [@langermank](https://github.com/langermank)! - - Initial design tokens release for interal Primer team use only
62
- - Private docs that can be accessed at /typography and /size
63
- - Separate dist for testing purposes only
64
-
65
- ## 7.7.0
66
-
67
- ### Minor Changes
68
-
69
- - [#310](https://github.com/primer/primitives/pull/310) [`3a72849`](https://github.com/primer/primitives/commit/3a728498f352f737b8d257d1f70bd7d40e39d8db) Thanks [@simurai](https://github.com/simurai)! - Add Tritanopia theme
70
-
71
- ## 7.6.0
72
-
73
- ### Minor Changes
74
-
75
- - [#309](https://github.com/primer/primitives/pull/309) [`4588342`](https://github.com/primer/primitives/commit/45883423f029e7dee067fe4dd9636bebb11adbbe) Thanks [@mperrotti](https://github.com/mperrotti)! - adds primitives for toggle switch component
76
-
77
- ### Patch Changes
78
-
79
- - [#307](https://github.com/primer/primitives/pull/307) [`da4ffd3`](https://github.com/primer/primitives/commit/da4ffd338a41bb1f653e096c8b886db4834b3715) Thanks [@simurai](https://github.com/simurai)! - Increase contrast for dark `fg.subtle`
80
-
81
- ## 7.5.1
82
-
83
- ### Patch Changes
84
-
85
- - [#306](https://github.com/primer/primitives/pull/306) [`8e9779c`](https://github.com/primer/primitives/commit/8e9779cd917554874bbc60cda0fd3baaf69118ca) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Color scale improvements for Blue and Orange
86
-
87
- * [#303](https://github.com/primer/primitives/pull/303) [`07e01ad`](https://github.com/primer/primitives/commit/07e01add2f4d48ca32ffed6e4c61304fd93d0a16) Thanks [@simurai](https://github.com/simurai)! - Update `closed` role for `dark_colorblind`
88
-
89
- - [#304](https://github.com/primer/primitives/pull/304) [`94ae707`](https://github.com/primer/primitives/commit/94ae70763ac93e17c78bd5c2444d5ebb93fa0a7e) Thanks [@edokoa](https://github.com/edokoa)! - Change `scale.white` in dark mode to `#ffffff`
90
-
91
- ## 7.5.0
92
-
93
- ### Minor Changes
94
-
95
- - [#296](https://github.com/primer/primitives/pull/296) [`389b08b`](https://github.com/primer/primitives/commit/389b08bd09d965b117516ea5c72da64bc4cb03d9) Thanks [@simurai](https://github.com/simurai)! - Add `open` and `closed` roles
96
-
97
- ### Patch Changes
98
-
99
- - [#301](https://github.com/primer/primitives/pull/301) [`2f18306`](https://github.com/primer/primitives/commit/2f1830606a025239a9153d4ebeec46ef0fa894e6) Thanks [@konradpabjan](https://github.com/konradpabjan)! - [Actions] Update light theme color for gateWaitingText
100
-
101
- ## 7.4.1
102
-
103
- ### Patch Changes
104
-
105
- - [#289](https://github.com/primer/primitives/pull/289) [`0253f6e`](https://github.com/primer/primitives/commit/0253f6eda2868c128761a30a41b236b734c3cd34) Thanks [@simurai](https://github.com/simurai)! - Add utility mapping
106
-
107
- ## 7.4.0
108
-
109
- ### Minor Changes
110
-
111
- - [#283](https://github.com/primer/primitives/pull/283) [`1bcb44f`](https://github.com/primer/primitives/commit/1bcb44f51bbf612302e9204cf4e1dc187ec6be94) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Background adjustments for High Contrast theme.
112
-
113
- ## 7.3.0
114
-
115
- ### Minor Changes
116
-
117
- - [#284](https://github.com/primer/primitives/pull/284) [`fc76170`](https://github.com/primer/primitives/commit/fc76170cc8e6ee59011d70857698867093f94d81) Thanks [@simurai](https://github.com/simurai)! - Add `pageHeaderBg` primitive
118
-
119
- ## 7.2.0
120
-
121
- ### Minor Changes
122
-
123
- - [#282](https://github.com/primer/primitives/pull/282) [`71f5486`](https://github.com/primer/primitives/commit/71f548663a247c3ff347657ebaaceae7d1c458f5) Thanks [@simurai](https://github.com/simurai)! - Add `header.divider`
124
-
125
- * [#279](https://github.com/primer/primitives/pull/279) [`3729355`](https://github.com/primer/primitives/commit/3729355a30bd361f2be5da379cc85357f474d9a1) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Add border to topic-tag and counters
126
-
127
- ### Patch Changes
128
-
129
- - [#277](https://github.com/primer/primitives/pull/277) [`3fda2d3`](https://github.com/primer/primitives/commit/3fda2d3eb43662331c1b93876267592bf7b9fcc3) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Increased contrast in Light HC shades
130
-
131
- * [#281](https://github.com/primer/primitives/pull/281) [`8da4db2`](https://github.com/primer/primitives/commit/8da4db27af11bb011c2efcbe2e5eb736a09cbc55) Thanks [@simurai](https://github.com/simurai)! - Improve diff-blob-expander-icon (follow-up)
132
-
133
- - [#281](https://github.com/primer/primitives/pull/281) [`8da4db2`](https://github.com/primer/primitives/commit/8da4db27af11bb011c2efcbe2e5eb736a09cbc55) Thanks [@simurai](https://github.com/simurai)! - Improve diff-blob-expander
134
-
135
- * [#280](https://github.com/primer/primitives/pull/280) [`46d2c1e`](https://github.com/primer/primitives/commit/46d2c1eb5727ad6d68ba1ef8fc4c8f5241c2d857) Thanks [@simurai](https://github.com/simurai)! - Improve diff-blob-expander-icon
136
-
137
- ## 7.1.1
138
-
139
- ### Patch Changes
140
-
141
- - [#273](https://github.com/primer/primitives/pull/273) [`5c8d9a9`](https://github.com/primer/primitives/commit/5c8d9a99fca308bc23ba03e29a2a8ef2eef947fa) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Border improvements
142
-
143
- * [#276](https://github.com/primer/primitives/pull/276) [`f2d41ec`](https://github.com/primer/primitives/commit/f2d41ec00c70a5e794dc76567098ebcb11fbed8a) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Improved button states for light HC
144
-
145
- - [#274](https://github.com/primer/primitives/pull/274) [`f071312`](https://github.com/primer/primitives/commit/f0713123fd89552fab1b38e6f2be88747d9d8f1a) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Improved contrast for change highlights in diff
146
-
147
- ## 7.1.0
148
-
149
- ### Minor Changes
150
-
151
- - [#271](https://github.com/primer/primitives/pull/271) [`f6e25d7`](https://github.com/primer/primitives/commit/f6e25d7a4a262bb7d0b08ae22beca6c9aaae63bf) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Add light high contrast theme
152
-
153
- ## 7.0.1
154
-
155
- ### Patch Changes
156
-
157
- - [#269](https://github.com/primer/primitives/pull/269) [`f16073c`](https://github.com/primer/primitives/commit/f16073c694209b0ef631a78fabaf304e2487b7c9) Thanks [@simurai](https://github.com/simurai)! - Mark mktg primitives as removed
158
-
159
- ## 7.0.0
160
-
161
- ### Major Changes
162
-
163
- - [#267](https://github.com/primer/primitives/pull/267) [`39a664e`](https://github.com/primer/primitives/commit/39a664ebda5d971cb65acc60dc861ea448f64deb) Thanks [@simurai](https://github.com/simurai)! - Prepare for new gloss buttons with color mode support
164
-
165
- ## 6.1.0
166
-
167
- ### Minor Changes
168
-
169
- - [#256](https://github.com/primer/primitives/pull/256) [`893d873`](https://github.com/primer/primitives/commit/893d873c57240df02a23a82c178d9a3a0ca6a983) Thanks [@auareyou](https://github.com/auareyou)! - Add `actionListItem` variables
170
-
171
- ## 6.0.0
172
-
173
- ### Major Changes
174
-
175
- - [#260](https://github.com/primer/primitives/pull/260) [`a11b8a7`](https://github.com/primer/primitives/commit/a11b8a7aaeb86b838501ded7a2c8a2eff0e68aba) Thanks [@jonrohan](https://github.com/jonrohan)! - Rename color blind themes
176
-
177
- ## 5.1.0
178
-
179
- ### Minor Changes
180
-
181
- - [#252](https://github.com/primer/primitives/pull/252) [`48149b1`](https://github.com/primer/primitives/commit/48149b116a4708ad87712e6b13cfa1489f66cc0c) Thanks [@simurai](https://github.com/simurai)! - Add `primer.fg.disabled`
182
-
183
- ## 5.0.0
184
-
185
- ### Major Changes
186
-
187
- - [#245](https://github.com/primer/primitives/pull/245) [`65ad2df`](https://github.com/primer/primitives/commit/65ad2df4d19f1eac86778879266bab6648ebe0e4) Thanks [@colebemis](https://github.com/colebemis)! - All deprecated color variables have been removed. See [removed variables](https://primer.style/primitives/colors#removed-variables) for the complete list of removed variables.
188
-
189
- * [#245](https://github.com/primer/primitives/pull/245) [`65ad2df`](https://github.com/primer/primitives/commit/65ad2df4d19f1eac86778879266bab6648ebe0e4) Thanks [@colebemis](https://github.com/colebemis)! - The `deprecations` directory in the `dist` directory has been renamed to `deprecated`:
190
-
191
- ```diff
192
- dist/
193
- - deprecations/
194
- + deprecated/
195
- ```
196
-
197
- You'll need to update your imports accordingly:
198
-
199
- ```diff
200
- - import deprecatedColors from '@primer/primitives/dist/deprecations/colors.json'
201
- + import deprecatedColors from '@primer/primitives/dist/deprecated/colors.json'
202
- ```
203
-
204
- ### Minor Changes
205
-
206
- - [#245](https://github.com/primer/primitives/pull/245) [`65ad2df`](https://github.com/primer/primitives/commit/65ad2df4d19f1eac86778879266bab6648ebe0e4) Thanks [@colebemis](https://github.com/colebemis)! - The [`dist`](https://unpkg.com/browse/@primer/primitives/dist/) directory now contains a `removed` directory with data about removed variables organized by category:
207
-
208
- ```diff
209
- dist/
210
- js/
211
- ts/
212
- json/
213
- scss/
214
- deprecated/
215
- + removed/
216
- + colors.json
217
- ```
218
-
219
- Each JSON file in the `removed` directory contains a mapping of removed variables to replacement variables. Example:
220
-
221
- ```js
222
- // dist/removed/colors.json
223
- {
224
- "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead
225
- "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead
226
- "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it
227
- }
228
- ```
229
-
230
- This data will allow you to write linters to prevent usage of removed variables.
231
-
232
- ### Patch Changes
233
-
234
- - [#250](https://github.com/primer/primitives/pull/250) [`9948e13`](https://github.com/primer/primitives/commit/9948e139bcdd360bccb939aab27992ac06b3a3bf) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fix duplicate hex value (red 9)
235
-
236
- ## 4.8.1
237
-
238
- ### Patch Changes
239
-
240
- - [#246](https://github.com/primer/primitives/pull/246) [`22e1524`](https://github.com/primer/primitives/commit/22e15240b18b7b18ab3193a759576fda8f611012) Thanks [@simurai](https://github.com/simurai)! - Fix exceptions for light themes
241
-
242
- * [#242](https://github.com/primer/primitives/pull/242) [`c57b590`](https://github.com/primer/primitives/commit/c57b5901007313c6d451933bc0402ef280907265) Thanks [@simurai](https://github.com/simurai)! - Map `border.tertiary` to `border.default`
243
-
244
- - [#243](https://github.com/primer/primitives/pull/243) [`c8adddc`](https://github.com/primer/primitives/commit/c8adddcb85e7476a6864326160131622a6e21910) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fix diff highlights + Btn primary state fixes
245
-
246
- ## 4.8.0
247
-
248
- ### Minor Changes
249
-
250
- - [#236](https://github.com/primer/primitives/pull/236) [`ec5eb62`](https://github.com/primer/primitives/commit/ec5eb62cbddd711cc027b8edcffb961b92643c4f) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Add new color blind themes:
251
- - `light_protanopia`
252
- - `dark_protanopia`
253
-
254
- ### Patch Changes
255
-
256
- - [#235](https://github.com/primer/primitives/pull/235) [`ac4edb8`](https://github.com/primer/primitives/commit/ac4edb8be96d885babfc09f8fae23d5e4458fd94) Thanks [@simurai](https://github.com/simurai)! - Add `canvasDefaultTransparent` app color variable
257
-
258
- ## 4.7.1
259
-
260
- ### Patch Changes
261
-
262
- - [#233](https://github.com/primer/primitives/pull/233) [`647cf69`](https://github.com/primer/primitives/commit/647cf69215f6293f924df03417134babab1739a1) Thanks [@colebemis](https://github.com/colebemis)! - Delete experimental `data/colors_v2` directory
263
-
264
- ## 4.7.0
265
-
266
- ### Minor Changes
267
-
268
- - [#224](https://github.com/primer/primitives/pull/224) [`eaf6bb5`](https://github.com/primer/primitives/commit/eaf6bb5b70b01b633c0212b358db96cc44cef6a9) Thanks [@colebemis](https://github.com/colebemis)! - Add new functional color variables. See [primer.style/primitives/colors](https://primer.style/primitives/colors) for details about the new color system.
269
-
270
- * [#224](https://github.com/primer/primitives/pull/224) [`eaf6bb5`](https://github.com/primer/primitives/commit/eaf6bb5b70b01b633c0212b358db96cc44cef6a9) Thanks [@colebemis](https://github.com/colebemis)! - Introduce a Dark High Contrast theme.
271
-
272
- **Note:** The Dark High Contrast theme will only work with the new [functional color variables](https://primer.style/primitives/colors#functional-variables)
273
-
274
- - [#224](https://github.com/primer/primitives/pull/224) [`eaf6bb5`](https://github.com/primer/primitives/commit/eaf6bb5b70b01b633c0212b358db96cc44cef6a9) Thanks [@colebemis](https://github.com/colebemis)! - Deprecate variables from the old color system. See [primer.style/primitives/colors#deprecated-variables](https://primer.style/primitives/colors#deprecated-variables) for the complete list of deprecated variables.
275
-
276
- ## 4.6.9
277
-
278
- ### Patch Changes
279
-
280
- - [#229](https://github.com/primer/primitives/pull/229) [`6d4dbb0`](https://github.com/primer/primitives/commit/6d4dbb02307d0d3efb95bd9450a5e6aa677250e7) Thanks [@simurai](https://github.com/simurai)! - Undeprecate `timeline.badgeBg`
281
-
282
- ## 4.6.8
283
-
284
- ### Patch Changes
285
-
286
- - [#220](https://github.com/primer/primitives/pull/220) [`a811195`](https://github.com/primer/primitives/commit/a8111958a2e108f063a013fd073e9ba1fe24889d) Thanks [@colebemis](https://github.com/colebemis)! - Fix `searchKeyword.hl` in `colors_v2`
287
-
288
- * [#223](https://github.com/primer/primitives/pull/223) [`a474221`](https://github.com/primer/primitives/commit/a474221d2667ae335974c5113871b478898ebe8d) Thanks [@colebemis](https://github.com/colebemis)! - Fix `headerSearch.*` variables in colors_v2
289
-
290
- - [#226](https://github.com/primer/primitives/pull/226) [`2486b61`](https://github.com/primer/primitives/commit/2486b618c812e8ffac46940b9e9dafc87edee08e) Thanks [@auareyou](https://github.com/auareyou)! - Color adjustments to diff
291
-
292
- ## 4.6.7
293
-
294
- ### Patch Changes
295
-
296
- - [#217](https://github.com/primer/primitives/pull/217) [`aaa62f0`](https://github.com/primer/primitives/commit/aaa62f0d71ee022f53b673f51bb162fae950eb6f) Thanks [@simurai](https://github.com/simurai)! - Update timeline-badge-bg
297
-
298
- ## 4.6.6
299
-
300
- ### Patch Changes
301
-
302
- - [#215](https://github.com/primer/primitives/pull/215) [`4b23b00`](https://github.com/primer/primitives/commit/4b23b00a5f7bd427882500e94c3eb087fc18fd55) Thanks [@auareyou](https://github.com/auareyou)! - Bug fixes
303
-
304
- ## 4.6.5
305
-
306
- ### Patch Changes
307
-
308
- - [#212](https://github.com/primer/primitives/pull/212) [`e148aa1`](https://github.com/primer/primitives/commit/e148aa1d6495f9e083eb8b6b0566151b156d759a) Thanks [@auareyou](https://github.com/auareyou)! - Add `topicTag.border`
309
-
310
- * [#212](https://github.com/primer/primitives/pull/212) [`1eaadb1`](https://github.com/primer/primitives/commit/1eaadb145bcdbc814020fc8b4747ffbeb1ccfaf6) Thanks [@auareyou](https://github.com/auareyou)! - Small fixes
311
-
312
- - [#213](https://github.com/primer/primitives/pull/213) [`85aecab`](https://github.com/primer/primitives/commit/85aecabb6340347e2aba999deceee1111214266b) Thanks [@auareyou](https://github.com/auareyou)! - Small fixes
313
-
314
- ## 4.6.4
315
-
316
- ### Patch Changes
317
-
318
- - [#210](https://github.com/primer/primitives/pull/210) [`94868fd`](https://github.com/primer/primitives/commit/94868fdea242f848b79d82baac0ff7a1285c5b56) Thanks [@auareyou](https://github.com/auareyou)! - Fix small bugs in dark mode
319
-
320
- ## 4.6.3
321
-
322
- ### Patch Changes
323
-
324
- - [#208](https://github.com/primer/primitives/pull/208) [`248eb81`](https://github.com/primer/primitives/commit/248eb81d61fede2af948557bcf2ca9c924a9866f) Thanks [@auareyou](https://github.com/auareyou)! - Fixed numText variables for the diff
325
-
326
- ## 4.6.2
327
-
328
- ### Patch Changes
329
-
330
- - [#206](https://github.com/primer/primitives/pull/206) [`a18f427`](https://github.com/primer/primitives/commit/a18f427ceec355702272c3001e25fe5a9effe34f) Thanks [@colebemis](https://github.com/colebemis)! - Add color deprecations file
331
-
332
- ## 4.6.1
333
-
334
- ### Patch Changes
335
-
336
- - [#201](https://github.com/primer/primitives/pull/201) [`19131a4`](https://github.com/primer/primitives/commit/19131a428f803fce36f80cf3288777ec46bd1c60) Thanks [@auareyou](https://github.com/auareyou)! - Various v2 improvements
337
-
338
- ## 4.6.0
339
-
340
- ### Minor Changes
341
-
342
- - [#202](https://github.com/primer/primitives/pull/202) [`25a91d9`](https://github.com/primer/primitives/commit/25a91d9db896229df54549dca6afb1c670fa2bb5) Thanks [@colebemis](https://github.com/colebemis)! - The [`dist`](https://unpkg.com/browse/@primer/primitives/dist/) directory now contains a `deprecations` directory with variable deprecation data organized by category:
343
-
344
- ```diff
345
- dist/
346
- js/
347
- ts/
348
- json/
349
- scss/
350
- + deprecations/
351
- + colors.json
352
- ```
353
-
354
- Each JSON file in the `deprecations` directory contains a mapping of deprecated variables to replacement variables. Example:
355
-
356
- ```js
357
- // dist/deprecations/colors.json
358
- {
359
- "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead
360
- "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead
361
- "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it
362
- }
363
- ```
364
-
365
- This data will allow consumers of `@primer/primitives` (e.g. [Primer React](https://primer.style/react) and [Primer ViewComponents](https://primer.style/view-components)) to write linters to prevent usage of deprecated variables.
366
-
367
- ## 4.5.4
368
-
369
- ### Patch Changes
370
-
371
- - [#194](https://github.com/primer/primitives/pull/194) [`5280f5c`](https://github.com/primer/primitives/commit/5280f5c5d36f7b6e98d22c9c5a0146588360d226) Thanks [@simurai](https://github.com/simurai)! - Un-deprecate `search-keyword-hl`
372
-
373
- * [#196](https://github.com/primer/primitives/pull/196) [`06202b9`](https://github.com/primer/primitives/commit/06202b996e9c2e9a27d5e15a3130f463f6687708) Thanks [@auareyou](https://github.com/auareyou)! - Changes to the diff
374
-
375
- ## 4.5.3
376
-
377
- ### Patch Changes
378
-
379
- - [#195](https://github.com/primer/primitives/pull/195) [`d7a8ae1`](https://github.com/primer/primitives/commit/d7a8ae18eed3e5419161715c5e91f981db9f5460) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Slightly lighter Red-0 for improved diff highlight.
380
-
381
- * [#188](https://github.com/primer/primitives/pull/188) [`a8fe22e`](https://github.com/primer/primitives/commit/a8fe22e4d631f143aa9c33fd7a749756bf1f71a1) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Update green scale to be slightly less yellow
382
-
383
- ## 4.5.2
384
-
385
- ### Patch Changes
386
-
387
- - [#179](https://github.com/primer/primitives/pull/179) [`f64ae47`](https://github.com/primer/primitives/commit/f64ae471d6ef3e6db73dfe1be11c7cbe53cf1bf8) Thanks [@simurai](https://github.com/simurai)! - Move `btn.selectedBg`
388
-
389
- * [#182](https://github.com/primer/primitives/pull/182) [`3bfc800`](https://github.com/primer/primitives/commit/3bfc800be3b7481217bb05e66b79a8ae72a6cf78) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Update tooltip background
390
-
391
- - [#181](https://github.com/primer/primitives/pull/181) [`fc9e9f8`](https://github.com/primer/primitives/commit/fc9e9f85a0b430ebdaf867bb90f5d4e0e66bc363) Thanks [@simurai](https://github.com/simurai)! - Move header-search from product to component
392
-
393
- * [#186](https://github.com/primer/primitives/pull/186) [`5198cfa`](https://github.com/primer/primitives/commit/5198cfa8f7a8e688f48dff2ac604792023db5a26) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Underline nav contrast improvements
394
-
395
- - [#185](https://github.com/primer/primitives/pull/185) [`6750323`](https://github.com/primer/primitives/commit/6750323e7daff2980763e394de5e11259edb932a) Thanks [@simurai](https://github.com/simurai)! - Increase `<code>` contrast
396
-
397
- * [#183](https://github.com/primer/primitives/pull/183) [`d27b310`](https://github.com/primer/primitives/commit/d27b31034487b46932fc4438ee0ce6ac891eb6ad) Thanks [@auareyou](https://github.com/auareyou)! - Changed alert foregrounds to use `fg.default`
398
-
399
- - [#184](https://github.com/primer/primitives/pull/184) [`420c257`](https://github.com/primer/primitives/commit/420c2579d5f2b29da2214342a33b3cec4376e2d8) Thanks [@simurai](https://github.com/simurai)! - Increase dark checks.inputBg contrast
400
-
401
- ## 4.5.1
402
-
403
- ### Patch Changes
404
-
405
- - [#176](https://github.com/primer/primitives/pull/176) [`40d0661`](https://github.com/primer/primitives/commit/40d0661b48c8fd0df75000bf87dbe5a674a9cee0) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Added btn.selected hc exception
406
-
407
- * [#178](https://github.com/primer/primitives/pull/178) [`0461344`](https://github.com/primer/primitives/commit/04613440d60133a2a9fec39b2f687323be720f1a) Thanks [@simurai](https://github.com/simurai)! - Update `codemirror.selectionBg`
408
-
409
- - [#174](https://github.com/primer/primitives/pull/174) [`0071ef5`](https://github.com/primer/primitives/commit/0071ef571c2e8a84df753a3d291d3a9d69b1d409) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fixed syntax for hover text + icon
410
-
411
- * [#177](https://github.com/primer/primitives/pull/177) [`4d14328`](https://github.com/primer/primitives/commit/4d14328e062d16c295f342f5c9fe96a660285b18) Thanks [@simurai](https://github.com/simurai)! - Update `diffBlob.selectedLineHighlightMixBlendMode` in dark mode
412
-
413
- ## 4.5.0
414
-
415
- ### Minor Changes
416
-
417
- - [#172](https://github.com/primer/primitives/pull/172) [`2271374`](https://github.com/primer/primitives/commit/2271374c7489a7b4cb32715cd3e6d958ca3c3c42) Thanks [@simurai](https://github.com/simurai)! - Add `primer.fg.white`
418
-
419
- * [#168](https://github.com/primer/primitives/pull/168) [`cd89a9c`](https://github.com/primer/primitives/commit/cd89a9c9baebf6e35a92d2ce4d1bd7e3b9222159) Thanks [@simurai](https://github.com/simurai)! - Add checks-donut variables
420
-
421
- - [#171](https://github.com/primer/primitives/pull/171) [`9e7b1bb`](https://github.com/primer/primitives/commit/9e7b1bbdf1154ced03dbd3e7399b7d60006fc79a) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Added new variable for diff foreground
422
-
423
- * [#173](https://github.com/primer/primitives/pull/173) [`86d4ffd`](https://github.com/primer/primitives/commit/86d4ffd1aadbcaddad238d5ae3b0b4081e0c6886) Thanks [@simurai](https://github.com/simurai)! - Deprecate text-white
424
-
425
- ### Patch Changes
426
-
427
- - [#170](https://github.com/primer/primitives/pull/170) [`e055b14`](https://github.com/primer/primitives/commit/e055b147209b790ac2f59a3245753a372712cbfd) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Remapped neutral.emphasis to gray.4 instead of gray.6
428
-
429
- * [#166](https://github.com/primer/primitives/pull/166) [`2f55806`](https://github.com/primer/primitives/commit/2f55806f00a8d380ed67198faa0146902b5e7c18) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Changed attention.emphasis from 5 → 4
430
-
431
- - [#169](https://github.com/primer/primitives/pull/169) [`dc4e70a`](https://github.com/primer/primitives/commit/dc4e70ab140fccc3603b46fdc15dced3b1b27c4a) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fixed danger button hover state
432
-
433
- ## 4.4.4
434
-
435
- ### Patch Changes
436
-
437
- - [#161](https://github.com/primer/primitives/pull/161) [`6ed4ac6`](https://github.com/primer/primitives/commit/6ed4ac64ce5cf86c9fe59fd25d19adfc06fec5c2) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fixed wrong order of light coral scale
438
-
439
- * [#165](https://github.com/primer/primitives/pull/165) [`1ca0384`](https://github.com/primer/primitives/commit/1ca03848924d1ab7b704e0786cdd387d7ca852f1) Thanks [@simurai](https://github.com/simurai)! - Use `canvas.default` for socialCount background
440
-
441
- - [#163](https://github.com/primer/primitives/pull/163) [`ddb2e39`](https://github.com/primer/primitives/commit/ddb2e396e3a4e04008a136916c3f48a27bd708f4) Thanks [@simurai](https://github.com/simurai)! - Fix checks header
442
-
443
- * [#153](https://github.com/primer/primitives/pull/153) [`7fcce19`](https://github.com/primer/primitives/commit/7fcce19571255f516c3fa837a66771f19c78f0fc) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - removed opacity from roles.muted + replaced foregrounds in diff blob
444
-
445
- ## 4.4.3
446
-
447
- ### Patch Changes
448
-
449
- - [#159](https://github.com/primer/primitives/pull/159) [`9e3875c`](https://github.com/primer/primitives/commit/9e3875cf6041a603f293e983925ae30795362dc1) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Updated green for primary button and success.emphasis
450
-
451
- * [#154](https://github.com/primer/primitives/pull/154) [`6298c1e`](https://github.com/primer/primitives/commit/6298c1e3c5aab15298bac45faacdd4d78dd31887) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Update hc avatar and diffstat borders
452
-
453
- - [#155](https://github.com/primer/primitives/pull/155) [`e4c4e92`](https://github.com/primer/primitives/commit/e4c4e921a83e7ff43e8b55cbc7f314fb216abd8d) Thanks [@simurai](https://github.com/simurai)! - Deprecate globalNav
454
-
455
- * [#158](https://github.com/primer/primitives/pull/158) [`cd0c90e`](https://github.com/primer/primitives/commit/cd0c90e23963da73f41a2ecd69357e4d176e592a) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - neutral.emphasis fix in HC
456
-
457
- - [#156](https://github.com/primer/primitives/pull/156) [`0aba5fa`](https://github.com/primer/primitives/commit/0aba5fade817ee963bf7c19a717c6991a201f5ce) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - header-input border fix
458
-
459
- ## 4.4.2
460
-
461
- ### Patch Changes
462
-
463
- - [#151](https://github.com/primer/primitives/pull/151) [`73a53a0`](https://github.com/primer/primitives/commit/73a53a0094074791eb8c6cebb1320db017f8719b) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fixed states for btn.danger in HC
464
-
465
- * [#149](https://github.com/primer/primitives/pull/149) [`9539f54`](https://github.com/primer/primitives/commit/9539f54666dfb4e45b5d00a3ebd4d633f578f1de) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Global Nav → input fixes
466
-
467
- - [#145](https://github.com/primer/primitives/pull/145) [`c6fd869`](https://github.com/primer/primitives/commit/c6fd86990b97abae9821ee5eb858ab83ae783163) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Primary button fixes
468
-
469
- * [#152](https://github.com/primer/primitives/pull/152) [`281a7fb`](https://github.com/primer/primitives/commit/281a7fbba59d3afecac3f6761346093ca6470830) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Update neutral emphasis
470
-
471
- ## 4.4.1
472
-
473
- ### Patch Changes
474
-
475
- - [#143](https://github.com/primer/primitives/pull/143) [`5337f4c`](https://github.com/primer/primitives/commit/5337f4ce6f53759ff259694cbe60400d67aba386) Thanks [@simurai](https://github.com/simurai)! - Remove 2nd shadow from overlay-shadow
476
-
477
- * [#141](https://github.com/primer/primitives/pull/141) [`8b52b57`](https://github.com/primer/primitives/commit/8b52b57a8b380b0b2d0da9f75c0bbe8bb4e6e8f0) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Change HC border subtle → gray.5
478
-
479
- ## 4.4.0
480
-
481
- ### Minor Changes
482
-
483
- - [#135](https://github.com/primer/primitives/pull/135) [`0ebb80c`](https://github.com/primer/primitives/commit/0ebb80cf5ad86b73aeec25f9d044983931079440) Thanks [@simurai](https://github.com/simurai)! - Add overlay-shadow
484
-
485
- ### Patch Changes
486
-
487
- - [#142](https://github.com/primer/primitives/pull/142) [`a581980`](https://github.com/primer/primitives/commit/a5819806efa98281301347433ba6538b783adb78) Thanks [@colebemis](https://github.com/colebemis)! - Change "transparent" colors to "rgba(0,0,0,0)"
488
-
489
- * [#137](https://github.com/primer/primitives/pull/137) [`4779983`](https://github.com/primer/primitives/commit/4779983fd0c95924cbc2b5b9ac98dac19ec0f205) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - HC palette update + exceptions for emphasis
490
-
491
- - [#134](https://github.com/primer/primitives/pull/134) [`8b8cba7`](https://github.com/primer/primitives/commit/8b8cba7a61756c85d2f751392162abbaadcbfcec) Thanks [@auareyou](https://github.com/auareyou)! - Remapping updates
492
-
493
- - Updated alerts to use roles instead of `fg-default`
494
- - Rename `fg.inactive` to `fg.subtle`
495
- - Deprecate `avatar-border`
496
-
497
- * [#140](https://github.com/primer/primitives/pull/140) [`9308676`](https://github.com/primer/primitives/commit/930867696e05be3fbd35590b417241ad0a66e6c7) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - btn.primary state tweaks for high contrast
498
-
499
- ## 4.3.11
500
-
501
- ### Patch Changes
502
-
503
- - [#128](https://github.com/primer/primitives/pull/128) [`d10bc5d`](https://github.com/primer/primitives/commit/d10bc5d7ff994d0664a60ff3dca6075b026c4936) Thanks [@auareyou](https://github.com/auareyou)! - Added canvas subtle
504
-
505
- * [#129](https://github.com/primer/primitives/pull/129) [`5e79a37`](https://github.com/primer/primitives/commit/5e79a37546a7405f5c05f9643cf36e230d2b8414) Thanks [@simurai](https://github.com/simurai)! - Deprecate fade variables
506
-
507
- - [#130](https://github.com/primer/primitives/pull/130) [`3785534`](https://github.com/primer/primitives/commit/3785534443bbb48b14c07b1eb79fede529afbde5) Thanks [@simurai](https://github.com/simurai)! - Remove calendarGraph
508
-
509
- ## 4.3.10
510
-
511
- ### Patch Changes
512
-
513
- - [#122](https://github.com/primer/primitives/pull/122) [`a710331`](https://github.com/primer/primitives/commit/a71033193dd5a7c38c2688878324fead2a2c042d) Thanks [@simurai](https://github.com/simurai)! - Add checks-dropdown-shadow
514
-
515
- * [#125](https://github.com/primer/primitives/pull/125) [`287b56a`](https://github.com/primer/primitives/commit/287b56a2be5691f80b0621a2e4c1f39162a4f101) Thanks [@colebemis](https://github.com/colebemis)! - Update experimental variables
516
-
517
- - [#121](https://github.com/primer/primitives/pull/121) [`61a4d39`](https://github.com/primer/primitives/commit/61a4d397c2978fc6e1ebd1e429600ec7ec604159) Thanks [@simurai](https://github.com/simurai)! - Deprecate auto variables
518
-
519
- ## 4.3.9
520
-
521
- ### Patch Changes
522
-
523
- - [#123](https://github.com/primer/primitives/pull/123) [`b3a32b6`](https://github.com/primer/primitives/commit/b3a32b60ad70c9a5f4d553385c69d0e710a63fae) Thanks [@colebemis](https://github.com/colebemis)! - Add dark high contrast mapping exceptions
524
-
525
- ## 4.3.8
526
-
527
- ### Patch Changes
528
-
529
- - [#117](https://github.com/primer/primitives/pull/117) [`98d30d9`](https://github.com/primer/primitives/commit/98d30d9a64a341c7f24f50d053b72c46a2855f06) Thanks [@auareyou](https://github.com/auareyou)! - Updated counters
530
-
531
- ## 4.3.7
532
-
533
- ### Patch Changes
534
-
535
- - [#113](https://github.com/primer/primitives/pull/113) [`e399d4d`](https://github.com/primer/primitives/commit/e399d4d5834cf05348b3623225d913ebd0bdc0fc) Thanks [@colebemis](https://github.com/colebemis)! - Fix `--color-upload-enabled-border-focused`
536
-
537
- * [#116](https://github.com/primer/primitives/pull/116) [`055194d`](https://github.com/primer/primitives/commit/055194dda64e621570b37fa74e0a4f728ec478c8) Thanks [@auareyou](https://github.com/auareyou)! - Added `border.subtle` to the global variables
538
-
539
- ## 4.3.6
540
-
541
- ### Patch Changes
542
-
543
- - [#107](https://github.com/primer/primitives/pull/107) [`c935be7`](https://github.com/primer/primitives/commit/c935be730aec942a9324d3dec5cb1319f5e9830b) Thanks [@colebemis](https://github.com/colebemis)! - Rename role variables
544
-
545
- * [#103](https://github.com/primer/primitives/pull/103) [`ec66b32`](https://github.com/primer/primitives/commit/ec66b320010899ce1144811cadad39105593efe3) Thanks [@colebemis](https://github.com/colebemis)! - Internal reorganization of variables. No consumer-facing changes.
546
-
547
- - [#108](https://github.com/primer/primitives/pull/108) [`907b74c`](https://github.com/primer/primitives/commit/907b74c65e62ef278947de1da8d942ef6d99ccea) Thanks [@colebemis](https://github.com/colebemis)! - Remap v2 variables
548
-
549
- ## 4.3.5
550
-
551
- ### Patch Changes
552
-
553
- - [#101](https://github.com/primer/primitives/pull/101) [`4a4b793`](https://github.com/primer/primitives/commit/4a4b793017bc410149b0c302f74fc64cca2038e2) Thanks [@simurai](https://github.com/simurai)! - Map v1 to v2 variables (part 3)
554
-
555
- * [#102](https://github.com/primer/primitives/pull/102) [`cfc2789`](https://github.com/primer/primitives/commit/cfc2789779239ad9e54c1aaebf75f3c8e9c6fd31) Thanks [@simurai](https://github.com/simurai)! - Update light theme
556
-
557
- ## 4.3.4
558
-
559
- ### Patch Changes
560
-
561
- - [#94](https://github.com/primer/primitives/pull/94) [`eed97d8`](https://github.com/primer/primitives/commit/eed97d8c4f4b5c0858b8ff30d8f4179b54141de4) Thanks [@colebemis](https://github.com/colebemis)! - Update experimental color variables
562
-
563
- ## 4.3.3
564
-
565
- ### Patch Changes
566
-
567
- - [#98](https://github.com/primer/primitives/pull/98) [`4d5bd48`](https://github.com/primer/primitives/commit/4d5bd48894edd310934e083dd94b93732f187679) Thanks [@colebemis](https://github.com/colebemis)! - Add experimental dark high contrast theme
568
-
569
- * [#96](https://github.com/primer/primitives/pull/96) [`5d5d265`](https://github.com/primer/primitives/commit/5d5d265711df77f6f523c0c248162033e8e77d0c) Thanks [@colebemis](https://github.com/colebemis)! - Update experimental dark mode mapping
570
-
571
- ## 4.3.2
572
-
573
- ### Patch Changes
574
-
575
- - [#91](https://github.com/primer/primitives/pull/91) [`6af01cb`](https://github.com/primer/primitives/commit/6af01cb0c62b5d5c3f37fd77cea645223884ba6e) Thanks [@colebemis](https://github.com/colebemis)! - Update experimental color variables
576
-
577
- ## 4.3.1
578
-
579
- ### Patch Changes
580
-
581
- - [#83](https://github.com/primer/primitives/pull/83) [`beeaeb7`](https://github.com/primer/primitives/commit/beeaeb73920da8b848671e5909dee31b7d2a4d90) Thanks [@simurai](https://github.com/simurai)! - Change icon-info to blue-3 in dark mode
582
-
583
- * [#85](https://github.com/primer/primitives/pull/85) [`d5b4305`](https://github.com/primer/primitives/commit/d5b4305cbac3805aff1dff14c5eb92b108faf642) Thanks [@simurai](https://github.com/simurai)! - Add experimental color variables to `colors_v2` directory. **Warning: Do not use these color variables**
584
-
585
- ## 4.3.0
586
-
587
- ### Minor Changes
588
-
589
- - [#76](https://github.com/primer/primitives/pull/76) [`8d5addc`](https://github.com/primer/primitives/commit/8d5addcc2fe7e979c54150fab589fadf060ba083) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Update marketing buttons
590
-
591
- ### Patch Changes
592
-
593
- - [#78](https://github.com/primer/primitives/pull/78) [`69196c6`](https://github.com/primer/primitives/commit/69196c6316a219944837d4c1619cff202ee2224e) Thanks [@simurai](https://github.com/simurai)! - Improve ANSI colors
594
-
595
- ## 4.2.2
596
-
597
- ### Patch Changes
598
-
599
- - [#73](https://github.com/primer/primitives/pull/73) [`4c7021d`](https://github.com/primer/primitives/commit/4c7021d4857eededf503e66fe50ea5e1b8f86573) Thanks [@simurai](https://github.com/simurai)! - Split ANSI colors
600
-
601
- ## 4.2.1
602
-
603
- ### Patch Changes
604
-
605
- - [#70](https://github.com/primer/primitives/pull/70) [`91d44f1`](https://github.com/primer/primitives/commit/91d44f18e136882d64d7288b587b8f1d0dcb8563) Thanks [@simurai](https://github.com/simurai)! - Update dark calendar-graph colors
606
-
607
- ## 4.2.0
608
-
609
- ### Minor Changes
610
-
611
- - [#68](https://github.com/primer/primitives/pull/68) [`3d4f86d`](https://github.com/primer/primitives/commit/3d4f86d4bddeba9bb28e2aa4b2ea4f980a0757fd) Thanks [@simurai](https://github.com/simurai)! - Add btn-active
612
-
613
- ### Patch Changes
614
-
615
- - [#67](https://github.com/primer/primitives/pull/67) [`6dc6e19`](https://github.com/primer/primitives/commit/6dc6e19e50809a476e14fcc880e82e5b347e8d92) Thanks [@simurai](https://github.com/simurai)! - Update bg-overlay (mix)
616
-
617
- ## 4.1.0
618
-
619
- ### Minor Changes
620
-
621
- - [#62](https://github.com/primer/primitives/pull/62) [`151d5de`](https://github.com/primer/primitives/commit/151d5de85fdcf19eba46c23bf32e1ffefea10f88) Thanks [@simurai](https://github.com/simurai)! - Add `counter-secondary-bg`
622
-
623
- ## 4.0.2
624
-
625
- ### Patch Changes
626
-
627
- - [#60](https://github.com/primer/primitives/pull/60) [`d119266`](https://github.com/primer/primitives/commit/d1192667888685947bfbb0335e273e348d6908ba) Thanks [@simurai](https://github.com/simurai)! - Revert "Update bg-overlay"
628
-
629
- ## 4.0.1
630
-
631
- ### Major Changes
632
-
633
- - [#58](https://github.com/primer/primitives/pull/58) [`0dc2d26`](https://github.com/primer/primitives/commit/0dc2d26526f1f21b380fc6946081a70fcd93ddf9) Thanks [@jonrohan](https://github.com/jonrohan)! - Add support for color modes
634
-
635
- ### Patch Changes
636
-
637
- - [#58](https://github.com/primer/primitives/pull/58) [`0dc2d26`](https://github.com/primer/primitives/commit/0dc2d26526f1f21b380fc6946081a70fcd93ddf9) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating the workflow to release for changesets
638
-
639
- * [#51](https://github.com/primer/primitives/pull/51) [`5eaca5e`](https://github.com/primer/primitives/commit/5eaca5eb5ddc1421b963c414daf10e6e7f0d23e7) Thanks [@simurai](https://github.com/simurai)! - Adding variable for Underlinenav-counter-bg
640
-
641
- - [#58](https://github.com/primer/primitives/pull/58) [`4f12b06`](https://github.com/primer/primitives/commit/4f12b06b76ac60cfea4afa989c192ee4534f63f7) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating the ci.yml and release.yml scripts to more closely match @primer/components
642
-
643
- - [#18](https://github.com/primer/primitives/pull/18) Add support for multiple color modes (`light`, `dark`, `dark_dimmed`) ([@auareyou](https://github.com/auareyou), [@BinaryMuse](https://github.com/BinaryMuse), [@colinkeany](https://github.com/colinkeany), [@edokoa](https://github.com/edokoa), [@jonrohan](https://github.com/jonrohan), [@simurai](https://github.com/simurai))
644
-
645
- - [#18](https://github.com/primer/primitives/pull/18) Add color modes documentation ([@colebemis](https://github.com/colebemis))
646
-
647
- # 3.0.1 (2020-04-28)
648
-
649
- #### :rotating_light: Breaking Changes
650
-
651
- - [#14](https://github.com/primer/primitives/pull/16) Convert the package from JSON to TypeScript ([@smockle](https://github.com/smockle))
652
-
653
- # 2.0.0 (2019-10-21)
654
-
655
- #### :rotating_light: Breaking Changes
656
-
657
- - [#14](https://github.com/primer/primitives/pull/14) Rename npm package to `@primer/primitives` and deprecate old `primer-*` packages ([@BinaryMuse](https://github.com/BinaryMuse))
658
-
659
- # 1.0.2 (2018-07-20)
660
-
661
- #### :bug: Bug Fix
662
-
663
- - [#6](https://github.com/primer/primer-primitives/pull/6) Fix spacing to be an array instead of an object. ([@broccolini](https://github.com/broccolini))
664
-
665
- #### :memo: Documentation
666
-
667
- - [#6](https://github.com/primer/primer-primitives/pull/6) Add usage example to README. ([@broccolini](https://github.com/broccolini))
668
-
669
- # 1.0.1 (2018-05-10)
670
-
671
- #### :bug: Bug Fix
672
-
673
- - [#3](https://github.com/primer/primer-primitives/pull/3) Add dependencies to primer-primitives package. ([@broccolini](https://github.com/broccolini))
674
- - [#3](https://github.com/primer/primer-primitives/pull/3) Point main at correct files. ([@broccolini](https://github.com/broccolini))
675
-
676
- #### :house: Internal
677
-
678
- - [#3](https://github.com/primer/primer-primitives/pull/3) Fix broken links in Readme's. ([@broccolini](https://github.com/broccolini))
679
-
680
- # 1.0.0 (2018-04-29)
681
-
682
- #### :rocket: Enhancement
683
-
684
- - [#1](https://github.com/primer/primer-primitives/pull/1) Add color, typography, and spacing packages. ([@broccolini](https://github.com/broccolini))
685
- - [#1](https://github.com/primer/primer-primitives/pull/1) Add primer-primitives package that imports all primitives. ([@broccolini](https://github.com/broccolini))