@primer/primitives 7.11.1 → 7.11.2-rc.0832cd6

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 (258) hide show
  1. package/README.md +53 -1
  2. package/dist/js/colors/dark.js +1 -1
  3. package/dist/js/colors/dark_colorblind.js +1 -1
  4. package/dist/js/colors/dark_dimmed.js +1 -1
  5. package/dist/js/colors/dark_high_contrast.js +1 -1
  6. package/dist/js/colors/dark_tritanopia.js +1 -1
  7. package/dist/js/colors/light.js +1 -1
  8. package/dist/js/colors/light_colorblind.js +1 -1
  9. package/dist/js/colors/light_high_contrast.js +1 -1
  10. package/dist/js/colors/light_tritanopia.js +1 -1
  11. package/dist/json/colors/dark.json +1 -1
  12. package/dist/json/colors/dark_colorblind.json +1 -1
  13. package/dist/json/colors/dark_dimmed.json +1 -1
  14. package/dist/json/colors/dark_high_contrast.json +1 -1
  15. package/dist/json/colors/dark_tritanopia.json +1 -1
  16. package/dist/json/colors/light.json +1 -1
  17. package/dist/json/colors/light_colorblind.json +1 -1
  18. package/dist/json/colors/light_high_contrast.json +1 -1
  19. package/dist/json/colors/light_tritanopia.json +1 -1
  20. package/dist/scss/colors/_dark.scss +1 -1
  21. package/dist/scss/colors/_dark_colorblind.scss +1 -1
  22. package/dist/scss/colors/_dark_dimmed.scss +1 -1
  23. package/dist/scss/colors/_dark_high_contrast.scss +1 -1
  24. package/dist/scss/colors/_dark_tritanopia.scss +1 -1
  25. package/dist/scss/colors/_light.scss +1 -1
  26. package/dist/scss/colors/_light_colorblind.scss +1 -1
  27. package/dist/scss/colors/_light_high_contrast.scss +1 -1
  28. package/dist/scss/colors/_light_tritanopia.scss +1 -1
  29. package/dist/ts/colors/dark.ts +1 -1
  30. package/dist/ts/colors/dark_colorblind.ts +1 -1
  31. package/dist/ts/colors/dark_dimmed.ts +1 -1
  32. package/dist/ts/colors/dark_high_contrast.ts +1 -1
  33. package/dist/ts/colors/dark_tritanopia.ts +1 -1
  34. package/dist/ts/colors/light.ts +1 -1
  35. package/dist/ts/colors/light_colorblind.ts +1 -1
  36. package/dist/ts/colors/light_high_contrast.ts +1 -1
  37. package/dist/ts/colors/light_tritanopia.ts +1 -1
  38. package/package.json +15 -15
  39. package/tokens-next-private/css/base/color/dark-colorblind.css +198 -0
  40. package/tokens-next-private/css/base/color/dark-dimmed.css +198 -0
  41. package/tokens-next-private/css/base/color/dark-high-contrast.css +198 -0
  42. package/tokens-next-private/css/base/color/dark-tritanopia.css +198 -0
  43. package/tokens-next-private/css/base/color/dark.css +198 -0
  44. package/tokens-next-private/css/base/color/light-colorblind.css +198 -0
  45. package/tokens-next-private/css/base/color/light-high-contrast.css +198 -0
  46. package/tokens-next-private/css/base/color/light-tritanopia.css +198 -0
  47. package/tokens-next-private/css/base/color/light.css +198 -0
  48. package/tokens-next-private/css/base/size/size.css +24 -0
  49. package/tokens-next-private/css/base/typography/typography.css +11 -0
  50. package/tokens-next-private/css/functional/size/border.css +18 -0
  51. package/tokens-next-private/css/functional/size/breakpoints.css +13 -0
  52. package/tokens-next-private/css/functional/size/size-coarse.css +10 -0
  53. package/tokens-next-private/css/functional/size/size-fine.css +10 -0
  54. package/tokens-next-private/css/functional/size/size.css +54 -0
  55. package/tokens-next-private/css/functional/size/viewport.css +13 -0
  56. package/tokens-next-private/css/functional/themes/dark-colorblind.css +666 -0
  57. package/tokens-next-private/css/functional/themes/dark-dimmed.css +666 -0
  58. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +666 -0
  59. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +666 -0
  60. package/tokens-next-private/css/functional/themes/dark.css +666 -0
  61. package/tokens-next-private/css/functional/themes/light-colorblind.css +668 -0
  62. package/tokens-next-private/css/functional/themes/light-high-contrast.css +668 -0
  63. package/tokens-next-private/css/functional/themes/light-tritanopia.css +668 -0
  64. package/tokens-next-private/css/functional/themes/light.css +668 -0
  65. package/tokens-next-private/css/functional/typography/typography.css +47 -0
  66. package/tokens-next-private/docs/base/color/dark-colorblind.json +1419 -0
  67. package/tokens-next-private/docs/base/color/dark-dimmed.json +1419 -0
  68. package/tokens-next-private/docs/base/color/dark-high-contrast.json +1419 -0
  69. package/tokens-next-private/docs/base/color/dark-tritanopia.json +1419 -0
  70. package/tokens-next-private/docs/base/color/dark.json +1419 -0
  71. package/tokens-next-private/docs/base/color/light-colorblind.json +1419 -0
  72. package/tokens-next-private/docs/base/color/light-high-contrast.json +1419 -0
  73. package/tokens-next-private/docs/base/color/light-tritanopia.json +1419 -0
  74. package/tokens-next-private/docs/base/color/light.json +1419 -0
  75. package/tokens-next-private/docs/base/size/size.json +227 -0
  76. package/tokens-next-private/docs/base/typography/typography.json +60 -0
  77. package/tokens-next-private/docs/functional/size/border.json +135 -0
  78. package/tokens-next-private/docs/functional/size/breakpoints.json +82 -0
  79. package/tokens-next-private/docs/functional/size/size-coarse.json +55 -0
  80. package/tokens-next-private/docs/functional/size/size-fine.json +55 -0
  81. package/tokens-next-private/docs/functional/size/size.json +647 -0
  82. package/tokens-next-private/docs/functional/size/viewport.json +70 -0
  83. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +4572 -0
  84. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +4572 -0
  85. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +4582 -0
  86. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +4572 -0
  87. package/tokens-next-private/docs/functional/themes/dark.json +4572 -0
  88. package/tokens-next-private/docs/functional/themes/light-colorblind.json +4575 -0
  89. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +4569 -0
  90. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +4575 -0
  91. package/tokens-next-private/docs/functional/themes/light.json +4569 -0
  92. package/tokens-next-private/docs/functional/typography/typography.json +581 -0
  93. package/tokens-next-private/js/base/color/dark-colorblind.js +122 -0
  94. package/tokens-next-private/js/base/color/dark-dimmed.js +122 -0
  95. package/tokens-next-private/js/base/color/dark-high-contrast.js +122 -0
  96. package/tokens-next-private/js/base/color/dark-tritanopia.js +122 -0
  97. package/tokens-next-private/js/base/color/dark.js +122 -0
  98. package/tokens-next-private/js/base/color/light-colorblind.js +122 -0
  99. package/tokens-next-private/js/base/color/light-high-contrast.js +122 -0
  100. package/tokens-next-private/js/base/color/light-tritanopia.js +122 -0
  101. package/tokens-next-private/js/base/color/light.js +122 -0
  102. package/tokens-next-private/js/base/size/size.js +28 -0
  103. package/tokens-next-private/js/base/typography/typography.js +17 -0
  104. package/tokens-next-private/js/functional/size/border.js +28 -0
  105. package/tokens-next-private/js/functional/size/breakpoints.js +15 -0
  106. package/tokens-next-private/js/functional/size/size-coarse.js +24 -0
  107. package/tokens-next-private/js/functional/size/size-fine.js +24 -0
  108. package/tokens-next-private/js/functional/size/size.js +98 -0
  109. package/tokens-next-private/js/functional/size/viewport.js +15 -0
  110. package/tokens-next-private/js/functional/themes/dark-colorblind.js +472 -0
  111. package/tokens-next-private/js/functional/themes/dark-dimmed.js +472 -0
  112. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +472 -0
  113. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +472 -0
  114. package/tokens-next-private/js/functional/themes/dark.js +472 -0
  115. package/tokens-next-private/js/functional/themes/light-colorblind.js +471 -0
  116. package/tokens-next-private/js/functional/themes/light-high-contrast.js +471 -0
  117. package/tokens-next-private/js/functional/themes/light-tritanopia.js +471 -0
  118. package/tokens-next-private/js/functional/themes/light.js +471 -0
  119. package/tokens-next-private/js/functional/typography/typography.js +77 -0
  120. package/tokens-next-private/json/base/color/dark-colorblind.json +117 -0
  121. package/tokens-next-private/json/base/color/dark-dimmed.json +117 -0
  122. package/tokens-next-private/json/base/color/dark-high-contrast.json +117 -0
  123. package/tokens-next-private/json/base/color/dark-tritanopia.json +117 -0
  124. package/tokens-next-private/json/base/color/dark.json +117 -0
  125. package/tokens-next-private/json/base/color/light-colorblind.json +117 -0
  126. package/tokens-next-private/json/base/color/light-high-contrast.json +117 -0
  127. package/tokens-next-private/json/base/color/light-tritanopia.json +117 -0
  128. package/tokens-next-private/json/base/color/light.json +117 -0
  129. package/tokens-next-private/json/base/size/size.json +23 -0
  130. package/tokens-next-private/json/base/typography/typography.json +12 -0
  131. package/tokens-next-private/json/functional/size/border.json +23 -0
  132. package/tokens-next-private/json/functional/size/breakpoints.json +10 -0
  133. package/tokens-next-private/json/functional/size/size-coarse.json +19 -0
  134. package/tokens-next-private/json/functional/size/size-fine.json +19 -0
  135. package/tokens-next-private/json/functional/size/size.json +93 -0
  136. package/tokens-next-private/json/functional/size/viewport.json +10 -0
  137. package/tokens-next-private/json/functional/themes/dark-colorblind.json +467 -0
  138. package/tokens-next-private/json/functional/themes/dark-dimmed.json +467 -0
  139. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +467 -0
  140. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +467 -0
  141. package/tokens-next-private/json/functional/themes/dark.json +467 -0
  142. package/tokens-next-private/json/functional/themes/light-colorblind.json +466 -0
  143. package/tokens-next-private/json/functional/themes/light-high-contrast.json +466 -0
  144. package/tokens-next-private/json/functional/themes/light-tritanopia.json +466 -0
  145. package/tokens-next-private/json/functional/themes/light.json +466 -0
  146. package/tokens-next-private/json/functional/typography/typography.json +72 -0
  147. package/tokens-next-private/removed/color.json +421 -0
  148. package/tokens-next-private/scss/base/color/dark-colorblind.scss +102 -0
  149. package/tokens-next-private/scss/base/color/dark-dimmed.scss +102 -0
  150. package/tokens-next-private/scss/base/color/dark-high-contrast.scss +102 -0
  151. package/tokens-next-private/scss/base/color/dark-tritanopia.scss +102 -0
  152. package/tokens-next-private/scss/base/color/dark.scss +102 -0
  153. package/tokens-next-private/scss/base/color/light-colorblind.scss +102 -0
  154. package/tokens-next-private/scss/base/color/light-high-contrast.scss +102 -0
  155. package/tokens-next-private/scss/base/color/light-tritanopia.scss +102 -0
  156. package/tokens-next-private/scss/base/color/light.scss +102 -0
  157. package/tokens-next-private/scss/base/size/size.scss +26 -0
  158. package/tokens-next-private/scss/base/typography/typography.scss +13 -0
  159. package/tokens-next-private/scss/functional/size/border.scss +20 -0
  160. package/tokens-next-private/scss/functional/size/breakpoints.scss +15 -0
  161. package/tokens-next-private/scss/functional/size/size-coarse.scss +12 -0
  162. package/tokens-next-private/scss/functional/size/size-fine.scss +12 -0
  163. package/tokens-next-private/scss/functional/size/size.scss +56 -0
  164. package/tokens-next-private/scss/functional/size/viewport.scss +24 -0
  165. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +336 -0
  166. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +336 -0
  167. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +336 -0
  168. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +336 -0
  169. package/tokens-next-private/scss/functional/themes/dark.scss +336 -0
  170. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +337 -0
  171. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +337 -0
  172. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +337 -0
  173. package/tokens-next-private/scss/functional/themes/light.scss +337 -0
  174. package/tokens-next-private/scss/functional/typography/typography.scss +49 -0
  175. package/tokens-next-private/ts/base/color/dark-colorblind.ts +122 -0
  176. package/tokens-next-private/ts/base/color/dark-dimmed.ts +122 -0
  177. package/tokens-next-private/ts/base/color/dark-high-contrast.ts +122 -0
  178. package/tokens-next-private/ts/base/color/dark-tritanopia.ts +122 -0
  179. package/tokens-next-private/ts/base/color/dark.ts +122 -0
  180. package/tokens-next-private/ts/base/color/light-colorblind.ts +122 -0
  181. package/tokens-next-private/ts/base/color/light-high-contrast.ts +122 -0
  182. package/tokens-next-private/ts/base/color/light-tritanopia.ts +122 -0
  183. package/tokens-next-private/ts/base/color/light.ts +122 -0
  184. package/tokens-next-private/ts/base/size/size.ts +28 -0
  185. package/tokens-next-private/ts/base/typography/typography.ts +17 -0
  186. package/tokens-next-private/ts/functional/size/border.ts +28 -0
  187. package/tokens-next-private/ts/functional/size/breakpoints.ts +15 -0
  188. package/tokens-next-private/ts/functional/size/size-coarse.ts +24 -0
  189. package/tokens-next-private/ts/functional/size/size-fine.ts +24 -0
  190. package/tokens-next-private/ts/functional/size/size.ts +98 -0
  191. package/tokens-next-private/ts/functional/size/viewport.ts +15 -0
  192. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +472 -0
  193. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +472 -0
  194. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +472 -0
  195. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +472 -0
  196. package/tokens-next-private/ts/functional/themes/dark.ts +472 -0
  197. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +471 -0
  198. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +471 -0
  199. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +471 -0
  200. package/tokens-next-private/ts/functional/themes/light.ts +471 -0
  201. package/tokens-next-private/ts/functional/typography/typography.ts +77 -0
  202. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +125 -0
  203. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +143 -0
  204. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +488 -0
  205. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +87 -0
  206. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  207. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  208. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  209. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  210. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  211. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  212. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  213. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  214. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  215. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  216. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  217. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  218. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  219. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  220. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  221. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  222. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  223. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  224. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  225. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  226. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  227. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  228. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  229. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  230. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  231. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  232. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  233. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  234. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  235. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  236. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  237. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  238. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  239. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  240. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  241. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  242. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  243. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  244. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  245. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  246. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  247. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  248. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  249. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  250. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  251. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  252. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  253. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  254. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  255. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  256. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  257. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  258. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Tue, 28 Mar 2023 12:06:56 GMT
