@primer/primitives 7.11.2-rc.c105d3e → 7.11.2-rc.ce8f8fa

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 (221) hide show
  1. package/package.json +2 -2
  2. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  3. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  4. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  5. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  6. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  7. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  8. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  9. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  10. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  11. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  12. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  13. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  14. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  15. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  16. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  17. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  18. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  19. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  20. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  21. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  22. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  23. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  24. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  25. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  26. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  27. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  28. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  29. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  30. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  31. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  32. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  33. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  34. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  35. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  36. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  37. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  38. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  39. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  40. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  41. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  42. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  43. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  44. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  45. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  46. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  47. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  48. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  49. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  50. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  51. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  52. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  53. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  54. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  55. package/tokens-next-private/css/base/color/dark-colorblind.css +0 -198
  56. package/tokens-next-private/css/base/color/dark-dimmed.css +0 -198
  57. package/tokens-next-private/css/base/color/dark-high-contrast.css +0 -198
  58. package/tokens-next-private/css/base/color/dark-tritanopia.css +0 -198
  59. package/tokens-next-private/css/base/color/dark.css +0 -198
  60. package/tokens-next-private/css/base/color/light-colorblind.css +0 -198
  61. package/tokens-next-private/css/base/color/light-high-contrast.css +0 -198
  62. package/tokens-next-private/css/base/color/light-tritanopia.css +0 -198
  63. package/tokens-next-private/css/base/color/light.css +0 -198
  64. package/tokens-next-private/css/base/size/size.css +0 -24
  65. package/tokens-next-private/css/base/typography/typography.css +0 -11
  66. package/tokens-next-private/css/functional/size/border.css +0 -18
  67. package/tokens-next-private/css/functional/size/breakpoints.css +0 -13
  68. package/tokens-next-private/css/functional/size/size-coarse.css +0 -10
  69. package/tokens-next-private/css/functional/size/size-fine.css +0 -10
  70. package/tokens-next-private/css/functional/size/size.css +0 -54
  71. package/tokens-next-private/css/functional/size/viewport.css +0 -13
  72. package/tokens-next-private/css/functional/themes/dark-colorblind.css +0 -604
  73. package/tokens-next-private/css/functional/themes/dark-dimmed.css +0 -604
  74. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +0 -604
  75. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +0 -604
  76. package/tokens-next-private/css/functional/themes/dark.css +0 -604
  77. package/tokens-next-private/css/functional/themes/light-colorblind.css +0 -554
  78. package/tokens-next-private/css/functional/themes/light-high-contrast.css +0 -554
  79. package/tokens-next-private/css/functional/themes/light-tritanopia.css +0 -554
  80. package/tokens-next-private/css/functional/themes/light.css +0 -554
  81. package/tokens-next-private/css/functional/typography/typography.css +0 -47
  82. package/tokens-next-private/docs/base/color/dark-colorblind.json +0 -1419
  83. package/tokens-next-private/docs/base/color/dark-dimmed.json +0 -1419
  84. package/tokens-next-private/docs/base/color/dark-high-contrast.json +0 -1419
  85. package/tokens-next-private/docs/base/color/dark-tritanopia.json +0 -1419
  86. package/tokens-next-private/docs/base/color/dark.json +0 -1419
  87. package/tokens-next-private/docs/base/color/light-colorblind.json +0 -1419
  88. package/tokens-next-private/docs/base/color/light-high-contrast.json +0 -1419
  89. package/tokens-next-private/docs/base/color/light-tritanopia.json +0 -1419
  90. package/tokens-next-private/docs/base/color/light.json +0 -1419
  91. package/tokens-next-private/docs/base/size/size.json +0 -227
  92. package/tokens-next-private/docs/base/typography/typography.json +0 -60
  93. package/tokens-next-private/docs/functional/size/border.json +0 -135
  94. package/tokens-next-private/docs/functional/size/breakpoints.json +0 -82
  95. package/tokens-next-private/docs/functional/size/size-coarse.json +0 -55
  96. package/tokens-next-private/docs/functional/size/size-fine.json +0 -55
  97. package/tokens-next-private/docs/functional/size/size.json +0 -647
  98. package/tokens-next-private/docs/functional/size/viewport.json +0 -70
  99. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +0 -4535
  100. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +0 -4539
  101. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +0 -4543
  102. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +0 -4539
  103. package/tokens-next-private/docs/functional/themes/dark.json +0 -4539
  104. package/tokens-next-private/docs/functional/themes/light-colorblind.json +0 -4241
  105. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +0 -4231
  106. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +0 -4231
  107. package/tokens-next-private/docs/functional/themes/light.json +0 -4231
  108. package/tokens-next-private/docs/functional/typography/typography.json +0 -581
  109. package/tokens-next-private/js/base/color/dark-colorblind.js +0 -122
  110. package/tokens-next-private/js/base/color/dark-dimmed.js +0 -122
  111. package/tokens-next-private/js/base/color/dark-high-contrast.js +0 -122
  112. package/tokens-next-private/js/base/color/dark-tritanopia.js +0 -122
  113. package/tokens-next-private/js/base/color/dark.js +0 -122
  114. package/tokens-next-private/js/base/color/light-colorblind.js +0 -122
  115. package/tokens-next-private/js/base/color/light-high-contrast.js +0 -122
  116. package/tokens-next-private/js/base/color/light-tritanopia.js +0 -122
  117. package/tokens-next-private/js/base/color/light.js +0 -122
  118. package/tokens-next-private/js/base/size/size.js +0 -28
  119. package/tokens-next-private/js/base/typography/typography.js +0 -17
  120. package/tokens-next-private/js/functional/size/border.js +0 -28
  121. package/tokens-next-private/js/functional/size/breakpoints.js +0 -15
  122. package/tokens-next-private/js/functional/size/size-coarse.js +0 -24
  123. package/tokens-next-private/js/functional/size/size-fine.js +0 -24
  124. package/tokens-next-private/js/functional/size/size.js +0 -98
  125. package/tokens-next-private/js/functional/size/viewport.js +0 -15
  126. package/tokens-next-private/js/functional/themes/dark-colorblind.js +0 -593
  127. package/tokens-next-private/js/functional/themes/dark-dimmed.js +0 -593
  128. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +0 -593
  129. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +0 -593
  130. package/tokens-next-private/js/functional/themes/dark.js +0 -593
  131. package/tokens-next-private/js/functional/themes/light-colorblind.js +0 -618
  132. package/tokens-next-private/js/functional/themes/light-high-contrast.js +0 -618
  133. package/tokens-next-private/js/functional/themes/light-tritanopia.js +0 -618
  134. package/tokens-next-private/js/functional/themes/light.js +0 -618
  135. package/tokens-next-private/js/functional/typography/typography.js +0 -77
  136. package/tokens-next-private/json/base/color/dark-colorblind.json +0 -117
  137. package/tokens-next-private/json/base/color/dark-dimmed.json +0 -117
  138. package/tokens-next-private/json/base/color/dark-high-contrast.json +0 -117
  139. package/tokens-next-private/json/base/color/dark-tritanopia.json +0 -117
  140. package/tokens-next-private/json/base/color/dark.json +0 -117
  141. package/tokens-next-private/json/base/color/light-colorblind.json +0 -117
  142. package/tokens-next-private/json/base/color/light-high-contrast.json +0 -117
  143. package/tokens-next-private/json/base/color/light-tritanopia.json +0 -117
  144. package/tokens-next-private/json/base/color/light.json +0 -117
  145. package/tokens-next-private/json/base/size/size.json +0 -23
  146. package/tokens-next-private/json/base/typography/typography.json +0 -12
  147. package/tokens-next-private/json/functional/size/border.json +0 -23
  148. package/tokens-next-private/json/functional/size/breakpoints.json +0 -10
  149. package/tokens-next-private/json/functional/size/size-coarse.json +0 -19
  150. package/tokens-next-private/json/functional/size/size-fine.json +0 -19
  151. package/tokens-next-private/json/functional/size/size.json +0 -93
  152. package/tokens-next-private/json/functional/size/viewport.json +0 -10
  153. package/tokens-next-private/json/functional/themes/dark-colorblind.json +0 -588
  154. package/tokens-next-private/json/functional/themes/dark-dimmed.json +0 -588
  155. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +0 -588
  156. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +0 -588
  157. package/tokens-next-private/json/functional/themes/dark.json +0 -588
  158. package/tokens-next-private/json/functional/themes/light-colorblind.json +0 -613
  159. package/tokens-next-private/json/functional/themes/light-high-contrast.json +0 -613
  160. package/tokens-next-private/json/functional/themes/light-tritanopia.json +0 -613
  161. package/tokens-next-private/json/functional/themes/light.json +0 -613
  162. package/tokens-next-private/json/functional/typography/typography.json +0 -72
  163. package/tokens-next-private/removed/color.json +0 -421
  164. package/tokens-next-private/scss/base/color/dark-colorblind.scss +0 -102
  165. package/tokens-next-private/scss/base/color/dark-dimmed.scss +0 -102
  166. package/tokens-next-private/scss/base/color/dark-high-contrast.scss +0 -102
  167. package/tokens-next-private/scss/base/color/dark-tritanopia.scss +0 -102
  168. package/tokens-next-private/scss/base/color/dark.scss +0 -102
  169. package/tokens-next-private/scss/base/color/light-colorblind.scss +0 -102
  170. package/tokens-next-private/scss/base/color/light-high-contrast.scss +0 -102
  171. package/tokens-next-private/scss/base/color/light-tritanopia.scss +0 -102
  172. package/tokens-next-private/scss/base/color/light.scss +0 -102
  173. package/tokens-next-private/scss/base/size/size.scss +0 -26
  174. package/tokens-next-private/scss/base/typography/typography.scss +0 -13
  175. package/tokens-next-private/scss/functional/size/border.scss +0 -20
  176. package/tokens-next-private/scss/functional/size/breakpoints.scss +0 -15
  177. package/tokens-next-private/scss/functional/size/size-coarse.scss +0 -12
  178. package/tokens-next-private/scss/functional/size/size-fine.scss +0 -12
  179. package/tokens-next-private/scss/functional/size/size.scss +0 -56
  180. package/tokens-next-private/scss/functional/size/viewport.scss +0 -24
  181. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +0 -305
  182. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +0 -305
  183. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +0 -305
  184. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +0 -305
  185. package/tokens-next-private/scss/functional/themes/dark.scss +0 -305
  186. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +0 -280
  187. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +0 -280
  188. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +0 -280
  189. package/tokens-next-private/scss/functional/themes/light.scss +0 -280
  190. package/tokens-next-private/scss/functional/typography/typography.scss +0 -49
  191. package/tokens-next-private/ts/base/color/dark-colorblind.ts +0 -122
  192. package/tokens-next-private/ts/base/color/dark-dimmed.ts +0 -122
  193. package/tokens-next-private/ts/base/color/dark-high-contrast.ts +0 -122
  194. package/tokens-next-private/ts/base/color/dark-tritanopia.ts +0 -122
  195. package/tokens-next-private/ts/base/color/dark.ts +0 -122
  196. package/tokens-next-private/ts/base/color/light-colorblind.ts +0 -122
  197. package/tokens-next-private/ts/base/color/light-high-contrast.ts +0 -122
  198. package/tokens-next-private/ts/base/color/light-tritanopia.ts +0 -122
  199. package/tokens-next-private/ts/base/color/light.ts +0 -122
  200. package/tokens-next-private/ts/base/size/size.ts +0 -28
  201. package/tokens-next-private/ts/base/typography/typography.ts +0 -17
  202. package/tokens-next-private/ts/functional/size/border.ts +0 -28
  203. package/tokens-next-private/ts/functional/size/breakpoints.ts +0 -15
  204. package/tokens-next-private/ts/functional/size/size-coarse.ts +0 -24
  205. package/tokens-next-private/ts/functional/size/size-fine.ts +0 -24
  206. package/tokens-next-private/ts/functional/size/size.ts +0 -98
  207. package/tokens-next-private/ts/functional/size/viewport.ts +0 -15
  208. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +0 -593
  209. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +0 -593
  210. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +0 -593
  211. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +0 -593
  212. package/tokens-next-private/ts/functional/themes/dark.ts +0 -593
  213. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +0 -618
  214. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +0 -618
  215. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +0 -618
  216. package/tokens-next-private/ts/functional/themes/light.ts +0 -618
  217. package/tokens-next-private/ts/functional/typography/typography.ts +0 -77
  218. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +0 -125
  219. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +0 -143
  220. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +0 -635
  221. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +0 -87
