@primer/primitives 7.10.0 → 7.11.0-rc.00655fc

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 (143) hide show
  1. package/README.md +2 -2
  2. package/build.js +70 -70
  3. package/dist/color-contrast-check.json +1 -1
  4. package/dist/deprecated/colors.json +7 -1
  5. package/dist/js/colors/dark.d.ts +0 -13
  6. package/dist/js/colors/dark.js +1 -14
  7. package/dist/js/colors/dark_colorblind.d.ts +0 -13
  8. package/dist/js/colors/dark_colorblind.js +1 -14
  9. package/dist/js/colors/dark_dimmed.d.ts +0 -13
  10. package/dist/js/colors/dark_dimmed.js +1 -14
  11. package/dist/js/colors/dark_high_contrast.d.ts +0 -13
  12. package/dist/js/colors/dark_high_contrast.js +1 -14
  13. package/dist/js/colors/dark_tritanopia.d.ts +0 -13
  14. package/dist/js/colors/dark_tritanopia.js +1 -14
  15. package/dist/js/colors/index.d.ts +0 -117
  16. package/dist/js/colors/light.d.ts +0 -13
  17. package/dist/js/colors/light.js +1 -14
  18. package/dist/js/colors/light_colorblind.d.ts +0 -13
  19. package/dist/js/colors/light_colorblind.js +1 -14
  20. package/dist/js/colors/light_high_contrast.d.ts +0 -13
  21. package/dist/js/colors/light_high_contrast.js +1 -14
  22. package/dist/js/colors/light_tritanopia.d.ts +0 -13
  23. package/dist/js/colors/light_tritanopia.js +1 -14
  24. package/dist/js/index.d.ts +0 -117
  25. package/dist/json/colors/dark.json +1 -14
  26. package/dist/json/colors/dark_colorblind.json +1 -14
  27. package/dist/json/colors/dark_dimmed.json +1 -14
  28. package/dist/json/colors/dark_high_contrast.json +1 -14
  29. package/dist/json/colors/dark_tritanopia.json +1 -14
  30. package/dist/json/colors/light.json +1 -14
  31. package/dist/json/colors/light_colorblind.json +1 -14
  32. package/dist/json/colors/light_high_contrast.json +1 -14
  33. package/dist/json/colors/light_tritanopia.json +1 -14
  34. package/dist/removed/colors.json +13 -2
  35. package/dist/scss/colors/_dark.scss +0 -13
  36. package/dist/scss/colors/_dark_colorblind.scss +0 -13
  37. package/dist/scss/colors/_dark_dimmed.scss +0 -13
  38. package/dist/scss/colors/_dark_high_contrast.scss +0 -13
  39. package/dist/scss/colors/_dark_tritanopia.scss +0 -13
  40. package/dist/scss/colors/_light.scss +0 -13
  41. package/dist/scss/colors/_light_colorblind.scss +0 -13
  42. package/dist/scss/colors/_light_high_contrast.scss +0 -13
  43. package/dist/scss/colors/_light_tritanopia.scss +0 -13
  44. package/dist/ts/colors/dark.ts +1 -14
  45. package/dist/ts/colors/dark_colorblind.ts +1 -14
  46. package/dist/ts/colors/dark_dimmed.ts +1 -14
  47. package/dist/ts/colors/dark_high_contrast.ts +1 -14
  48. package/dist/ts/colors/dark_tritanopia.ts +1 -14
  49. package/dist/ts/colors/light.ts +1 -14
  50. package/dist/ts/colors/light_colorblind.ts +1 -14
  51. package/dist/ts/colors/light_high_contrast.ts +1 -14
  52. package/dist/ts/colors/light_tritanopia.ts +1 -14
  53. package/package.json +31 -32
  54. package/tokens/functional/size/border.json +8 -0
  55. package/tokens/functional/typography/typography.json +2 -2
  56. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  57. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  58. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  59. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  60. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  61. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  62. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  63. package/tokens-v2-private/css/tokens/functional/typography/typography.css +3 -3
  64. package/tokens-v2-private/docs/docValues.json +12 -12
  65. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  66. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  67. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  68. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  69. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  70. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  71. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  72. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  73. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +13 -13
  74. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  75. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  76. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  77. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  78. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  79. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  80. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  81. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  82. package/tokens-v2-private/js/tokens/functional/typography/typography.js +11 -11
  83. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  84. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  85. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  86. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  87. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  88. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  89. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  90. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  91. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +3 -3
  92. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  93. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  94. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  95. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  96. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  97. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  98. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  99. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  100. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  101. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  102. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  103. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  104. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  105. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  106. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  107. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  108. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  109. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +11 -11
  110. package/CHANGELOG.md +0 -677
  111. package/tokens/base/color/dark-colorblind.json +0 -44
  112. package/tokens/base/color/dark-dimmed.json +0 -124
  113. package/tokens/base/color/dark-high-contrast.json +0 -124
  114. package/tokens/base/color/dark-tritanopia.json +0 -92
  115. package/tokens/base/color/dark.json +0 -129
  116. package/tokens/base/color/light-colorblind.json +0 -134
  117. package/tokens/base/color/light-high-contrast.json +0 -390
  118. package/tokens/base/color/light-tritanopia.json +0 -92
  119. package/tokens/base/color/light.json +0 -399
  120. package/tokens/functional/color/ansi-dark.json +0 -74
  121. package/tokens/functional/color/ansi-light.json +0 -74
  122. package/tokens/functional/color/checks-dark.json +0 -289
  123. package/tokens/functional/color/checks-light.json +0 -296
  124. package/tokens/functional/color/components-dark.json +0 -556
  125. package/tokens/functional/color/components-light.json +0 -469
  126. package/tokens/functional/color/diff-dark.json +0 -78
  127. package/tokens/functional/color/diff-light.json +0 -76
  128. package/tokens/functional/color/exceptions-dark-colorblind.json +0 -45
  129. package/tokens/functional/color/exceptions-dark-dimmed.json +0 -12
  130. package/tokens/functional/color/exceptions-dark-high-contrast.json +0 -271
  131. package/tokens/functional/color/exceptions-dark-tritanopia.json +0 -44
  132. package/tokens/functional/color/exceptions-light-colorblind.json +0 -87
  133. package/tokens/functional/color/exceptions-light-high-contrast.json +0 -327
  134. package/tokens/functional/color/exceptions-light-tritanopia.json +0 -87
  135. package/tokens/functional/color/marketing-dark.json +0 -24
  136. package/tokens/functional/color/marketing-light.json +0 -24
  137. package/tokens/functional/color/misc-dark.json +0 -38
  138. package/tokens/functional/color/misc-light.json +0 -37
  139. package/tokens/functional/color/primitives-dark.json +0 -322
  140. package/tokens/functional/color/primitives-light.json +0 -313
  141. package/tokens/functional/color/scales.json +0 -582
  142. package/tokens/functional/color/syntax-dark.json +0 -208
  143. package/tokens/functional/color/syntax-light.json +0 -208