4
+ */
5
+
6
+ exports.default = {
7
+ control: {
8
+ minTarget: {
9
+ fine: "16px",
10
+ coarse: "44px",
11
+ },
12
+ xsmall: {
13
+ size: "24px",
14
+ lineBoxHeight: "20px",
15
+ paddingBlock: "calc((24px - 20px) / 2)",
16
+ paddingInline: {
17
+ condensed: "4px",
18
+ normal: "8px",
19
+ spacious: "12px",
20
+ },
21
+ gap: "4px",
22
+ },
23
+ small: {
24
+ size: "28px",
25
+ lineBoxHeight: "20px",
26
+ paddingBlock: "calc((28px - 20px) / 2)",
27
+ paddingInline: {
28
+ condensed: "8px",
29
+ normal: "12px",
30
+ },
31
+ gap: "4px",
32
+ },
33
+ medium: {
34
+ size: "32px",
35
+ lineBoxHeight: "20px",
36
+ paddingBlock: "calc((32px - 20px) / 2)",
37
+ paddingInline: {
38
+ condensed: "8px",
39
+ normal: "12px",
40
+ spacious: "16px",
41
+ },
42
+ gap: "8px",
43
+ },
44
+ large: {
45
+ size: "40px",
46
+ lineBoxHeight: "20px",
47
+ paddingBlock: "calc((40px - 20px) / 2)",
48
+ paddingInline: {
49
+ normal: "12px",
50
+ spacious: "16px",
51
+ },
52
+ gap: "8px",
53
+ },
54
+ xlarge: {
55
+ size: "48px",
56
+ lineBoxHeight: "20px",
57
+ paddingBlock: "calc((48px - 20px) / 2)",
58
+ paddingInline: {
59
+ normal: "12px",
60
+ spacious: "16px",
61
+ },
62
+ gap: "8px",
63
+ },
64
+ },
65
+ controlStack: {
66
+ small: {
67
+ gap: {
68
+ condensed: "8px",
69
+ spacious: "16px",
70
+ },
71
+ },
72
+ medium: {
73
+ gap: {
74
+ condensed: "8px",
75
+ spacious: "12px",
76
+ },
77
+ },
78
+ large: {
79
+ gap: {
80
+ auto: "8px",
81
+ condensed: "8px",
82
+ spacious: "12px",
83
+ },
84
+ },
85
+ },
86
+ stack: {
87
+ padding: {
88
+ condensed: "8px",
89
+ normal: "16px",
90
+ spacious: "24px",
91
+ },
92
+ gap: {
93
+ condensed: "8px",
94
+ normal: "16px",
95
+ spacious: "24px",
96
+ },
97
+ },
98
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Tue, 28 Mar 2023 12:06:56 GMT
4
+ */
5
+
6
+ exports.default = {
7
+ viewportRange: {
8
+ narrow: "(max-width: calc(768px - 0.02px))",
9
+ narrowLandscape: "(max-width: calc(1012px - 0.02px) and (max-height: calc(544px - 0.02px)) and (orientation: landscape))",
10
+ regular: "(min-width: 768px)",
11
+ wide: "(min-width: 1440px)",
12
+ portrait: "(orientation: portrait)",
13
+ landscape: "(orientation: landscape)",
14
+ },
15
+ };
@@ -0,0 +1,472 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Tue, 28 Mar 2023 12:06:55 GMT
4
+ */
5
+
6
+ exports.default = {
7
+ color: {
8
+ ansi: {
9
+ black: "#484f58",
10
+ blackBright: "#6e7681",
11
+ white: "#b1bac4",
12
+ whiteBright: "#ffffff",
13
+ gray: "#6e7681",
14
+ red: "#ec8e2c",
15
+ redBright: "#fdac54",
16
+ green: "#58a6ff",
17
+ greenBright: "#79c0ff",
18
+ yellow: "#d29922",
19
+ yellowBright: "#e3b341",
20
+ blue: "#58a6ff",
21
+ blueBright: "#79c0ff",
22
+ magenta: "#bc8cff",
23
+ magentaBright: "#d2a8ff",
24
+ cyan: "#39c5cf",
25
+ cyanBright: "#56d4dd",
26
+ },
27
+ checks: {
28
+ bg: "#010409",
29
+ textPrimary: "#c9d1d9",
30
+ textSecondary: "#8b949e",
31
+ textLink: "#58a6ff",
32
+ btnIcon: "#8b949e",
33
+ btnHoverIcon: "#c9d1d9",
34
+ btnHoverBg: "#6e76811a",
35
+ inputText: "#8b949e",
36
+ inputPlaceholderText: "#6e7681",
37
+ inputFocusText: "#c9d1d9",
38
+ inputBg: "#161b22",
39
+ donutError: "#d47616",
40
+ donutPending: "#d29922",
41
+ donutSuccess: "#388bfd",
42
+ donutNeutral: "#8b949e",
43
+ dropdownText: "#c9d1d9",
44
+ dropdownBg: "#161b22",
45
+ dropdownBorder: "#30363d",
46
+ dropdownShadow: "#0104094d",
47
+ dropdownHoverText: "#c9d1d9",
48
+ dropdownHoverBg: "#6e76811a",
49
+ dropdownBtnHoverText: "#c9d1d9",
50
+ dropdownBtnHoverBg: "#6e76811a",
51
+ scrollbarThumbBg: "#6e768166",
52
+ headerLabelText: "#8b949e",
53
+ headerLabelOpenText: "#c9d1d9",
54
+ headerBorder: "#21262d",
55
+ headerIcon: "#8b949e",
56
+ lineText: "#8b949e",
57
+ lineNumText: "#6e7681",
58
+ lineTimestampText: "#6e7681",
59
+ lineHoverBg: "#6e76811a",
60
+ lineSelectedBg: "#388bfd26",
61
+ lineSelectedNumText: "#58a6ff",
62
+ lineDtFmText: "#ffffff",
63
+ lineDtFmBg: "#9e6a03",
64
+ gateBg: "#bb800926",
65
+ gateText: "#8b949e",
66
+ gateWaitingText: "#d29922",
67
+ stepHeaderOpenBg: "#161b22",
68
+ stepErrorText: "#d47616",
69
+ stepWarningText: "#d29922",
70
+ loglineText: "#8b949e",
71
+ loglineNumText: "#6e7681",
72
+ loglineDebugText: "#a371f7",
73
+ loglineErrorText: "#8b949e",
74
+ loglineErrorNumText: "#6e7681",
75
+ loglineErrorBg: "#d4761626",
76
+ loglineWarningText: "#8b949e",
77
+ loglineWarningNumText: "#d29922",
78
+ loglineWarningBg: "#bb800926",
79
+ loglineCommandText: "#58a6ff",
80
+ loglineSectionText: "#58a6ff",
81
+ ansi: {
82
+ black: "#0d1117",
83
+ blackBright: "#161b22",
84
+ white: "#b1bac4",
85
+ whiteBright: "#b1bac4",
86
+ gray: "#6e7681",
87
+ red: "#ec8e2c",
88
+ redBright: "#fdac54",
89
+ green: "#58a6ff",
90
+ greenBright: "#79c0ff",
91
+ yellow: "#d29922",
92
+ yellowBright: "#e3b341",
93
+ blue: "#58a6ff",
94
+ blueBright: "#79c0ff",
95
+ magenta: "#bc8cff",
96
+ magentaBright: "#d2a8ff",
97
+ cyan: "#76e3ea",
98
+ cyanBright: "#b3f0ff",
99
+ },
100
+ },
101
+ avatar: {
102
+ bg: "#ffffff1a",
103
+ border: "#f0f6fc1a",
104
+ stackFade: "#30363d",
105
+ stackFadeMore: "#21262d",
106
+ },
107
+ topicTag: {
108
+ border: "#00000000",
109
+ },
110
+ counter: {
111
+ border: "#00000000",
112
+ },
113
+ selectMenu: {
114
+ backdropBorder: "#484f58",
115
+ tapHighlight: "#30363d80",
116
+ tapFocusBg: "#0c2d6b",
117
+ },
118
+ header: {
119
+ text: "#ffffffb3",
120
+ bg: "#161b22",
121
+ divider: "#8b949e",
122
+ logo: "#f0f6fc",
123
+ },
124
+ headerSearch: {
125
+ bg: "#0d1117",
126
+ border: "#30363d",
127
+ },
128
+ sidenav: {
129
+ selectedBg: "#21262d",
130
+ },
131
+ menu: {
132
+ bgActive: "#161b22",
133
+ },
134
+ input: {
135
+ disabledBg: "#6e768180",
136
+ },
137
+ timeline: {
138
+ badgeBg: "#21262d",
139
+ },
140
+ btn: {
141
+ text: "#c9d1d9",
142
+ bg: "#21262d",
143
+ border: "#f0f6fc1a",
144
+ hoverBg: "#30363d",
145
+ hoverBorder: "#8b949e",
146
+ activeBg: "#282e33",
147
+ activeBorder: "#6e7681",
148
+ selectedBg: "#161b22",
149
+ focusBg: "#21262d",
150
+ focusBorder: "#8b949e",
151
+ counterBg: "#30363d",
152
+ primary: {
153
+ text: "#ffffff",
154
+ bg: "#1f6feb",
155
+ border: "#f0f6fc1a",
156
+ hover: {
157
+ bg: "#388bfd",
158
+ },
159
+ hoverBorder: "#f0f6fc1a",
160
+ selectedBg: "#1f6feb",
161
+ disabledText: "#ffffff80",
162
+ disabledBg: "#1f6feb99",
163
+ disabledBorder: "#f0f6fc1a",
164
+ focusBg: "#1f6feb",
165
+ focusBorder: "#f0f6fc1a",
166
+ icon: "#ffffff",
167
+ counterBg: "#ffffff33",
168
+ },
169
+ outline: {
170
+ text: "#58a6ff",
171
+ hoverText: "#58a6ff",
172
+ hoverBg: "#30363d",
173
+ hoverBorder: "#f0f6fc1a",
174
+ hoverCounterBg: "#ffffff33",
175
+ selectedText: "#ffffff",
176
+ selectedBg: "#0d419d",
177
+ selectedBorder: "#f0f6fc1a",
178
+ disabledText: "#58a6ff80",
179
+ disabledBg: "#0d1117",
180
+ disabledCounterBg: "#1f6feb0d",
181
+ focusBorder: "#f0f6fc1a",
182
+ counterBg: "#1f6feb1a",
183
+ },
184
+ danger: {
185
+ text: "#d47616",
186
+ hoverText: "#ffffff",
187
+ hoverBg: "#b76100",
188
+ hoverBorder: "#d47616",
189
+ hoverIcon: "#ffffff",
190
+ hover: {
191
+ counter: {
192
+ bg: "#ffffff33",
193
+ },
194
+ },
195
+ selectedText: "#ffffff",
196
+ selectedBg: "#914d04",
197
+ selectedBorder: "#ec8e2c",
198
+ disabledText: "#d4761680",
199
+ disabledBg: "#0d1117",
200
+ disabledCounterBg: "#b761000d",
201
+ focusBorder: "#d47616",
202
+ counterBg: "#b761001a",
203
+ icon: "#d47616",
204
+ },
205
+ },
206
+ underlinenav: {
207
+ icon: "#6e7681",
208
+ borderHover: "#6e768166",
209
+ },
210
+ actionListItem: {
211
+ inlineDivider: "#30363d7a",
212
+ default: {
213
+ hoverBg: "#b1bac41f",
214
+ hoverBorder: "#00000000",
215
+ activeBg: "#b1bac433",
216
+ activeBorder: "#00000000",
217
+ selectedBg: "#b1bac414",
218
+ },
219
+ danger: {
220
+ hoverBg: "#d4761629",
221
+ activeBg: "#d476163d",
222
+ hoverText: "#ec8e2c",
223
+ },
224
+ },
225
+ switchTrack: {
226
+ bg: "#010409",
227
+ border: "#6e7681",
228
+ checked: {
229
+ bg: "#1f6feb59",
230
+ hoverBg: "#1f6feb80",
231
+ activeBg: "#1f6feba6",
232
+ border: "#58a6ff",
233
+ },
234
+ },
235
+ switchKnob: {
236
+ checked: {
237
+ bg: "#1f6feb",
238
+ disabledBg: "#484f58",
239
+ },
240
+ },
241
+ segmentedControl: {
242
+ bg: "#161b22",
243
+ button: {
244
+ hover: {
245
+ bg: "#30363d",
246
+ },
247
+ active: {
248
+ bg: "#21262d",
249
+ },
250
+ selected: {
251
+ border: "#6e7681",
252
+ },
253
+ },
254
+ },
255
+ diffBlob: {
256
+ addition: {
257
+ numText: "#c9d1d9",
258
+ fg: "#c9d1d9",
259
+ numBg: "#58a6ff4d",
260
+ lineBg: "#388bfd26",
261
+ wordBg: "#388bfd66",
262
+ },
263
+ deletion: {
264
+ numText: "#c9d1d9",
265
+ fg: "#c9d1d9",
266
+ numBg: "#d476164d",
267
+ lineBg: "#d4761626",
268
+ wordBg: "#d4761666",
269
+ },
270
+ hunk: {
271
+ numBg: "#388bfd66",
272
+ },
273
+ expander: {
274
+ icon: "#8b949e",
275
+ },
276
+ },
277
+ diffstat: {
278
+ additionBg: "#58a6ff",
279
+ deletionBorder: "#f0f6fc1a",
280
+ additionBorder: "#f0f6fc1a",
281
+ },
282
+ page: {
283
+ header: {
284
+ bg: "#0d1117",
285
+ },
286
+ },
287
+ searchKeyword: {
288
+ hl: "#d2992266",
289
+ },
290
+ project: {
291
+ headerBg: "#0d1117",
292
+ sidebarBg: "#161b22",
293
+ gradientIn: "#161b22",
294
+ gradientOut: "#161b2200",
295
+ },
296
+ fg: {
297
+ default: "#c9d1d9",
298
+ muted: "#8b949e",
299
+ subtle: "#6e7681",
300
+ onEmphasis: "#ffffff",
301
+ },
302
+ canvas: {
303
+ default: "#0d1117",
304
+ overlay: "#161b22",
305
+ inset: "#010409",
306
+ subtle: "#161b22",
307
+ },
308
+ border: {
309
+ default: "#30363d",
310
+ muted: "#21262d",
311
+ subtle: "#f0f6fc1a",
312
+ control: "#636a75",
313
+ },
314
+ neutral: {
315
+ emphasisPlus: "#6e7681",
316
+ emphasis: "#6e7681",
317
+ muted: "#6e768166",
318
+ subtle: "#6e76811a",
319
+ },
320
+ accent: {
321
+ fg: "#58a6ff",
322
+ emphasis: "#1f6feb",
323
+ muted: "#388bfd66",
324
+ subtle: "#388bfd26",
325
+ },
326
+ success: {
327
+ fg: "#58a6ff",
328
+ emphasis: "#1f6feb",
329
+ muted: "#388bfd66",
330
+ subtle: "#388bfd26",
331
+ },
332
+ attention: {
333
+ fg: "#d29922",
334
+ emphasis: "#9e6a03",
335
+ muted: "#bb800966",
336
+ subtle: "#bb800926",
337
+ },
338
+ severe: {
339
+ fg: "#d47616",
340
+ emphasis: "#b76100",
341
+ muted: "#d4761666",
342
+ subtle: "#d4761626",
343
+ },
344
+ danger: {
345
+ fg: "#d47616",
346
+ emphasis: "#b76100",
347
+ muted: "#d4761666",
348
+ subtle: "#d4761626",
349
+ },
350
+ open: {
351
+ fg: "#ec8e2c",
352
+ emphasis: "#b76100",
353
+ muted: "#d4761666",
354
+ subtle: "#d4761626",
355
+ },
356
+ closed: {
357
+ fg: "#8b949e",
358
+ emphasis: "#6e7681",
359
+ muted: "#6e768166",
360
+ subtle: "#6e76811a",
361
+ },
362
+ done: {
363
+ fg: "#a371f7",
364
+ emphasis: "#8957e5",
365
+ muted: "#a371f766",
366
+ subtle: "#a371f726",
367
+ },
368
+ sponsors: {
369
+ fg: "#db61a2",
370
+ emphasis: "#bf4b8a",
371
+ muted: "#db61a266",
372
+ subtle: "#db61a226",
373
+ },
374
+ shadow: {
375
+ small: "#010409f5",
376
+ medium: "#6e7681d9",
377
+ large: "#6e7681cc",
378
+ extraLarge: "#6e7681b3",
379
+ highlight: "#ffffff40",
380
+ inset: "#b1bac400",
381
+ },
382
+ focus: "#1f6feb",
383
+ primer: {
384
+ fg: {
385
+ disabled: "#484f58",
386
+ },
387
+ canvas: {
388
+ backdrop: "#010409cc",
389
+ sticky: "#0d1117f2",
390
+ },
391
+ border: {
392
+ active: "#f78166",
393
+ contrast: "#ffffff33",
394
+ },
395
+ },
396
+ prettylights: {
397
+ syntax: {
398
+ comment: "#8b949e",
399
+ constant: "#79c0ff",
400
+ entity: "#d2a8ff",
401
+ storageModifierImport: "#c9d1d9",
402
+ entityTag: "#a5d6ff",
403
+ keyword: "#ec8e2c",
404
+ string: "#a5d6ff",
405
+ variable: "#fdac54",
406
+ brackethighlighterUnmatched: "#d47616",
407
+ invalidIllegalText: "#f0f6fc",
408
+ invalidIllegalBg: "#6c3906",
409
+ carriageReturnText: "#f0f6fc",
410
+ carriageReturnBg: "#914d04",
411
+ stringRegexp: "#a5d6ff",
412
+ markupList: "#f2cc60",
413
+ markupHeading: "#1f6feb",
414
+ markupItalic: "#c9d1d9",
415
+ markupBold: "#c9d1d9",
416
+ markupDeletedText: "#ffe2bb",
417
+ markupDeletedBg: "#4e2906",
418
+ markupInsertedText: "#cae8ff",
419
+ markupInsertedBg: "#0c2d6b",
420
+ markupChangedText: "#ffe2bb",
421
+ markupChangedBg: "#4e2906",
422
+ markupIgnoredText: "#c9d1d9",
423
+ markupIgnoredBg: "#1158c7",
424
+ metaDiffRange: "#d2a8ff",
425
+ brackethighlighterAngle: "#8b949e",
426
+ sublimelinterGutterMark: "#484f58",
427
+ constantOtherReferenceLink: "#a5d6ff",
428
+ },
429
+ },
430
+ codemirror: {
431
+ text: "#c9d1d9",
432
+ bg: "#0d1117",
433
+ guttersBg: "#0d1117",
434
+ guttermarkerText: "#0d1117",
435
+ guttermarkerSubtleText: "#6e7681",
436
+ linenumberText: "#8b949e",
437
+ cursor: "#c9d1d9",
438
+ selectionBg: "#388bfd66",
439
+ activelineBg: "#6e76811a",
440
+ matchingbracketText: "#c9d1d9",
441
+ linesBg: "#0d1117",
442
+ syntax: {
443
+ comment: "#8b949e",
444
+ constant: "#79c0ff",
445
+ entity: "#d2a8ff",
446
+ keyword: "#ec8e2c",
447
+ storage: "#ec8e2c",
448
+ string: "#a5d6ff",
449
+ support: "#79c0ff",
450
+ variable: "#fdac54",
451
+ },
452
+ },
453
+ },
454
+ shadow: {
455
+ color: {
456
+ small: "#010409f5",
457
+ medium: "#6e7681d9",
458
+ large: "#6e7681cc",
459
+ extraLarge: "#6e7681b3",
460
+ highlight: "#ffffff40",
461
+ inset: "#b1bac400",
462
+ },
463
+ small: "0px 1px 0px 0px #010409",
464
+ medium: "0px 3px 6px 0px #6e7681",
465
+ large: "0px 8px 24px 0px #6e7681",
466
+ extraLarge: "0px 12px 28px 0px #6e7681",
467
+ overlay: "0px 0px 0px 1px #30363d, 0px 16px 32px 0px #6e7681",
468
+ },
469
+ outline: {
470
+ focus: "#1f6feb solid 1px",
471
+ },
472
+ };