@primer/primitives 10.0.0-rc.367a0502 → 10.0.0-rc.4512e3c0

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 (357) hide show
  1. package/README.md +2 -2
  2. package/dist/build/PrimerStyleDictionary.d.ts +8 -0
  3. package/dist/build/PrimerStyleDictionary.js +80 -0
  4. package/dist/build/filters/index.d.ts +14 -0
  5. package/dist/build/filters/index.js +14 -0
  6. package/dist/build/filters/isBorder.d.ts +7 -0
  7. package/dist/build/filters/isBorder.js +8 -0
  8. package/dist/build/filters/isColor.d.ts +7 -0
  9. package/dist/build/filters/isColor.js +13 -0
  10. package/dist/build/filters/isColorWithAlpha.d.ts +7 -0
  11. package/dist/build/filters/isColorWithAlpha.js +9 -0
  12. package/dist/build/filters/isColorWithMix.d.ts +7 -0
  13. package/dist/build/filters/isColorWithMix.js +24 -0
  14. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  15. package/dist/build/filters/isCubicBezier.js +10 -0
  16. package/dist/build/filters/isDeprecated.d.ts +7 -0
  17. package/dist/build/filters/isDeprecated.js +8 -0
  18. package/dist/build/filters/isDimension.d.ts +7 -0
  19. package/dist/build/filters/isDimension.js +8 -0
  20. package/dist/build/filters/isDuration.d.ts +7 -0
  21. package/dist/build/filters/isDuration.js +8 -0
  22. package/dist/build/filters/isFontFamily.d.ts +7 -0
  23. package/dist/build/filters/isFontFamily.js +8 -0
  24. package/dist/build/filters/isFontWeight.d.ts +7 -0
  25. package/dist/build/filters/isFontWeight.js +8 -0
  26. package/dist/build/filters/isFromFile.d.ts +8 -0
  27. package/dist/build/filters/isFromFile.js +10 -0
  28. package/dist/build/filters/isNumber.d.ts +7 -0
  29. package/dist/build/filters/isNumber.js +8 -0
  30. package/dist/build/filters/isShadow.d.ts +7 -0
  31. package/dist/build/filters/isShadow.js +8 -0
  32. package/dist/build/filters/isSource.d.ts +7 -0
  33. package/dist/build/filters/isSource.js +8 -0
  34. package/dist/build/filters/isTypography.d.ts +7 -0
  35. package/dist/build/filters/isTypography.js +8 -0
  36. package/dist/build/formats/cssAdvanced.d.ts +2 -0
  37. package/dist/build/formats/cssAdvanced.js +86 -0
  38. package/dist/build/formats/cssCustomMedia.d.ts +7 -0
  39. package/dist/build/formats/cssCustomMedia.js +26 -0
  40. package/dist/build/formats/index.d.ts +9 -0
  41. package/dist/build/formats/index.js +9 -0
  42. package/dist/build/formats/javascriptCommonJs.d.ts +7 -0
  43. package/dist/build/formats/javascriptCommonJs.js +26 -0
  44. package/dist/build/formats/javascriptEsm.d.ts +7 -0
  45. package/dist/build/formats/javascriptEsm.js +26 -0
  46. package/dist/build/formats/jsonFigma.d.ts +7 -0
  47. package/dist/build/formats/jsonFigma.js +121 -0
  48. package/dist/build/formats/jsonNestedPrefixed.d.ts +8 -0
  49. package/dist/build/formats/jsonNestedPrefixed.js +30 -0
  50. package/dist/build/formats/jsonOneDimensional.d.ts +8 -0
  51. package/dist/build/formats/jsonOneDimensional.js +32 -0
  52. package/dist/build/formats/jsonPostCssFallback.d.ts +8 -0
  53. package/dist/build/formats/jsonPostCssFallback.js +14 -0
  54. package/dist/build/formats/typescriptExportDefinition.d.ts +7 -0
  55. package/dist/build/formats/typescriptExportDefinition.js +170 -0
  56. package/dist/build/formats/utilities/getPropName.d.ts +1 -0
  57. package/dist/build/formats/utilities/getPropName.js +16 -0
  58. package/dist/build/formats/utilities/jsonToFlat.d.ts +11 -0
  59. package/dist/build/formats/utilities/jsonToFlat.js +8 -0
  60. package/dist/build/formats/utilities/jsonToNestedValue.d.ts +8 -0
  61. package/dist/build/formats/utilities/jsonToNestedValue.js +23 -0
  62. package/dist/build/formats/utilities/prefixTokens.d.ts +8 -0
  63. package/dist/build/formats/utilities/prefixTokens.js +13 -0
  64. package/dist/build/parsers/index.d.ts +1 -0
  65. package/dist/build/parsers/index.js +1 -0
  66. package/dist/build/parsers/w3cJsonParser.d.ts +6 -0
  67. package/dist/build/parsers/w3cJsonParser.js +25 -0
  68. package/dist/build/platforms/css.d.ts +2 -0
  69. package/dist/build/platforms/css.js +96 -0
  70. package/dist/build/platforms/deprecatedJson.d.ts +2 -0
  71. package/dist/build/platforms/deprecatedJson.js +13 -0
  72. package/dist/build/platforms/docJson.d.ts +2 -0
  73. package/dist/build/platforms/docJson.js +35 -0
  74. package/dist/build/platforms/fallbacks.d.ts +2 -0
  75. package/dist/build/platforms/fallbacks.js +30 -0
  76. package/dist/build/platforms/figma.d.ts +2 -0
  77. package/dist/build/platforms/figma.js +60 -0
  78. package/dist/build/platforms/index.d.ts +10 -0
  79. package/dist/build/platforms/index.js +10 -0
  80. package/dist/build/platforms/javascript.d.ts +2 -0
  81. package/dist/build/platforms/javascript.js +26 -0
  82. package/dist/build/platforms/json.d.ts +2 -0
  83. package/dist/build/platforms/json.js +28 -0
  84. package/dist/build/platforms/styleLint.d.ts +2 -0
  85. package/dist/build/platforms/styleLint.js +30 -0
  86. package/dist/build/platforms/typeDefinitions.d.ts +2 -0
  87. package/dist/build/platforms/typeDefinitions.js +26 -0
  88. package/dist/build/platforms/typescript.d.ts +2 -0
  89. package/dist/build/platforms/typescript.js +26 -0
  90. package/dist/build/schemas/alphaValue.d.ts +2 -0
  91. package/dist/build/schemas/alphaValue.js +5 -0
  92. package/dist/build/schemas/baseToken.d.ts +11 -0
  93. package/dist/build/schemas/baseToken.js +7 -0
  94. package/dist/build/schemas/borderToken.d.ts +51 -0
  95. package/dist/build/schemas/borderToken.js +17 -0
  96. package/dist/build/schemas/collections.d.ts +6 -0
  97. package/dist/build/schemas/collections.js +12 -0
  98. package/dist/build/schemas/colorHexValue.d.ts +2 -0
  99. package/dist/build/schemas/colorHexValue.js +9 -0
  100. package/dist/build/schemas/colorToken.d.ts +92 -0
  101. package/dist/build/schemas/colorToken.js +53 -0
  102. package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
  103. package/dist/build/schemas/cubicBezierToken.js +8 -0
  104. package/dist/build/schemas/designToken.d.ts +2 -0
  105. package/dist/build/schemas/designToken.js +35 -0
  106. package/dist/build/schemas/dimensionToken.d.ts +59 -0
  107. package/dist/build/schemas/dimensionToken.js +34 -0
  108. package/dist/build/schemas/dimensionValue.d.ts +2 -0
  109. package/dist/build/schemas/dimensionValue.js +9 -0
  110. package/dist/build/schemas/durationToken.d.ts +18 -0
  111. package/dist/build/schemas/durationToken.js +11 -0
  112. package/dist/build/schemas/durationValue.d.ts +2 -0
  113. package/dist/build/schemas/durationValue.js +5 -0
  114. package/dist/build/schemas/fontFamilyToken.d.ts +52 -0
  115. package/dist/build/schemas/fontFamilyToken.js +20 -0
  116. package/dist/build/schemas/fontWeightToken.d.ts +52 -0
  117. package/dist/build/schemas/fontWeightToken.js +21 -0
  118. package/dist/build/schemas/fontWeightValue.d.ts +2 -0
  119. package/dist/build/schemas/fontWeightValue.js +6 -0
  120. package/dist/build/schemas/numberToken.d.ts +71 -0
  121. package/dist/build/schemas/numberToken.js +27 -0
  122. package/dist/build/schemas/referenceValue.d.ts +2 -0
  123. package/dist/build/schemas/referenceValue.js +5 -0
  124. package/dist/build/schemas/scopes.d.ts +5 -0
  125. package/dist/build/schemas/scopes.js +29 -0
  126. package/dist/build/schemas/shadowToken.d.ts +164 -0
  127. package/dist/build/schemas/shadowToken.js +46 -0
  128. package/dist/build/schemas/stringToken.d.ts +18 -0
  129. package/dist/build/schemas/stringToken.js +10 -0
  130. package/dist/build/schemas/tokenName.d.ts +2 -0
  131. package/dist/build/schemas/tokenName.js +5 -0
  132. package/dist/build/schemas/tokenType.d.ts +3 -0
  133. package/dist/build/schemas/tokenType.js +2 -0
  134. package/dist/build/schemas/typographyToken.d.ts +59 -0
  135. package/dist/build/schemas/typographyToken.js +18 -0
  136. package/dist/build/schemas/validTokenType.d.ts +5 -0
  137. package/dist/build/schemas/validTokenType.js +31 -0
  138. package/dist/build/schemas/viewportRangeToken.d.ts +18 -0
  139. package/dist/build/schemas/viewportRangeToken.js +10 -0
  140. package/dist/build/transformers/borderToCss.d.ts +8 -0
  141. package/dist/build/transformers/borderToCss.js +38 -0
  142. package/dist/build/transformers/colorToHex.d.ts +8 -0
  143. package/dist/build/transformers/colorToHex.js +24 -0
  144. package/dist/build/transformers/colorToHexMix.d.ts +8 -0
  145. package/dist/build/transformers/colorToHexMix.js +20 -0
  146. package/dist/build/transformers/colorToRgbAlpha.d.ts +8 -0
  147. package/dist/build/transformers/colorToRgbAlpha.js +20 -0
  148. package/dist/build/transformers/colorToRgbaFloat.d.ts +8 -0
  149. package/dist/build/transformers/colorToRgbaFloat.js +46 -0
  150. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  151. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  152. package/dist/build/transformers/dimensionToPixelUnitless.d.ts +8 -0
  153. package/dist/build/transformers/dimensionToPixelUnitless.js +49 -0
  154. package/dist/build/transformers/dimensionToRem.d.ts +8 -0
  155. package/dist/build/transformers/dimensionToRem.js +46 -0
  156. package/dist/build/transformers/dimensionToRemPxArray.d.ts +8 -0
  157. package/dist/build/transformers/dimensionToRemPxArray.js +46 -0
  158. package/dist/build/transformers/durationToCss.d.ts +8 -0
  159. package/dist/build/transformers/durationToCss.js +29 -0
  160. package/dist/build/transformers/figmaAttributes.d.ts +8 -0
  161. package/dist/build/transformers/figmaAttributes.js +55 -0
  162. package/dist/build/transformers/floatToPixel.d.ts +15 -0
  163. package/dist/build/transformers/floatToPixel.js +39 -0
  164. package/dist/build/transformers/fontFamilyToCss.d.ts +14 -0
  165. package/dist/build/transformers/fontFamilyToCss.js +37 -0
  166. package/dist/build/transformers/fontFamilyToFigma.d.ts +14 -0
  167. package/dist/build/transformers/fontFamilyToFigma.js +44 -0
  168. package/dist/build/transformers/fontWeightToNumber.d.ts +9 -0
  169. package/dist/build/transformers/fontWeightToNumber.js +50 -0
  170. package/dist/build/transformers/index.d.ts +25 -0
  171. package/dist/build/transformers/index.js +25 -0
  172. package/dist/build/transformers/jsonDeprecated.d.ts +8 -0
  173. package/dist/build/transformers/jsonDeprecated.js +14 -0
  174. package/dist/build/transformers/namePathToCamelCase.d.ts +8 -0
  175. package/dist/build/transformers/namePathToCamelCase.js +12 -0
  176. package/dist/build/transformers/namePathToDotNotation.d.ts +8 -0
  177. package/dist/build/transformers/namePathToDotNotation.js +31 -0
  178. package/dist/build/transformers/namePathToFigma.d.ts +9 -0
  179. package/dist/build/transformers/namePathToFigma.js +21 -0
  180. package/dist/build/transformers/namePathToKebabCase.d.ts +8 -0
  181. package/dist/build/transformers/namePathToKebabCase.js +16 -0
  182. package/dist/build/transformers/namePathToPascalCase.d.ts +8 -0
  183. package/dist/build/transformers/namePathToPascalCase.js +12 -0
  184. package/dist/build/transformers/namePathToSlashNotation.d.ts +8 -0
  185. package/dist/build/transformers/namePathToSlashNotation.js +16 -0
  186. package/dist/build/transformers/shadowToCss.d.ts +8 -0
  187. package/dist/build/transformers/shadowToCss.js +34 -0
  188. package/dist/build/transformers/typographyToCss.d.ts +8 -0
  189. package/dist/build/transformers/typographyToCss.js +27 -0
  190. package/dist/build/transformers/utilities/alpha.d.ts +9 -0
  191. package/dist/build/transformers/utilities/alpha.js +16 -0
  192. package/dist/build/transformers/utilities/checkRequiredTokenProperties.d.ts +7 -0
  193. package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +13 -0
  194. package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -0
  195. package/dist/build/transformers/utilities/getTokenValue.js +16 -0
  196. package/dist/build/transformers/utilities/hasSpaceInString.d.ts +1 -0
  197. package/dist/build/transformers/utilities/hasSpaceInString.js +6 -0
  198. package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +2 -0
  199. package/dist/build/transformers/utilities/hexToRgbaFloat.js +29 -0
  200. package/dist/build/transformers/utilities/invalidTokenError.d.ts +7 -0
  201. package/dist/build/transformers/utilities/invalidTokenError.js +27 -0
  202. package/dist/build/transformers/utilities/isRgbaFloat.d.ts +7 -0
  203. package/dist/build/transformers/utilities/isRgbaFloat.js +20 -0
  204. package/dist/build/transformers/utilities/mix.d.ts +5 -0
  205. package/dist/build/transformers/utilities/mix.js +38 -0
  206. package/dist/build/transformers/utilities/rgbaFloatToHex.d.ts +6 -0
  207. package/dist/build/transformers/utilities/rgbaFloatToHex.js +11 -0
  208. package/dist/build/types/Border.d.ts +5 -0
  209. package/dist/build/types/BorderTokenValue.d.ts +10 -0
  210. package/dist/build/types/ColorHex.d.ts +4 -0
  211. package/dist/build/types/PlatformInitializer.d.ts +11 -0
  212. package/dist/build/types/Shadow.d.ts +5 -0
  213. package/dist/build/types/ShadowTokenValue.d.ts +14 -0
  214. package/dist/build/types/SizeEm.d.ts +4 -0
  215. package/dist/build/types/SizePx.d.ts +4 -0
  216. package/dist/build/types/SizeRem.d.ts +4 -0
  217. package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
  218. package/dist/build/types/TokenBuildInput.d.ts +8 -0
  219. package/dist/build/types/TypographyTokenValue.d.ts +12 -0
  220. package/dist/build/types/w3cTransformedToken.d.ts +8 -0
  221. package/dist/build/utilities/copyFromDir.d.ts +8 -0
  222. package/dist/build/utilities/copyFromDir.js +31 -0
  223. package/dist/build/utilities/filterStringArray.d.ts +1 -0
  224. package/dist/build/utilities/filterStringArray.js +13 -0
  225. package/dist/build/utilities/getFlag.d.ts +8 -0
  226. package/dist/build/utilities/getFlag.js +12 -0
  227. package/dist/build/utilities/index.d.ts +9 -0
  228. package/dist/build/utilities/index.js +9 -0
  229. package/dist/build/utilities/joinFriendly.d.ts +1 -0
  230. package/dist/build/utilities/joinFriendly.js +1 -0
  231. package/dist/build/utilities/schemaErrorMessage.d.ts +1 -0
  232. package/dist/build/utilities/schemaErrorMessage.js +1 -0
  233. package/dist/build/utilities/toCamelCase.d.ts +1 -0
  234. package/dist/build/utilities/toCamelCase.js +16 -0
  235. package/dist/build/utilities/toPascalCase.d.ts +1 -0
  236. package/dist/build/utilities/toPascalCase.js +13 -0
  237. package/dist/build/utilities/treeWalker.d.ts +8 -0
  238. package/dist/build/utilities/treeWalker.js +23 -0
  239. package/dist/build/utilities/upperCaseFirstCharacter.d.ts +8 -0
  240. package/dist/build/utilities/upperCaseFirstCharacter.js +10 -0
  241. package/dist/css/base/motion/motion.css +17 -0
  242. package/dist/css/functional/motion/motion.css +4 -3
  243. package/dist/css/functional/themes/dark-colorblind.css +58 -38
  244. package/dist/css/functional/themes/dark-dimmed.css +44 -24
  245. package/dist/css/functional/themes/dark-high-contrast.css +62 -42
  246. package/dist/css/functional/themes/dark-tritanopia.css +44 -24
  247. package/dist/css/functional/themes/dark.css +42 -22
  248. package/dist/css/functional/themes/light-colorblind.css +60 -40
  249. package/dist/css/functional/themes/light-high-contrast.css +58 -38
  250. package/dist/css/functional/themes/light-tritanopia.css +42 -22
  251. package/dist/css/functional/themes/light.css +42 -22
  252. package/dist/css/functional/typography/typography.css +43 -43
  253. package/dist/css/primitives.css +64 -46
  254. package/dist/docs/base/motion/motion.json +205 -0
  255. package/dist/docs/base/size/size.json +76 -76
  256. package/dist/docs/base/typography/typography.json +16 -16
  257. package/dist/docs/functional/motion/motion.json +33 -18
  258. package/dist/docs/functional/size/border.json +56 -56
  259. package/dist/docs/functional/size/breakpoints.json +24 -24
  260. package/dist/docs/functional/size/size-coarse.json +12 -12
  261. package/dist/docs/functional/size/size-fine.json +12 -12
  262. package/dist/docs/functional/size/size.json +264 -264
  263. package/dist/docs/functional/size/viewport.json +24 -24
  264. package/dist/docs/functional/themes/dark-colorblind.json +2561 -4201
  265. package/dist/docs/functional/themes/dark-dimmed.json +2610 -3892
  266. package/dist/docs/functional/themes/dark-high-contrast.json +2687 -5815
  267. package/dist/docs/functional/themes/dark-tritanopia.json +2613 -4059
  268. package/dist/docs/functional/themes/dark.json +2590 -3450
  269. package/dist/docs/functional/themes/light-colorblind.json +2568 -4168
  270. package/dist/docs/functional/themes/light-high-contrast.json +2686 -5526
  271. package/dist/docs/functional/themes/light-tritanopia.json +2542 -4026
  272. package/dist/docs/functional/themes/light.json +2570 -3436
  273. package/dist/docs/functional/typography/typography.json +206 -206
  274. package/dist/fallbacks/base/motion/motion.json +17 -0
  275. package/dist/fallbacks/functional/motion/motion.json +1 -0
  276. package/dist/figma/dimension/dimension.json +492 -492
  277. package/dist/figma/figma.json +21 -13
  278. package/dist/figma/scales/dark-dimmed.json +3536 -656
  279. package/dist/figma/scales/dark-high-constrast.json +3535 -655
  280. package/dist/figma/scales/dark.json +3371 -491
  281. package/dist/figma/scales/light-high-constrast.json +3532 -652
  282. package/dist/figma/scales/light.json +3367 -487
  283. package/dist/figma/shadows/dark-colorblind.json +199 -199
  284. package/dist/figma/shadows/dark-dimmed.json +199 -199
  285. package/dist/figma/shadows/dark-high-contrast.json +199 -199
  286. package/dist/figma/shadows/dark-tritanopia.json +199 -199
  287. package/dist/figma/shadows/dark.json +199 -199
  288. package/dist/figma/shadows/light-colorblind.json +189 -189
  289. package/dist/figma/shadows/light-high-contrast.json +191 -191
  290. package/dist/figma/shadows/light-tritanopia.json +189 -189
  291. package/dist/figma/shadows/light.json +189 -189
  292. package/dist/figma/themes/dark-colorblind.json +4470 -5204
  293. package/dist/figma/themes/dark-dimmed.json +4771 -5081
  294. package/dist/figma/themes/dark-high-contrast.json +4189 -6548
  295. package/dist/figma/themes/dark-tritanopia.json +4629 -5153
  296. package/dist/figma/themes/dark.json +5072 -4916
  297. package/dist/figma/themes/light-colorblind.json +4490 -5127
  298. package/dist/figma/themes/light-high-contrast.json +4170 -6201
  299. package/dist/figma/themes/light-tritanopia.json +4525 -5027
  300. package/dist/figma/themes/light.json +4982 -4825
  301. package/dist/figma/typography/typography.json +159 -203
  302. package/dist/internalCss/dark-colorblind.css +58 -38
  303. package/dist/internalCss/dark-dimmed.css +44 -24
  304. package/dist/internalCss/dark-high-contrast.css +62 -42
  305. package/dist/internalCss/dark-tritanopia.css +44 -24
  306. package/dist/internalCss/dark.css +42 -22
  307. package/dist/internalCss/light-colorblind.css +60 -40
  308. package/dist/internalCss/light-high-contrast.css +58 -38
  309. package/dist/internalCss/light-tritanopia.css +42 -22
  310. package/dist/internalCss/light.css +42 -22
  311. package/dist/styleLint/base/motion/motion.json +205 -0
  312. package/dist/styleLint/base/size/size.json +38 -38
  313. package/dist/styleLint/base/typography/typography.json +8 -8
  314. package/dist/styleLint/functional/motion/motion.json +27 -12
  315. package/dist/styleLint/functional/size/border.json +30 -30
  316. package/dist/styleLint/functional/size/breakpoints.json +12 -12
  317. package/dist/styleLint/functional/size/size-coarse.json +6 -6
  318. package/dist/styleLint/functional/size/size-fine.json +6 -6
  319. package/dist/styleLint/functional/size/size.json +132 -132
  320. package/dist/styleLint/functional/size/viewport.json +12 -12
  321. package/dist/styleLint/functional/themes/dark-colorblind.json +1442 -3082
  322. package/dist/styleLint/functional/themes/dark-dimmed.json +1486 -2768
  323. package/dist/styleLint/functional/themes/dark-high-contrast.json +1517 -4645
  324. package/dist/styleLint/functional/themes/dark-tritanopia.json +1480 -2926
  325. package/dist/styleLint/functional/themes/dark.json +1474 -2334
  326. package/dist/styleLint/functional/themes/light-colorblind.json +1428 -3028
  327. package/dist/styleLint/functional/themes/light-high-contrast.json +1524 -4364
  328. package/dist/styleLint/functional/themes/light-tritanopia.json +1416 -2900
  329. package/dist/styleLint/functional/themes/light.json +1454 -2320
  330. package/dist/styleLint/functional/typography/typography.json +114 -114
  331. package/package.json +27 -27
  332. package/src/tokens/base/motion/easing.json5 +26 -0
  333. package/src/tokens/base/motion/timing.json5 +50 -0
  334. package/src/tokens/functional/color/dark/app-dark.json5 +236 -121
  335. package/src/tokens/functional/color/dark/data-vis-dark.json5 +40 -40
  336. package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
  337. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +1 -9
  338. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +44 -31
  339. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +62 -30
  340. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +53 -12
  341. package/src/tokens/functional/color/dark/patterns-dark.json +3963 -0
  342. package/src/tokens/functional/color/dark/patterns-dark.json5 +126 -277
  343. package/src/tokens/functional/color/dark/primitives-dark.json5 +81 -81
  344. package/src/tokens/functional/color/dark/syntax-dark.json5 +47 -47
  345. package/src/tokens/functional/color/light/app-light.json5 +179 -118
  346. package/src/tokens/functional/color/light/data-vis-light.json5 +40 -40
  347. package/src/tokens/functional/color/light/display-light.json5 +0 -95
  348. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -27
  349. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +62 -34
  350. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +63 -11
  351. package/src/tokens/functional/color/light/patterns-light.json5 +126 -276
  352. package/src/tokens/functional/color/light/primitives-light.json5 +2 -80
  353. package/src/tokens/functional/color/light/syntax-light.json5 +0 -47
  354. package/src/tokens/functional/motion/loading.json5 +1 -1
  355. package/src/tokens/functional/motion/patterns.json5 +9 -2
  356. package/src/tokens/functional/shadow/dark.json5 +0 -14
  357. package/src/tokens/functional/shadow/light.json5 +0 -13