package/CHANGELOG.md DELETED
@@ -1,677 +0,0 @@
1
- # @primer/primitives
2
-
3
- ## 7.10.0
4
-
5
- ### Minor Changes
6
-
7
- - [#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.
8
-
9
- * [#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
10
-
11
- ### Patch Changes
12
-
13
- - [#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
14
-
15
- ## 7.9.0
16
-
17
- ### Minor Changes
18
-
19
- - [#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
20
-
21
- ### Patch Changes
22
-
23
- - [#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
24
-
25
- ## 7.8.4
26
-
27
- ### Patch Changes
28
-
29
- - [#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
30
-
31
- ## 7.8.3
32
-
33
- ### Patch Changes
34
-
35
- - [#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
36
-
37
- ## 7.8.2
38
-
39
- ### Patch Changes
40
-
41
- - [#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
42
-
43
- ## 7.8.1
44
-
45
- ### Patch Changes
46
-
47
- - [#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
48
-
49
- ## 7.8.0
50
-
51
- ### Minor Changes
52
-
53
- - [#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
54
- - Private docs that can be accessed at /typography and /size
55
- - Separate dist for testing purposes only
56
-
57
- ## 7.7.0
58
-
59
- ### Minor Changes
60
-
61
- - [#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
62
-
63
- ## 7.6.0
64
-
65
- ### Minor Changes
66
-
67
- - [#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
68
-
69
- ### Patch Changes
70
-
71
- - [#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`
72
-
73
- ## 7.5.1
74
-
75
- ### Patch Changes
76
-
77
- - [#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
78
-
79
- * [#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`
80
-
81
- - [#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`
82
-
83
- ## 7.5.0
84
-
85
- ### Minor Changes
86
-
87
- - [#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
88
-
89
- ### Patch Changes
90
-
91
- - [#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
92
-
93
- ## 7.4.1
94
-
95
- ### Patch Changes
96
-
97
- - [#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
98
-
99
- ## 7.4.0
100
-
101
- ### Minor Changes
102
-
103
- - [#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.
104
-
105
- ## 7.3.0
106
-
107
- ### Minor Changes
108
-
109
- - [#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
110
-
111
- ## 7.2.0
112
-
113
- ### Minor Changes
114
-
115
- - [#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`
116
-
117
- * [#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
118
-
119
- ### Patch Changes
120
-
121
- - [#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
122
-
123
- * [#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)
124
-
125
- - [#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
126
-
127
- * [#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
128
-
129
- ## 7.1.1
130
-
131
- ### Patch Changes
132
-
133
- - [#273](https://github.com/primer/primitives/pull/273) [`5c8d9a9`](https://github.com/primer/primitives/commit/5c8d9a99fca308bc23ba03e29a2a8ef2eef947fa) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Border improvements
134
-
135
- * [#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
136
-
137
- - [#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
138
-
139
- ## 7.1.0
140
-
141
- ### Minor Changes
142
-
143
- - [#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
144
-
145
- ## 7.0.1
146
-
147
- ### Patch Changes
148
-
149
- - [#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
150
-
151
- ## 7.0.0
152
-
153
- ### Major Changes
154
-
155
- - [#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
156
-
157
- ## 6.1.0
158
-
159
- ### Minor Changes
160
-
161
- - [#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
162
-
163
- ## 6.0.0
164
-
165
- ### Major Changes
166
-
167
- - [#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
168
-
169
- ## 5.1.0
170
-
171
- ### Minor Changes
172
-
173
- - [#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`
174
-
175
- ## 5.0.0
176
-
177
- ### Major Changes
178
-
179
- - [#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.
180
-
181
- * [#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`:
182
-
183
- ```diff
184
- dist/
185
- - deprecations/
186
- + deprecated/
187
- ```
188
-
189
- You'll need to update your imports accordingly:
190
-
191
- ```diff
192
- - import deprecatedColors from '@primer/primitives/dist/deprecations/colors.json'
193
- + import deprecatedColors from '@primer/primitives/dist/deprecated/colors.json'
194
- ```
195
-
196
- ### Minor Changes
197
-
198
- - [#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:
199
-
200
- ```diff
201
- dist/
202
- js/
203
- ts/
204
- json/
205
- scss/
206
- deprecated/
207
- + removed/
208
- + colors.json
209
- ```
210
-
211
- Each JSON file in the `removed` directory contains a mapping of removed variables to replacement variables. Example:
212
-
213
- ```js
214
- // dist/removed/colors.json
215
- {
216
- "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead
217
- "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead
218
- "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it
219
- }
220
- ```
221
-
222
- This data will allow you to write linters to prevent usage of removed variables.
223
-
224
- ### Patch Changes
225
-
226
- - [#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)
227
-
228
- ## 4.8.1
229
-
230
- ### Patch Changes
231
-
232
- - [#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
233
-
234
- * [#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`
235
-
236
- - [#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
237
-
238
- ## 4.8.0
239
-
240
- ### Minor Changes
241
-
242
- - [#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:
243
- - `light_protanopia`
244
- - `dark_protanopia`
245
-
246
- ### Patch Changes
247
-
248
- - [#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
249
-
250
- ## 4.7.1
251
-
252
- ### Patch Changes
253
-
254
- - [#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
255
-
256
- ## 4.7.0
257
-
258
- ### Minor Changes
259
-
260
- - [#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.
261
-
262
- * [#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.
263
-
264
- **Note:** The Dark High Contrast theme will only work with the new [functional color variables](https://primer.style/primitives/colors#functional-variables)
265
-
266
- - [#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.
267
-
268
- ## 4.6.9
269
-
270
- ### Patch Changes
271
-
272
- - [#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`
273
-
274
- ## 4.6.8
275
-
276
- ### Patch Changes
277
-
278
- - [#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`
279
-
280
- * [#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
281
-
282
- - [#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
283
-
284
- ## 4.6.7
285
-
286
- ### Patch Changes
287
-
288
- - [#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
289
-
290
- ## 4.6.6
291
-
292
- ### Patch Changes
293
-
294
- - [#215](https://github.com/primer/primitives/pull/215) [`4b23b00`](https://github.com/primer/primitives/commit/4b23b00a5f7bd427882500e94c3eb087fc18fd55) Thanks [@auareyou](https://github.com/auareyou)! - Bug fixes
295
-
296
- ## 4.6.5
297
-
298
- ### Patch Changes
299
-
300
- - [#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`
301
-
302
- * [#212](https://github.com/primer/primitives/pull/212) [`1eaadb1`](https://github.com/primer/primitives/commit/1eaadb145bcdbc814020fc8b4747ffbeb1ccfaf6) Thanks [@auareyou](https://github.com/auareyou)! - Small fixes
303
-
304
- - [#213](https://github.com/primer/primitives/pull/213) [`85aecab`](https://github.com/primer/primitives/commit/85aecabb6340347e2aba999deceee1111214266b) Thanks [@auareyou](https://github.com/auareyou)! - Small fixes
305
-
306
- ## 4.6.4
307
-
308
- ### Patch Changes
309
-
310
- - [#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
311
-
312
- ## 4.6.3
313
-
314
- ### Patch Changes
315
-
316
- - [#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
317
-
318
- ## 4.6.2
319
-
320
- ### Patch Changes
321
-
322
- - [#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
323
-
324
- ## 4.6.1
325
-
326
- ### Patch Changes
327
-
328
- - [#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
329
-
330
- ## 4.6.0
331
-
332
- ### Minor Changes
333
-
334
- - [#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:
335
-
336
- ```diff
337
- dist/
338
- js/
339
- ts/
340
- json/
341
- scss/
342
- + deprecations/
343
- + colors.json
344
- ```
345
-
346
- Each JSON file in the `deprecations` directory contains a mapping of deprecated variables to replacement variables. Example:
347
-
348
- ```js
349
- // dist/deprecations/colors.json
350
- {
351
- "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead
352
- "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead
353
- "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it
354
- }
355
- ```
356
-
357
- 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.
358
-
359
- ## 4.5.4
360
-
361
- ### Patch Changes
362
-
363
- - [#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`
364
-
365
- * [#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
366
-
367
- ## 4.5.3
368
-
369
- ### Patch Changes
370
-
371
- - [#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.
372
-
373
- * [#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
374
-
375
- ## 4.5.2
376
-
377
- ### Patch Changes
378
-
379
- - [#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`
380
-
381
- * [#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
382
-
383
- - [#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
384
-
385
- * [#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
386
-
387
- - [#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
388
-
389
- * [#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`
390
-
391
- - [#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
392
-
393
- ## 4.5.1
394
-
395
- ### Patch Changes
396
-
397
- - [#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
398
-
399
- * [#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`
400
-
401
- - [#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
402
-
403
- * [#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
404
-
405
- ## 4.5.0
406
-
407
- ### Minor Changes
408
-
409
- - [#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`
410
-
411
- * [#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
412
-
413
- - [#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
414
-
415
- * [#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
416
-
417
- ### Patch Changes
418
-
419
- - [#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
420
-
421
- * [#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
422
-
423
- - [#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
424
-
425
- ## 4.4.4
426
-
427
- ### Patch Changes
428
-
429
- - [#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
430
-
431
- * [#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
432
-
433
- - [#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
434
-
435
- * [#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
436
-
437
- ## 4.4.3
438
-
439
- ### Patch Changes
440
-
441
- - [#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
442
-
443
- * [#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
444
-
445
- - [#155](https://github.com/primer/primitives/pull/155) [`e4c4e92`](https://github.com/primer/primitives/commit/e4c4e921a83e7ff43e8b55cbc7f314fb216abd8d) Thanks [@simurai](https://github.com/simurai)! - Deprecate globalNav
446
-
447
- * [#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
448
-
449
- - [#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
450
-
451
- ## 4.4.2
452
-
453
- ### Patch Changes
454
-
455
- - [#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
456
-
457
- * [#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
458
-
459
- - [#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
460
-
461
- * [#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
462
-
463
- ## 4.4.1
464
-
465
- ### Patch Changes
466
-
467
- - [#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
468
-
469
- * [#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
470
-
471
- ## 4.4.0
472
-
473
- ### Minor Changes
474
-
475
- - [#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
476
-
477
- ### Patch Changes
478
-
479
- - [#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)"
480
-
481
- * [#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
482
-
483
- - [#134](https://github.com/primer/primitives/pull/134) [`8b8cba7`](https://github.com/primer/primitives/commit/8b8cba7a61756c85d2f751392162abbaadcbfcec) Thanks [@auareyou](https://github.com/auareyou)! - Remapping updates
484
-
485
- - Updated alerts to use roles instead of `fg-default`
486
- - Rename `fg.inactive` to `fg.subtle`
487
- - Deprecate `avatar-border`
488
-
489
- * [#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
490
-
491
- ## 4.3.11
492
-
493
- ### Patch Changes
494
-
495
- - [#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
496
-
497
- * [#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
498
-
499
- - [#130](https://github.com/primer/primitives/pull/130) [`3785534`](https://github.com/primer/primitives/commit/3785534443bbb48b14c07b1eb79fede529afbde5) Thanks [@simurai](https://github.com/simurai)! - Remove calendarGraph
500
-
501
- ## 4.3.10
502
-
503
- ### Patch Changes
504
-
505
- - [#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
506
-
507
- * [#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
508
-
509
- - [#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
510
-
511
- ## 4.3.9
512
-
513
- ### Patch Changes
514
-
515
- - [#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
516
-
517
- ## 4.3.8
518
-
519
- ### Patch Changes
520
-
521
- - [#117](https://github.com/primer/primitives/pull/117) [`98d30d9`](https://github.com/primer/primitives/commit/98d30d9a64a341c7f24f50d053b72c46a2855f06) Thanks [@auareyou](https://github.com/auareyou)! - Updated counters
522
-
523
- ## 4.3.7
524
-
525
- ### Patch Changes
526
-
527
- - [#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`
528
-
529
- * [#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
530
-
531
- ## 4.3.6
532
-
533
- ### Patch Changes
534
-
535
- - [#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
536
-
537
- * [#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.
538
-
539
- - [#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
540
-
541
- ## 4.3.5
542
-
543
- ### Patch Changes
544
-
545
- - [#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)
546
-
547
- * [#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
548
-
549
- ## 4.3.4
550
-
551
- ### Patch Changes
552
-
553
- - [#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
554
-
555
- ## 4.3.3
556
-
557
- ### Patch Changes
558
-
559
- - [#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
560
-
561
- * [#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
562
-
563
- ## 4.3.2
564
-
565
- ### Patch Changes
566
-
567
- - [#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
568
-
569
- ## 4.3.1
570
-
571
- ### Patch Changes
572
-
573
- - [#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
574
-
575
- * [#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**
576
-
577
- ## 4.3.0
578
-
579
- ### Minor Changes
580
-
581
- - [#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
582
-
583
- ### Patch Changes
584
-
585
- - [#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
586
-
587
- ## 4.2.2
588
-
589
- ### Patch Changes
590
-
591
- - [#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
592
-
593
- ## 4.2.1
594
-
595
- ### Patch Changes
596
-
597
- - [#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
598
-
599
- ## 4.2.0
600
-
601
- ### Minor Changes
602
-
603
- - [#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
604
-
605
- ### Patch Changes
606
-
607
- - [#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)
608
-
609
- ## 4.1.0
610
-
611
- ### Minor Changes
612
-
613
- - [#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`
614
-
615
- ## 4.0.2
616
-
617
- ### Patch Changes
618
-
619
- - [#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"
620
-
621
- ## 4.0.1
622
-
623
- ### Major Changes
624
-
625
- - [#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
626
-
627
- ### Patch Changes
628
-
629
- - [#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
630
-
631
- * [#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
632
-
633
- - [#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
634
-
635
- - [#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))
636
-
637
- - [#18](https://github.com/primer/primitives/pull/18) Add color modes documentation ([@colebemis](https://github.com/colebemis))
638
-
639
- # 3.0.1 (2020-04-28)
640
-
641
- #### :rotating_light: Breaking Changes
642
-
643
- - [#14](https://github.com/primer/primitives/pull/16) Convert the package from JSON to TypeScript ([@smockle](https://github.com/smockle))
644
-
645
- # 2.0.0 (2019-10-21)
646
-
647
- #### :rotating_light: Breaking Changes
648
-
649
- - [#14](https://github.com/primer/primitives/pull/14) Rename npm package to `@primer/primitives` and deprecate old `primer-*` packages ([@BinaryMuse](https://github.com/BinaryMuse))
650
-
651
- # 1.0.2 (2018-07-20)
652
-
653
- #### :bug: Bug Fix
654
-
655
- - [#6](https://github.com/primer/primer-primitives/pull/6) Fix spacing to be an array instead of an object. ([@broccolini](https://github.com/broccolini))
656
-
657
- #### :memo: Documentation
658
-
659
- - [#6](https://github.com/primer/primer-primitives/pull/6) Add usage example to README. ([@broccolini](https://github.com/broccolini))
660
-
661
- # 1.0.1 (2018-05-10)
662
-
663
- #### :bug: Bug Fix
664
-
665
- - [#3](https://github.com/primer/primer-primitives/pull/3) Add dependencies to primer-primitives package. ([@broccolini](https://github.com/broccolini))
666
- - [#3](https://github.com/primer/primer-primitives/pull/3) Point main at correct files. ([@broccolini](https://github.com/broccolini))
667
-
668
- #### :house: Internal
669
-
670
- - [#3](https://github.com/primer/primer-primitives/pull/3) Fix broken links in Readme's. ([@broccolini](https://github.com/broccolini))
671
-
672
- # 1.0.0 (2018-04-29)
673
-
674
- #### :rocket: Enhancement
675
-
676
- - [#1](https://github.com/primer/primer-primitives/pull/1) Add color, typography, and spacing packages. ([@broccolini](https://github.com/broccolini))
677
- - [#1](https://github.com/primer/primer-primitives/pull/1) Add primer-primitives package that imports all primitives. ([@broccolini](https://github.com/broccolini))