@@ -1,635 +0,0 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Tue, 28 Mar 2023 18:10:13 GMT
4
- */
5
-
6
- /**
7
- * @description hex string (6 or 8-digit)
8
- */
9
- type ColorHex = string;
10
-
11
- /**
12
- * @description a css shadow
13
- * @format inset? | offset-x | offset-y | blur-radius? | spread-radius? | color?
14
- */
15
- type Shadow = string;
16
-
17
- /**
18
- * @description a css border string
19
- * @format color | style | width
20
- */
21
- type Border = `${ColorHex} ${string} ${string}`;
22
-
23
- export type ThemeDesignTokens = {
24
- topicTag: {
25
- borderColor: ColorHex;
26
- };
27
- highlight: {
28
- neutral: {
29
- bgColor: ColorHex;
30
- };
31
- };
32
- page: {
33
- header: {
34
- bgColor: ColorHex;
35
- };
36
- };
37
- diffBlob: {
38
- addition: {
39
- fgColor: {
40
- text: ColorHex;
41
- num: ColorHex;
42
- };
43
- bgColor: {
44
- num: ColorHex;
45
- line: ColorHex;
46
- word: ColorHex;
47
- };
48
- };
49
- deletion: {
50
- fgColor: {
51
- text: ColorHex;
52
- num: ColorHex;
53
- };
54
- bgColor: {
55
- num: ColorHex;
56
- line: ColorHex;
57
- word: ColorHex;
58
- };
59
- };
60
- hunk: {
61
- bgColor: {
62
- num: ColorHex;
63
- };
64
- };
65
- expander: {
66
- iconColor: ColorHex;
67
- };
68
- };
69
- diffStat: {
70
- addition: {
71
- bgColor: ColorHex;
72
- };
73
- };
74
- codeMirror: {
75
- fgColor: ColorHex;
76
- bgColor: ColorHex;
77
- gutters: {
78
- bgColor: ColorHex;
79
- };
80
- gutterMarker: {
81
- fgColor: {
82
- default: ColorHex;
83
- muted: ColorHex;
84
- };
85
- };
86
- lineNumber: {
87
- fgColor: ColorHex;
88
- };
89
- cursor: {
90
- fgColor: ColorHex;
91
- };
92
- selection: {
93
- bgColor: ColorHex;
94
- };
95
- activeline: {
96
- bgColor: ColorHex;
97
- };
98
- matchingBracket: {
99
- fgColor: ColorHex;
100
- };
101
- lines: {
102
- bgColor: ColorHex;
103
- };
104
- syntax: {
105
- fgColor: {
106
- comment: ColorHex;
107
- constant: ColorHex;
108
- entity: ColorHex;
109
- keyword: ColorHex;
110
- storage: ColorHex;
111
- string: ColorHex;
112
- support: ColorHex;
113
- variable: ColorHex;
114
- };
115
- };
116
- };
117
- header: {
118
- fgColor: {
119
- default: ColorHex;
120
- logo: ColorHex;
121
- text: ColorHex;
122
- borderColor: ColorHex;
123
- };
124
- bgColor: ColorHex;
125
- borderColor: {
126
- divider: ColorHex;
127
- };
128
- };
129
- headerSearch: {
130
- bgColor: ColorHex;
131
- borderColor: ColorHex;
132
- };
133
- avatar: {
134
- bgColor: ColorHex;
135
- borderColor: ColorHex;
136
- shadow: Shadow;
137
- };
138
- avatarStack: {
139
- fade: {
140
- bgColor: {
141
- default: ColorHex;
142
- muted: ColorHex;
143
- };
144
- };
145
- };
146
- control: {
147
- bgColor: {
148
- rest: ColorHex;
149
- hover: ColorHex;
150
- active: ColorHex;
151
- disabled: ColorHex;
152
- selected: ColorHex;
153
- };
154
- fgColor: {
155
- rest: ColorHex;
156
- placeholder: ColorHex;
157
- disabled: ColorHex;
158
- };
159
- borderColor: {
160
- rest: ColorHex;
161
- emphasis: ColorHex;
162
- disabled: ColorHex;
163
- selected: ColorHex;
164
- success: ColorHex;
165
- danger: ColorHex;
166
- warning: ColorHex;
167
- };
168
- iconColor: {
169
- rest: ColorHex;
170
- };
171
- transparent: {
172
- bgColor: {
173
- rest: ColorHex;
174
- hover: ColorHex;
175
- active: ColorHex;
176
- disabled: ColorHex;
177
- selected: ColorHex;
178
- };
179
- borderColor: {
180
- rest: ColorHex;
181
- hover: ColorHex;
182
- active: ColorHex;
183
- };
184
- };
185
- danger: {
186
- fgColor: {
187
- rest: ColorHex;
188
- hover: ColorHex;
189
- };
190
- bgColor: {
191
- hover: ColorHex;
192
- active: ColorHex;
193
- };
194
- };
195
- checked: {
196
- bgColor: {
197
- rest: ColorHex;
198
- hover: ColorHex;
199
- active: ColorHex;
200
- disabled: ColorHex;
201
- };
202
- fgColor: {
203
- rest: ColorHex;
204
- disabled: ColorHex;
205
- };
206
- borderColor: {
207
- rest: ColorHex;
208
- hover: ColorHex;
209
- active: ColorHex;
210
- disabled: ColorHex;
211
- };
212
- };
213
- };
214
- controlTrack: {
215
- bgColor: {
216
- rest: ColorHex;
217
- hover: ColorHex;
218
- active: ColorHex;
219
- disabled: ColorHex;
220
- };
221
- fgColor: {
222
- rest: ColorHex;
223
- disabled: ColorHex;
224
- };
225
- borderColor: {
226
- rest: ColorHex;
227
- disabled: ColorHex;
228
- };
229
- };
230
- controlKnob: {
231
- bgColor: {
232
- rest: ColorHex;
233
- disabled: ColorHex;
234
- checked: ColorHex;
235
- };
236
- borderColor: {
237
- rest: ColorHex;
238
- disabled: ColorHex;
239
- checked: ColorHex;
240
- };
241
- };
242
- counter: {
243
- borderColor: ColorHex;
244
- };
245
- button: {
246
- default: {
247
- fgColor: {
248
- rest: ColorHex;
249
- };
250
- bgColor: {
251
- rest: ColorHex;
252
- hover: ColorHex;
253
- active: ColorHex;
254
- selected: ColorHex;
255
- };
256
- borderColor: {
257
- rest: ColorHex;
258
- hover: ColorHex;
259
- active: ColorHex;
260
- };
261
- shadow: {
262
- resting: Shadow;
263
- inset: Shadow;
264
- };
265
- };
266
- primary: {
267
- fgColor: {
268
- rest: ColorHex;
269
- disabled: ColorHex;
270
- };
271
- iconColor: {
272
- rest: ColorHex;
273
- };
274
- bgColor: {
275
- rest: ColorHex;
276
- hover: ColorHex;
277
- active: ColorHex;
278
- disabled: ColorHex;
279
- };
280
- borderColor: {
281
- rest: ColorHex;
282
- hover: ColorHex;
283
- disabled: ColorHex;
284
- };
285
- shadow: {
286
- selected: Shadow;
287
- };
288
- };
289
- invisible: {
290
- fgColor: {
291
- rest: ColorHex;
292
- disabled: ColorHex;
293
- };
294
- bgColor: {
295
- rest: ColorHex;
296
- hover: ColorHex;
297
- active: ColorHex;
298
- disabled: ColorHex;
299
- };
300
- borderColor: {
301
- rest: ColorHex;
302
- hover: ColorHex;
303
- };
304
- };
305
- outline: {
306
- fgColor: {
307
- rest: ColorHex;
308
- hover: ColorHex;
309
- active: ColorHex;
310
- disabled: ColorHex;
311
- };
312
- bgColor: {
313
- rest: ColorHex;
314
- hover: ColorHex;
315
- active: ColorHex;
316
- disabled: ColorHex;
317
- };
318
- borderColor: {
319
- hover: ColorHex;
320
- active: ColorHex;
321
- };
322
- shadow: {
323
- selected: Shadow;
324
- };
325
- };
326
- danger: {
327
- fgColor: {
328
- rest: ColorHex;
329
- hover: ColorHex;
330
- active: ColorHex;
331
- disabled: ColorHex;
332
- };
333
- iconColor: {
334
- rest: ColorHex;
335
- hover: ColorHex;
336
- };
337
- bgColor: {
338
- rest: ColorHex;
339
- hover: ColorHex;
340
- active: ColorHex;
341
- disabled: ColorHex;
342
- };
343
- borderColor: {
344
- rest: ColorHex;
345
- hover: ColorHex;
346
- active: ColorHex;
347
- };
348
- shadow: {
349
- selected: Shadow;
350
- };
351
- };
352
- };
353
- buttonCounter: {
354
- default: {
355
- bgColor: {
356
- rest: ColorHex;
357
- };
358
- };
359
- primary: {
360
- bgColor: {
361
- rest: ColorHex;
362
- };
363
- };
364
- outline: {
365
- bgColor: {
366
- rest: ColorHex;
367
- hover: ColorHex;
368
- disabled: ColorHex;
369
- };
370
- };
371
- danger: {
372
- bgColor: {
373
- hover: ColorHex;
374
- disabled: ColorHex;
375
- rest: ColorHex;
376
- };
377
- };
378
- };
379
- focus: {
380
- outlineColor: ColorHex;
381
- outline: Border;
382
- };
383
- menu: {
384
- bgColor: {
385
- active: ColorHex;
386
- };
387
- };
388
- overlay: {
389
- bgColor: ColorHex;
390
- backdrop: {
391
- bgColor: ColorHex;
392
- };
393
- };
394
- selectMenu: {
395
- borderColor: ColorHex;
396
- bgColor: {
397
- active: ColorHex;
398
- };
399
- };
400
- sideNav: {
401
- bgColor: {
402
- selected: ColorHex;
403
- };
404
- };
405
- timelineBadge: {
406
- bgColor: ColorHex;
407
- };
408
- treeViewItem: {
409
- leadingVisual: {
410
- bgColor: {
411
- rest: ColorHex;
412
- };
413
- };
414
- };
415
- underlineNav: {
416
- borderColor: {
417
- active: ColorHex;
418
- hover: ColorHex;
419
- };
420
- iconColor: {
421
- rest: ColorHex;
422
- };
423
- };
424
- fgColor: {
425
- default: ColorHex;
426
- muted: ColorHex;
427
- onEmphasis: ColorHex;
428
- disabled: ColorHex;
429
- link: {
430
- rest: ColorHex;
431
- inverse: {
432
- rest: ColorHex;
433
- };
434
- control: ColorHex;
435
- };
436
- accent: ColorHex;
437
- success: ColorHex;
438
- attention: ColorHex;
439
- severe: ColorHex;
440
- danger: ColorHex;
441
- open: ColorHex;
442
- closed: ColorHex;
443
- done: ColorHex;
444
- sponsors: ColorHex;
445
- };
446
- bgColor: {
447
- default: ColorHex;
448
- muted: ColorHex;
449
- emphasis: ColorHex;
450
- disabled: ColorHex;
451
- neutral: {
452
- muted: ColorHex;
453
- emphasis: ColorHex;
454
- };
455
- accent: {
456
- muted: ColorHex;
457
- emphasis: ColorHex;
458
- };
459
- success: {
460
- muted: ColorHex;
461
- emphasis: ColorHex;
462
- };
463
- attention: {
464
- muted: ColorHex;
465
- emphasis: ColorHex;
466
- };
467
- severe: {
468
- muted: ColorHex;
469
- emphasis: ColorHex;
470
- };
471
- danger: {
472
- muted: ColorHex;
473
- emphasis: ColorHex;
474
- };
475
- open: {
476
- muted: ColorHex;
477
- emphasis: ColorHex;
478
- };
479
- closed: {
480
- muted: ColorHex;
481
- emphasis: ColorHex;
482
- };
483
- done: {
484
- muted: ColorHex;
485
- emphasis: ColorHex;
486
- };
487
- sponsors: {
488
- muted: ColorHex;
489
- emphasis: ColorHex;
490
- };
491
- };
492
- borderColor: {
493
- default: ColorHex;
494
- muted: ColorHex;
495
- emphasis: ColorHex;
496
- disabled: ColorHex;
497
- neutral: {
498
- muted: ColorHex;
499
- emphasis: ColorHex;
500
- };
501
- accent: {
502
- muted: ColorHex;
503
- emphasis: ColorHex;
504
- };
505
- success: {
506
- muted: ColorHex;
507
- emphasis: ColorHex;
508
- };
509
- attention: {
510
- muted: ColorHex;
511
- emphasis: ColorHex;
512
- };
513
- severe: {
514
- muted: ColorHex;
515
- emphasis: ColorHex;
516
- };
517
- danger: {
518
- muted: ColorHex;
519
- emphasis: ColorHex;
520
- };
521
- open: {
522
- muted: ColorHex;
523
- emphasis: ColorHex;
524
- };
525
- closed: {
526
- muted: ColorHex;
527
- emphasis: ColorHex;
528
- };
529
- done: {
530
- muted: ColorHex;
531
- emphasis: ColorHex;
532
- };
533
- sponsors: {
534
- muted: ColorHex;
535
- emphasis: ColorHex;
536
- };
537
- };
538
- color: {
539
- ansi: {
540
- black: {
541
- bright: ColorHex;
542
- };
543
- white: {
544
- bright: ColorHex;
545
- };
546
- gray: ColorHex;
547
- red: {
548
- bright: ColorHex;
549
- };
550
- green: {
551
- bright: ColorHex;
552
- };
553
- yellow: {
554
- bright: ColorHex;
555
- };
556
- blue: {
557
- bright: ColorHex;
558
- };
559
- magenta: {
560
- bright: ColorHex;
561
- };
562
- cyan: {
563
- bright: ColorHex;
564
- };
565
- };
566
- prettylights: {
567
- syntax: {
568
- comment: ColorHex;
569
- constant: {
570
- other: {
571
- reference: {
572
- link: ColorHex;
573
- };
574
- };
575
- };
576
- entity: {
577
- tag: ColorHex;
578
- };
579
- storage: {
580
- modifier: {
581
- import: ColorHex;
582
- };
583
- };
584
- keyword: ColorHex;
585
- string: {
586
- regexp: ColorHex;
587
- };
588
- variable: ColorHex;
589
- brackethighlighter: {
590
- angle: ColorHex;
591
- };
592
- invalid: {
593
- illegal: {
594
- bg: ColorHex;
595
- };
596
- };
597
- carriage: {
598
- return: {
599
- bg: ColorHex;
600
- };
601
- };
602
- markup: {
603
- ignored: {
604
- bg: ColorHex;
605
- };
606
- };
607
- meta: {
608
- diff: {
609
- range: ColorHex;
610
- };
611
- };
612
- sublimelinter: {
613
- gutter: {
614
- mark: ColorHex;
615
- };
616
- };
617
- };
618
- };
619
- };
620
- shadow: {
621
- inset: Shadow;
622
- highlight: Shadow;
623
- resting: {
624
- xsmall: Shadow;
625
- small: Shadow;
626
- medium: Shadow;
627
- };
628
- floating: {
629
- small: Shadow;
630
- medium: Shadow;
631
- large: Shadow;
632
- xlarge: Shadow;
633
- };
634
- };
635
- };
@@ -1,87 +0,0 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Tue, 28 Mar 2023 18:10:13 GMT
4
- */
5
-
6
- /**
7
- * @description size in px
8
- */
9
- type SizePx = `${number}px`;
10
-
11
- /**
12
- * @description size in em
13
- */
14
- type SizeEm = `${number}em`;
15
-
16
- export type TypographyDesignTokens = {
17
- fontStack: {
18
- system: string;
19
- sansSerif: string;
20
- monospace: string;
21
- };
22
- text: {
23
- display: {
24
- lineBoxHeight: SizePx;
25
- size: SizePx;
26
- lineHeight: string;
27
- weight: number;
28
- shorthand: string;
29
- };
30
- title: {
31
- size: {
32
- large: SizePx;
33
- medium: SizePx;
34
- };
35
- lineHeight: {
36
- large: string;
37
- medium: string;
38
- };
39
- weight: number;
40
- shorthand: {
41
- large: string;
42
- medium: string;
43
- };
44
- };
45
- subtitle: {
46
- size: SizePx;
47
- lineHeight: string;
48
- weight: number;
49
- shorthand: string;
50
- };
51
- body: {
52
- size: {
53
- large: SizePx;
54
- medium: SizePx;
55
- small: SizePx;
56
- };
57
- lineHeight: {
58
- large: string;
59
- medium: string;
60
- small: string;
61
- };
62
- weight: number;
63
- shorthand: {
64
- large: string;
65
- medium: string;
66
- small: string;
67
- };
68
- };
69
- caption: {
70
- size: SizePx;
71
- lineHeight: string;
72
- weight: number;
73
- shorthand: string;
74
- };
75
- codeBlock: {
76
- size: SizePx;
77
- lineHeight: string;
78
- weight: number;
79
- shorthand: string;
80
- };
81
- codeInline: {
82
- size: SizeEm;
83
- weight: number;
84
- shorthand: string;
85
- };
86
- };
87
- };