@@ -0,0 +1,31 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ /* istanbul ignore file */
11
+ import { copyFile, readdir, mkdir } from 'fs/promises';
12
+ /**
13
+ * copyFromDir
14
+ * @description Copies all files from source folder to destination
15
+ * @param source path
16
+ * @param destination path
17
+ * @returns promise of file name array
18
+ */
19
+ export const copyFromDir = (source, destination) => __awaiter(void 0, void 0, void 0, function* () {
20
+ // adjust trailing slash
21
+ const src = `${source.replace(/\/$/, '')}`;
22
+ const dest = `${destination.replace(/\/$/, '')}`;
23
+ // create dest if it does not exists
24
+ yield mkdir(dest, { recursive: true });
25
+ // read files from source
26
+ const files = yield readdir(src);
27
+ for (const file of files) {
28
+ copyFile(`${src}/${file}`, `${dest}/${file}`);
29
+ }
30
+ return files;
31
+ });
@@ -0,0 +1 @@
1
+ export declare const filterStringArray: (string: string[]) => string[];
@@ -0,0 +1,13 @@
1
+ export const filterStringArray = (string) => {
2
+ // match unsupported characters
3
+ const regex = /[^a-zA-Z0-9]+/g;
4
+ // replace any non-letter and non-number character and split into word array
5
+ const stringArray = string
6
+ .filter(Boolean)
7
+ .join(' ')
8
+ .replace(regex, ' ')
9
+ .split(' ')
10
+ // remove undefined if exists
11
+ .filter((part) => Boolean(part) && typeof part === 'string');
12
+ return stringArray;
13
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Get the value of a flag from the command line
3
+ * @param flag name of the flag to get
4
+ * @param prefix default `--` but can be changed to `-` the part to the left of the flag name
5
+ * @returns null if flag is not found, otherwise the value of the flag or the flag name if the flag has no value
6
+ * @example `getFlag('--silent')` returns `null` if `--silent` is not found, `--silent` if `--silent` is found with no value, and `true` if `--silent=true` is found
7
+ */
8
+ export declare const getFlag: (flag: string, prefix?: string) => string | null;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Get the value of a flag from the command line
3
+ * @param flag name of the flag to get
4
+ * @param prefix default `--` but can be changed to `-` the part to the left of the flag name
5
+ * @returns null if flag is not found, otherwise the value of the flag or the flag name if the flag has no value
6
+ * @example `getFlag('--silent')` returns `null` if `--silent` is not found, `--silent` if `--silent` is found with no value, and `true` if `--silent=true` is found
7
+ */
8
+ export const getFlag = (flag, prefix = '--') => {
9
+ flag = `${prefix}${flag.replace(prefix, '')}`;
10
+ const index = process.argv.findIndex(arg => arg === flag || arg.startsWith(`${flag}=`));
11
+ return index === -1 ? null : process.argv[index].replace(`${flag}=`, '');
12
+ };
@@ -0,0 +1,9 @@
1
+ export { copyFromDir } from './copyFromDir.js';
2
+ export { filterStringArray } from './filterStringArray.js';
3
+ export { getFlag } from './getFlag.js';
4
+ export { joinFriendly } from './joinFriendly.js';
5
+ export { schemaErrorMessage } from './schemaErrorMessage.js';
6
+ export { toCamelCase } from './toCamelCase.js';
7
+ export { toPascalCase } from './toPascalCase.js';
8
+ export { treeWalker } from './treeWalker.js';
9
+ export { upperCaseFirstCharacter } from './upperCaseFirstCharacter.js';
@@ -0,0 +1,9 @@
1
+ export { copyFromDir } from './copyFromDir.js';
2
+ export { filterStringArray } from './filterStringArray.js';
3
+ export { getFlag } from './getFlag.js';
4
+ export { joinFriendly } from './joinFriendly.js';
5
+ export { schemaErrorMessage } from './schemaErrorMessage.js';
6
+ export { toCamelCase } from './toCamelCase.js';
7
+ export { toPascalCase } from './toPascalCase.js';
8
+ export { treeWalker } from './treeWalker.js';
9
+ export { upperCaseFirstCharacter } from './upperCaseFirstCharacter.js';
@@ -0,0 +1 @@
1
+ export declare const joinFriendly: (array: string[], lastJoin?: string) => string;
@@ -0,0 +1 @@
1
+ export const joinFriendly = (array, lastJoin = 'and') => array.length > 1 ? `${array.slice(0, -1).join(', ')} ${lastJoin} ${array.slice(-1)}` : `${array[0]}`;
@@ -0,0 +1 @@
1
+ export declare const schemaErrorMessage: (title: string, description?: string) => string;
@@ -0,0 +1 @@
1
+ export const schemaErrorMessage = (title, description) => `**${title}**${description ? `\n${description}` : ``}`;
@@ -0,0 +1 @@
1
+ export declare const toCamelCase: (string: string | string[]) => string;
@@ -0,0 +1,16 @@
1
+ import { filterStringArray } from './filterStringArray.js';
2
+ import { upperCaseFirstCharacter } from './upperCaseFirstCharacter.js';
3
+ export const toCamelCase = (string) => {
4
+ if (!Array.isArray(string)) {
5
+ string = [string];
6
+ }
7
+ return (filterStringArray(string)
8
+ // ucFirst all but first part
9
+ .map((part, index) => {
10
+ if (index > 0) {
11
+ return upperCaseFirstCharacter(part);
12
+ }
13
+ return part;
14
+ })
15
+ .join(''));
16
+ };
@@ -0,0 +1 @@
1
+ export declare const toPascalCase: (string: string | string[]) => string;
@@ -0,0 +1,13 @@
1
+ import { filterStringArray } from './filterStringArray.js';
2
+ import { upperCaseFirstCharacter } from './upperCaseFirstCharacter.js';
3
+ export const toPascalCase = (string) => {
4
+ if (!Array.isArray(string)) {
5
+ string = [string];
6
+ }
7
+ return (filterStringArray(string)
8
+ // ucFirst all but first part
9
+ .map((part) => {
10
+ return upperCaseFirstCharacter(part);
11
+ })
12
+ .join(''));
13
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @description converts tokens to type and returns array with used type
3
+ * @param tree object
4
+ * @param callback function to be run on valid items
5
+ * @param validItem function to test if a node is a validItem to be transformed
6
+ * @returns object
7
+ */
8
+ export declare const treeWalker: (tree: unknown, callback: <T>(argument: T) => unknown, isValidItem: (argument: unknown) => boolean) => unknown;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @description converts tokens to type and returns array with used type
3
+ * @param tree object
4
+ * @param callback function to be run on valid items
5
+ * @param validItem function to test if a node is a validItem to be transformed
6
+ * @returns object
7
+ */
8
+ export const treeWalker = (tree, callback, isValidItem) => {
9
+ // is a valid item -> pass through callback
10
+ if (isValidItem(tree)) {
11
+ return callback(tree);
12
+ }
13
+ // is non-object value -> ignore
14
+ if (typeof tree !== 'object' || tree === null) {
15
+ return;
16
+ }
17
+ // is obj -> continue
18
+ const nextObj = {};
19
+ for (const [prop, value] of Object.entries(tree)) {
20
+ nextObj[prop] = treeWalker(value, callback, isValidItem);
21
+ }
22
+ return nextObj;
23
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * upperCaseFirstCharacter
3
+ * @scope custom implementation should only be used within `name path to ...` transformer
4
+ * @description changes first letter to uppercase but keeps the rest of the word as is
5
+ * @param string
6
+ * @returns string
7
+ */
8
+ export declare const upperCaseFirstCharacter: ([firstLetter, ...restOfWord]: string) => string;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * upperCaseFirstCharacter
3
+ * @scope custom implementation should only be used within `name path to ...` transformer
4
+ * @description changes first letter to uppercase but keeps the rest of the word as is
5
+ * @param string
6
+ * @returns string
7
+ */
8
+ export const upperCaseFirstCharacter = ([firstLetter, ...restOfWord]) => {
9
+ return firstLetter.toUpperCase() + restOfWord.join('');
10
+ };
@@ -0,0 +1,17 @@
1
+ :root {
2
+ --base-easing-linear: cubic-bezier(0, 0, 1, 1); /* Ideal for non-movement properties, like opacity or background color. */
3
+ --base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /* Ideal for movement that starts on the page and ends off the page. */
4
+ --base-easing-easeOut: cubic-bezier(0.16, 1, 0.3, 1); /* Ideal for movement that starts off the page and ends on the page. */
5
+ --base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /* Ideal for movement that starts and ends on the page. */
6
+ --base-duration-0: 0ms;
7
+ --base-duration-75: 75ms;
8
+ --base-duration-200: 200ms;
9
+ --base-duration-300: 300ms;
10
+ --base-duration-400: 400ms;
11
+ --base-duration-500: 500ms;
12
+ --base-duration-600: 600ms;
13
+ --base-duration-700: 700ms;
14
+ --base-duration-800: 800ms;
15
+ --base-duration-900: 900ms;
16
+ --base-duration-1000: 1s;
17
+ }
@@ -1,5 +1,6 @@
1
1
  :root {
2
- --motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
3
- --motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
4
- --motion-loading-delay-default: 1s; /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
2
+ --motion-loading-delay-default: var(--base-duration-1000); /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
3
+ --motion-spinner-duration-rotation: var(--base-duration-1000); /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
4
+ --motion-spinner-easing-rotation: var(--base-easing-linear); /* The easing curve for the "Spinner" loading indicator rotation */
5
+ --motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
5
6
  }
@@ -5,17 +5,26 @@
5
5
  --topicTag-borderColor: #00000000;
6
6
  --highlight-neutral-bgColor: #d2992266;
7
7
  --page-header-bgColor: #0d1117;
8
- --diffBlob-addition-fgColor-text: #f0f6fc;
9
- --diffBlob-addition-fgColor-num: #f0f6fc;
10
- --diffBlob-addition-bgColor-num: #58a6ff4d;
11
- --diffBlob-addition-bgColor-line: #388bfd26;
12
- --diffBlob-addition-bgColor-word: #388bfd66;
13
- --diffBlob-deletion-fgColor-text: #f0f6fc;
14
- --diffBlob-deletion-fgColor-num: #f0f6fc;
15
- --diffBlob-deletion-bgColor-num: #db6d284d;
16
- --diffBlob-deletion-bgColor-line: #db6d2826;
17
- --diffBlob-deletion-bgColor-word: #db6d2866;
18
- --diffBlob-hunk-bgColor-num: #388bfd66;
8
+ --diffBlob-additionLine-fgColor: #f0f6fc;
9
+ --diffBlob-additionLine-bgColor: #388bfd26;
10
+ --diffBlob-additionWord-fgColor: #f0f6fc;
11
+ --diffBlob-additionWord-bgColor: #388bfd66;
12
+ --diffBlob-additionNum-fgColor: #f0f6fc;
13
+ --diffBlob-additionNum-bgColor: #58a6ff4d;
14
+ --diffBlob-deletionLine-fgColor: #f0f6fc;
15
+ --diffBlob-deletionLine-bgColor: #db6d2826;
16
+ --diffBlob-deletionWord-fgColor: #f0f6fc;
17
+ --diffBlob-deletionWord-bgColor: #db6d2866;
18
+ --diffBlob-deletionNum-fgColor: #f0f6fc;
19
+ --diffBlob-deletionNum-bgColor: #db6d284d;
20
+ --diffBlob-hunkLine-fgColor: #9198a1;
21
+ --diffBlob-hunkLine-bgColor: #212830;
22
+ --diffBlob-hunkNum-fgColor-rest: #f0f6fc;
23
+ --diffBlob-hunkNum-fgColor-hover: #ffffff;
24
+ --diffBlob-hunkNum-bgColor-rest: #2f3742;
25
+ --diffBlob-hunkNum-bgColor-hover: #656c76;
26
+ --diffBlob-emptyNum-bgColor: #151b23;
27
+ --diffBlob-emptyLine-bgColor: #151b23;
19
28
  --diffBlob-expander-iconColor: #9198a1;
20
29
  --codeMirror-fgColor: #f0f6fc;
21
30
  --codeMirror-bgColor: #0d1117;
@@ -186,7 +195,7 @@
186
195
  --control-transparent-borderColor-rest: #00000000;
187
196
  --control-transparent-borderColor-hover: #00000000;
188
197
  --control-transparent-borderColor-active: #00000000;
189
- --control-danger-fgColor-rest: #db6d28;
198
+ --control-danger-fgColor-rest: #f0883e;
190
199
  --control-danger-fgColor-hover: #f0883e;
191
200
  --control-danger-bgColor-hover: #db6d281a;
192
201
  --control-danger-bgColor-active: #db6d2866;
@@ -242,6 +251,7 @@
242
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
243
252
  --button-invisible-fgColor-rest: #f0f6fc;
244
253
  --button-invisible-fgColor-hover: #f0f6fc;
254
+ --button-invisible-fgColor-active: #f0f6fc;
245
255
  --button-invisible-fgColor-disabled: #656c7699;
246
256
  --button-invisible-iconColor-rest: #9198a1;
247
257
  --button-invisible-iconColor-hover: #9198a1;
@@ -264,11 +274,11 @@
264
274
  --button-outline-borderColor-hover: #3d444d;
265
275
  --button-outline-borderColor-selected: #3d444d;
266
276
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
267
- --button-danger-fgColor-rest: #e6713e;
277
+ --button-danger-fgColor-rest: #f0883e;
268
278
  --button-danger-fgColor-hover: #ffffff;
269
279
  --button-danger-fgColor-active: #ffffff;
270
- --button-danger-fgColor-disabled: #db6d2880;
271
- --button-danger-iconColor-rest: #e6713e;
280
+ --button-danger-fgColor-disabled: #f0883e80;
281
+ --button-danger-iconColor-rest: #f0883e;
272
282
  --button-danger-iconColor-hover: #ffffff;
273
283
  --button-danger-bgColor-rest: #212830;
274
284
  --button-danger-bgColor-hover: #9b4215;
@@ -293,9 +303,9 @@
293
303
  --buttonCounter-danger-bgColor-hover: #ffffff33;
294
304
  --buttonCounter-danger-bgColor-disabled: #bd561d0d;
295
305
  --buttonCounter-danger-bgColor-rest: #49020233;
296
- --buttonCounter-danger-fgColor-rest: #db6d28;
306
+ --buttonCounter-danger-fgColor-rest: #f0883e;
297
307
  --buttonCounter-danger-fgColor-hover: #ffffff;
298
- --buttonCounter-danger-fgColor-disabled: #db6d2880;
308
+ --buttonCounter-danger-fgColor-disabled: #f0883e80;
299
309
  --reactionButton-selected-bgColor-rest: #388bfd33;
300
310
  --reactionButton-selected-bgColor-hover: #3a8cfd5c;
301
311
  --reactionButton-selected-fgColor-rest: #4493f8;
@@ -446,7 +456,7 @@
446
456
  --fgColor-open: #f0883e;
447
457
  --fgColor-attention: #d29922;
448
458
  --fgColor-severe: #db6d28;
449
- --fgColor-danger: #db6d28;
459
+ --fgColor-danger: #f0883e;
450
460
  --fgColor-closed: #9198a1;
451
461
  --fgColor-done: #ab7df8;
452
462
  --fgColor-upsell: #ab7df8;
@@ -466,7 +476,7 @@
466
476
  --bgColor-accent-emphasis: #1f6feb;
467
477
  --bgColor-success-muted: #388bfd26;
468
478
  --bgColor-success-emphasis: #1f6feb;
469
- --bgColor-open-muted: #db6d2866;
479
+ --bgColor-open-muted: #db6d2833;
470
480
  --bgColor-open-emphasis: #bd561d;
471
481
  --bgColor-attention-muted: #bb800926;
472
482
  --bgColor-attention-emphasis: #9e6a03;
@@ -574,17 +584,26 @@
574
584
  --topicTag-borderColor: #00000000;
575
585
  --highlight-neutral-bgColor: #d2992266;
576
586
  --page-header-bgColor: #0d1117;
577
- --diffBlob-addition-fgColor-text: #f0f6fc;
578
- --diffBlob-addition-fgColor-num: #f0f6fc;
579
- --diffBlob-addition-bgColor-num: #58a6ff4d;
580
- --diffBlob-addition-bgColor-line: #388bfd26;
581
- --diffBlob-addition-bgColor-word: #388bfd66;
582
- --diffBlob-deletion-fgColor-text: #f0f6fc;
583
- --diffBlob-deletion-fgColor-num: #f0f6fc;
584
- --diffBlob-deletion-bgColor-num: #db6d284d;
585
- --diffBlob-deletion-bgColor-line: #db6d2826;
586
- --diffBlob-deletion-bgColor-word: #db6d2866;
587
- --diffBlob-hunk-bgColor-num: #388bfd66;
587
+ --diffBlob-additionLine-fgColor: #f0f6fc;
588
+ --diffBlob-additionLine-bgColor: #388bfd26;
589
+ --diffBlob-additionWord-fgColor: #f0f6fc;
590
+ --diffBlob-additionWord-bgColor: #388bfd66;
591
+ --diffBlob-additionNum-fgColor: #f0f6fc;
592
+ --diffBlob-additionNum-bgColor: #58a6ff4d;
593
+ --diffBlob-deletionLine-fgColor: #f0f6fc;
594
+ --diffBlob-deletionLine-bgColor: #db6d2826;
595
+ --diffBlob-deletionWord-fgColor: #f0f6fc;
596
+ --diffBlob-deletionWord-bgColor: #db6d2866;
597
+ --diffBlob-deletionNum-fgColor: #f0f6fc;
598
+ --diffBlob-deletionNum-bgColor: #db6d284d;
599
+ --diffBlob-hunkLine-fgColor: #9198a1;
600
+ --diffBlob-hunkLine-bgColor: #212830;
601
+ --diffBlob-hunkNum-fgColor-rest: #f0f6fc;
602
+ --diffBlob-hunkNum-fgColor-hover: #ffffff;
603
+ --diffBlob-hunkNum-bgColor-rest: #2f3742;
604
+ --diffBlob-hunkNum-bgColor-hover: #656c76;
605
+ --diffBlob-emptyNum-bgColor: #151b23;
606
+ --diffBlob-emptyLine-bgColor: #151b23;
588
607
  --diffBlob-expander-iconColor: #9198a1;
589
608
  --codeMirror-fgColor: #f0f6fc;
590
609
  --codeMirror-bgColor: #0d1117;
@@ -755,7 +774,7 @@
755
774
  --control-transparent-borderColor-rest: #00000000;
756
775
  --control-transparent-borderColor-hover: #00000000;
757
776
  --control-transparent-borderColor-active: #00000000;
758
- --control-danger-fgColor-rest: #db6d28;
777
+ --control-danger-fgColor-rest: #f0883e;
759
778
  --control-danger-fgColor-hover: #f0883e;
760
779
  --control-danger-bgColor-hover: #db6d281a;
761
780
  --control-danger-bgColor-active: #db6d2866;
@@ -811,6 +830,7 @@
811
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
812
831
  --button-invisible-fgColor-rest: #f0f6fc;
813
832
  --button-invisible-fgColor-hover: #f0f6fc;
833
+ --button-invisible-fgColor-active: #f0f6fc;
814
834
  --button-invisible-fgColor-disabled: #656c7699;
815
835
  --button-invisible-iconColor-rest: #9198a1;
816
836
  --button-invisible-iconColor-hover: #9198a1;
@@ -833,11 +853,11 @@
833
853
  --button-outline-borderColor-hover: #3d444d;
834
854
  --button-outline-borderColor-selected: #3d444d;
835
855
  --button-outline-shadow-selected: 0px 0px 0px 0px #000000;
836
- --button-danger-fgColor-rest: #e6713e;
856
+ --button-danger-fgColor-rest: #f0883e;
837
857
  --button-danger-fgColor-hover: #ffffff;
838
858
  --button-danger-fgColor-active: #ffffff;
839
- --button-danger-fgColor-disabled: #db6d2880;
840
- --button-danger-iconColor-rest: #e6713e;
859
+ --button-danger-fgColor-disabled: #f0883e80;
860
+ --button-danger-iconColor-rest: #f0883e;
841
861
  --button-danger-iconColor-hover: #ffffff;
842
862
  --button-danger-bgColor-rest: #212830;
843
863
  --button-danger-bgColor-hover: #9b4215;
@@ -862,9 +882,9 @@
862
882
  --buttonCounter-danger-bgColor-hover: #ffffff33;
863
883
  --buttonCounter-danger-bgColor-disabled: #bd561d0d;
864
884
  --buttonCounter-danger-bgColor-rest: #49020233;
865
- --buttonCounter-danger-fgColor-rest: #db6d28;
885
+ --buttonCounter-danger-fgColor-rest: #f0883e;
866
886
  --buttonCounter-danger-fgColor-hover: #ffffff;
867
- --buttonCounter-danger-fgColor-disabled: #db6d2880;
887
+ --buttonCounter-danger-fgColor-disabled: #f0883e80;
868
888
  --reactionButton-selected-bgColor-rest: #388bfd33;
869
889
  --reactionButton-selected-bgColor-hover: #3a8cfd5c;
870
890
  --reactionButton-selected-fgColor-rest: #4493f8;
@@ -1015,7 +1035,7 @@
1015
1035
  --fgColor-open: #f0883e;
1016
1036
  --fgColor-attention: #d29922;
1017
1037
  --fgColor-severe: #db6d28;
1018
- --fgColor-danger: #db6d28;
1038
+ --fgColor-danger: #f0883e;
1019
1039
  --fgColor-closed: #9198a1;
1020
1040
  --fgColor-done: #ab7df8;
1021
1041
  --fgColor-upsell: #ab7df8;
@@ -1035,7 +1055,7 @@
1035
1055
  --bgColor-accent-emphasis: #1f6feb;
1036
1056
  --bgColor-success-muted: #388bfd26;
1037
1057
  --bgColor-success-emphasis: #1f6feb;
1038
- --bgColor-open-muted: #db6d2866;
1058
+ --bgColor-open-muted: #db6d2833;
1039
1059
  --bgColor-open-emphasis: #bd561d;
1040
1060
  --bgColor-attention-muted: #bb800926;
1041
1061
  --bgColor-attention-emphasis: #9e6a03;
@@ -5,18 +5,27 @@
5
5
  --topicTag-borderColor: #00000000;
6
6
  --highlight-neutral-bgColor: #c6902666;
7
7
  --page-header-bgColor: #212830;
8
- --diffBlob-addition-fgColor-text: #d1d7e0;
9
- --diffBlob-addition-fgColor-num: #d1d7e0;
10
- --diffBlob-addition-bgColor-num: #57ab5a4d;
11
- --diffBlob-addition-bgColor-line: #46954a26;
12
- --diffBlob-addition-bgColor-word: #46954a66;
13
- --diffBlob-deletion-fgColor-text: #d1d7e0;
14
- --diffBlob-deletion-fgColor-num: #d1d7e0;
15
- --diffBlob-deletion-bgColor-num: #e5534b4d;
16
- --diffBlob-deletion-bgColor-line: #e5534b26;
17
- --diffBlob-deletion-bgColor-word: #e5534b66;
18
- --diffBlob-hunk-bgColor-num: #4184e466;
19
- --diffBlob-expander-iconColor: #d1d7e0;
8
+ --diffBlob-additionLine-fgColor: #d1d7e0;
9
+ --diffBlob-additionLine-bgColor: #46954a26;
10
+ --diffBlob-additionWord-fgColor: #d1d7e0;
11
+ --diffBlob-additionWord-bgColor: #46954a66;
12
+ --diffBlob-additionNum-fgColor: #d1d7e0;
13
+ --diffBlob-additionNum-bgColor: #57ab5a4d;
14
+ --diffBlob-deletionLine-fgColor: #d1d7e0;
15
+ --diffBlob-deletionLine-bgColor: #e5534b1a;
16
+ --diffBlob-deletionWord-fgColor: #d1d7e0;
17
+ --diffBlob-deletionWord-bgColor: #e5534b66;
18
+ --diffBlob-deletionNum-fgColor: #d1d7e0;
19
+ --diffBlob-deletionNum-bgColor: #e5534b4d;
20
+ --diffBlob-hunkLine-fgColor: #9198a1;
21
+ --diffBlob-hunkLine-bgColor: #4184e41a;
22
+ --diffBlob-hunkNum-fgColor-rest: #d1d7e0;
23
+ --diffBlob-hunkNum-fgColor-hover: #f0f6fc;
24
+ --diffBlob-hunkNum-bgColor-rest: #143d79;
25
+ --diffBlob-hunkNum-bgColor-hover: #316dca;
26
+ --diffBlob-emptyNum-bgColor: #262c36;
27
+ --diffBlob-emptyLine-bgColor: #262c36;
28
+ --diffBlob-expander-iconColor: #9198a1;
20
29
  --codeMirror-fgColor: #d1d7e0;
21
30
  --codeMirror-bgColor: #212830;
22
31
  --codeMirror-gutters-bgColor: #212830;
@@ -242,6 +251,7 @@
242
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
243
252
  --button-invisible-fgColor-rest: #d1d7e0;
244
253
  --button-invisible-fgColor-hover: #d1d7e0;
254
+ --button-invisible-fgColor-active: #d1d7e0;
245
255
  --button-invisible-fgColor-disabled: #656c76;
246
256
  --button-invisible-iconColor-rest: #b7bdc8;
247
257
  --button-invisible-iconColor-hover: #b7bdc8;
@@ -574,18 +584,27 @@
574
584
  --topicTag-borderColor: #00000000;
575
585
  --highlight-neutral-bgColor: #c6902666;
576
586
  --page-header-bgColor: #212830;
577
- --diffBlob-addition-fgColor-text: #d1d7e0;
578
- --diffBlob-addition-fgColor-num: #d1d7e0;
579
- --diffBlob-addition-bgColor-num: #57ab5a4d;
580
- --diffBlob-addition-bgColor-line: #46954a26;
581
- --diffBlob-addition-bgColor-word: #46954a66;
582
- --diffBlob-deletion-fgColor-text: #d1d7e0;
583
- --diffBlob-deletion-fgColor-num: #d1d7e0;
584
- --diffBlob-deletion-bgColor-num: #e5534b4d;
585
- --diffBlob-deletion-bgColor-line: #e5534b26;
586
- --diffBlob-deletion-bgColor-word: #e5534b66;
587
- --diffBlob-hunk-bgColor-num: #4184e466;
588
- --diffBlob-expander-iconColor: #d1d7e0;
587
+ --diffBlob-additionLine-fgColor: #d1d7e0;
588
+ --diffBlob-additionLine-bgColor: #46954a26;
589
+ --diffBlob-additionWord-fgColor: #d1d7e0;
590
+ --diffBlob-additionWord-bgColor: #46954a66;
591
+ --diffBlob-additionNum-fgColor: #d1d7e0;
592
+ --diffBlob-additionNum-bgColor: #57ab5a4d;
593
+ --diffBlob-deletionLine-fgColor: #d1d7e0;
594
+ --diffBlob-deletionLine-bgColor: #e5534b1a;
595
+ --diffBlob-deletionWord-fgColor: #d1d7e0;
596
+ --diffBlob-deletionWord-bgColor: #e5534b66;
597
+ --diffBlob-deletionNum-fgColor: #d1d7e0;
598
+ --diffBlob-deletionNum-bgColor: #e5534b4d;
599
+ --diffBlob-hunkLine-fgColor: #9198a1;
600
+ --diffBlob-hunkLine-bgColor: #4184e41a;
601
+ --diffBlob-hunkNum-fgColor-rest: #d1d7e0;
602
+ --diffBlob-hunkNum-fgColor-hover: #f0f6fc;
603
+ --diffBlob-hunkNum-bgColor-rest: #143d79;
604
+ --diffBlob-hunkNum-bgColor-hover: #316dca;
605
+ --diffBlob-emptyNum-bgColor: #262c36;
606
+ --diffBlob-emptyLine-bgColor: #262c36;
607
+ --diffBlob-expander-iconColor: #9198a1;
589
608
  --codeMirror-fgColor: #d1d7e0;
590
609
  --codeMirror-bgColor: #212830;
591
610
  --codeMirror-gutters-bgColor: #212830;
@@ -811,6 +830,7 @@
811
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
812
831
  --button-invisible-fgColor-rest: #d1d7e0;
813
832
  --button-invisible-fgColor-hover: #d1d7e0;
833
+ --button-invisible-fgColor-active: #d1d7e0;
814
834
  --button-invisible-fgColor-disabled: #656c76;
815
835
  --button-invisible-iconColor-rest: #b7bdc8;
816
836
  --button-invisible-iconColor-hover: #b7bdc8;