@primer/primitives 10.0.0-rc.367a0502 → 10.0.0-rc.4b3d8b21

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 (338) hide show
  1. package/dist/build/PrimerStyleDictionary.d.ts +8 -0
  2. package/dist/build/PrimerStyleDictionary.js +80 -0
  3. package/dist/build/filters/index.d.ts +14 -0
  4. package/dist/build/filters/index.js +14 -0
  5. package/dist/build/filters/isBorder.d.ts +7 -0
  6. package/dist/build/filters/isBorder.js +8 -0
  7. package/dist/build/filters/isColor.d.ts +7 -0
  8. package/dist/build/filters/isColor.js +13 -0
  9. package/dist/build/filters/isColorWithAlpha.d.ts +7 -0
  10. package/dist/build/filters/isColorWithAlpha.js +9 -0
  11. package/dist/build/filters/isColorWithMix.d.ts +7 -0
  12. package/dist/build/filters/isColorWithMix.js +24 -0
  13. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  14. package/dist/build/filters/isCubicBezier.js +10 -0
  15. package/dist/build/filters/isDeprecated.d.ts +7 -0
  16. package/dist/build/filters/isDeprecated.js +8 -0
  17. package/dist/build/filters/isDimension.d.ts +7 -0
  18. package/dist/build/filters/isDimension.js +8 -0
  19. package/dist/build/filters/isDuration.d.ts +7 -0
  20. package/dist/build/filters/isDuration.js +8 -0
  21. package/dist/build/filters/isFontFamily.d.ts +7 -0
  22. package/dist/build/filters/isFontFamily.js +8 -0
  23. package/dist/build/filters/isFontWeight.d.ts +7 -0
  24. package/dist/build/filters/isFontWeight.js +8 -0
  25. package/dist/build/filters/isFromFile.d.ts +8 -0
  26. package/dist/build/filters/isFromFile.js +10 -0
  27. package/dist/build/filters/isNumber.d.ts +7 -0
  28. package/dist/build/filters/isNumber.js +8 -0
  29. package/dist/build/filters/isShadow.d.ts +7 -0
  30. package/dist/build/filters/isShadow.js +8 -0
  31. package/dist/build/filters/isSource.d.ts +7 -0
  32. package/dist/build/filters/isSource.js +8 -0
  33. package/dist/build/filters/isTypography.d.ts +7 -0
  34. package/dist/build/filters/isTypography.js +8 -0
  35. package/dist/build/formats/cssAdvanced.d.ts +2 -0
  36. package/dist/build/formats/cssAdvanced.js +86 -0
  37. package/dist/build/formats/cssCustomMedia.d.ts +7 -0
  38. package/dist/build/formats/cssCustomMedia.js +26 -0
  39. package/dist/build/formats/index.d.ts +9 -0
  40. package/dist/build/formats/index.js +9 -0
  41. package/dist/build/formats/javascriptCommonJs.d.ts +7 -0
  42. package/dist/build/formats/javascriptCommonJs.js +26 -0
  43. package/dist/build/formats/javascriptEsm.d.ts +7 -0
  44. package/dist/build/formats/javascriptEsm.js +26 -0
  45. package/dist/build/formats/jsonFigma.d.ts +7 -0
  46. package/dist/build/formats/jsonFigma.js +121 -0
  47. package/dist/build/formats/jsonNestedPrefixed.d.ts +8 -0
  48. package/dist/build/formats/jsonNestedPrefixed.js +30 -0
  49. package/dist/build/formats/jsonOneDimensional.d.ts +8 -0
  50. package/dist/build/formats/jsonOneDimensional.js +32 -0
  51. package/dist/build/formats/jsonPostCssFallback.d.ts +8 -0
  52. package/dist/build/formats/jsonPostCssFallback.js +14 -0
  53. package/dist/build/formats/typescriptExportDefinition.d.ts +7 -0
  54. package/dist/build/formats/typescriptExportDefinition.js +170 -0
  55. package/dist/build/formats/utilities/getPropName.d.ts +1 -0
  56. package/dist/build/formats/utilities/getPropName.js +16 -0
  57. package/dist/build/formats/utilities/jsonToFlat.d.ts +11 -0
  58. package/dist/build/formats/utilities/jsonToFlat.js +8 -0
  59. package/dist/build/formats/utilities/jsonToNestedValue.d.ts +8 -0
  60. package/dist/build/formats/utilities/jsonToNestedValue.js +23 -0
  61. package/dist/build/formats/utilities/prefixTokens.d.ts +8 -0
  62. package/dist/build/formats/utilities/prefixTokens.js +13 -0
  63. package/dist/build/parsers/index.d.ts +1 -0
  64. package/dist/build/parsers/index.js +1 -0
  65. package/dist/build/parsers/w3cJsonParser.d.ts +6 -0
  66. package/dist/build/parsers/w3cJsonParser.js +25 -0
  67. package/dist/build/platforms/css.d.ts +2 -0
  68. package/dist/build/platforms/css.js +96 -0
  69. package/dist/build/platforms/deprecatedJson.d.ts +2 -0
  70. package/dist/build/platforms/deprecatedJson.js +13 -0
  71. package/dist/build/platforms/docJson.d.ts +2 -0
  72. package/dist/build/platforms/docJson.js +35 -0
  73. package/dist/build/platforms/fallbacks.d.ts +2 -0
  74. package/dist/build/platforms/fallbacks.js +30 -0
  75. package/dist/build/platforms/figma.d.ts +2 -0
  76. package/dist/build/platforms/figma.js +60 -0
  77. package/dist/build/platforms/index.d.ts +10 -0
  78. package/dist/build/platforms/index.js +10 -0
  79. package/dist/build/platforms/javascript.d.ts +2 -0
  80. package/dist/build/platforms/javascript.js +26 -0
  81. package/dist/build/platforms/json.d.ts +2 -0
  82. package/dist/build/platforms/json.js +28 -0
  83. package/dist/build/platforms/styleLint.d.ts +2 -0
  84. package/dist/build/platforms/styleLint.js +30 -0
  85. package/dist/build/platforms/typeDefinitions.d.ts +2 -0
  86. package/dist/build/platforms/typeDefinitions.js +26 -0
  87. package/dist/build/platforms/typescript.d.ts +2 -0
  88. package/dist/build/platforms/typescript.js +26 -0
  89. package/dist/build/schemas/alphaValue.d.ts +2 -0
  90. package/dist/build/schemas/alphaValue.js +5 -0
  91. package/dist/build/schemas/baseToken.d.ts +11 -0
  92. package/dist/build/schemas/baseToken.js +7 -0
  93. package/dist/build/schemas/borderToken.d.ts +51 -0
  94. package/dist/build/schemas/borderToken.js +17 -0
  95. package/dist/build/schemas/collections.d.ts +6 -0
  96. package/dist/build/schemas/collections.js +12 -0
  97. package/dist/build/schemas/colorHexValue.d.ts +2 -0
  98. package/dist/build/schemas/colorHexValue.js +9 -0
  99. package/dist/build/schemas/colorToken.d.ts +85 -0
  100. package/dist/build/schemas/colorToken.js +52 -0
  101. package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
  102. package/dist/build/schemas/cubicBezierToken.js +8 -0
  103. package/dist/build/schemas/designToken.d.ts +2 -0
  104. package/dist/build/schemas/designToken.js +36 -0
  105. package/dist/build/schemas/dimensionToken.d.ts +52 -0
  106. package/dist/build/schemas/dimensionToken.js +33 -0
  107. package/dist/build/schemas/dimensionValue.d.ts +2 -0
  108. package/dist/build/schemas/dimensionValue.js +9 -0
  109. package/dist/build/schemas/durationToken.d.ts +18 -0
  110. package/dist/build/schemas/durationToken.js +11 -0
  111. package/dist/build/schemas/durationValue.d.ts +2 -0
  112. package/dist/build/schemas/durationValue.js +5 -0
  113. package/dist/build/schemas/fontFamilyToken.d.ts +52 -0
  114. package/dist/build/schemas/fontFamilyToken.js +20 -0
  115. package/dist/build/schemas/fontWeightToken.d.ts +52 -0
  116. package/dist/build/schemas/fontWeightToken.js +21 -0
  117. package/dist/build/schemas/fontWeightValue.d.ts +2 -0
  118. package/dist/build/schemas/fontWeightValue.js +6 -0
  119. package/dist/build/schemas/numberToken.d.ts +71 -0
  120. package/dist/build/schemas/numberToken.js +27 -0
  121. package/dist/build/schemas/referenceValue.d.ts +2 -0
  122. package/dist/build/schemas/referenceValue.js +5 -0
  123. package/dist/build/schemas/scopes.d.ts +5 -0
  124. package/dist/build/schemas/scopes.js +29 -0
  125. package/dist/build/schemas/shadowToken.d.ts +157 -0
  126. package/dist/build/schemas/shadowToken.js +43 -0
  127. package/dist/build/schemas/stringToken.d.ts +18 -0
  128. package/dist/build/schemas/stringToken.js +10 -0
  129. package/dist/build/schemas/tokenName.d.ts +2 -0
  130. package/dist/build/schemas/tokenName.js +5 -0
  131. package/dist/build/schemas/tokenType.d.ts +3 -0
  132. package/dist/build/schemas/tokenType.js +2 -0
  133. package/dist/build/schemas/typographyToken.d.ts +59 -0
  134. package/dist/build/schemas/typographyToken.js +18 -0
  135. package/dist/build/schemas/validTokenType.d.ts +5 -0
  136. package/dist/build/schemas/validTokenType.js +31 -0
  137. package/dist/build/schemas/viewportRangeToken.d.ts +18 -0
  138. package/dist/build/schemas/viewportRangeToken.js +10 -0
  139. package/dist/build/transformers/borderToCss.d.ts +8 -0
  140. package/dist/build/transformers/borderToCss.js +38 -0
  141. package/dist/build/transformers/colorToHex.d.ts +8 -0
  142. package/dist/build/transformers/colorToHex.js +24 -0
  143. package/dist/build/transformers/colorToHexMix.d.ts +8 -0
  144. package/dist/build/transformers/colorToHexMix.js +20 -0
  145. package/dist/build/transformers/colorToRgbAlpha.d.ts +8 -0
  146. package/dist/build/transformers/colorToRgbAlpha.js +20 -0
  147. package/dist/build/transformers/colorToRgbaFloat.d.ts +8 -0
  148. package/dist/build/transformers/colorToRgbaFloat.js +46 -0
  149. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  150. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  151. package/dist/build/transformers/dimensionToPixelUnitless.d.ts +8 -0
  152. package/dist/build/transformers/dimensionToPixelUnitless.js +49 -0
  153. package/dist/build/transformers/dimensionToRem.d.ts +8 -0
  154. package/dist/build/transformers/dimensionToRem.js +46 -0
  155. package/dist/build/transformers/dimensionToRemPxArray.d.ts +8 -0
  156. package/dist/build/transformers/dimensionToRemPxArray.js +46 -0
  157. package/dist/build/transformers/durationToCss.d.ts +8 -0
  158. package/dist/build/transformers/durationToCss.js +29 -0
  159. package/dist/build/transformers/figmaAttributes.d.ts +8 -0
  160. package/dist/build/transformers/figmaAttributes.js +55 -0
  161. package/dist/build/transformers/floatToPixel.d.ts +15 -0
  162. package/dist/build/transformers/floatToPixel.js +39 -0
  163. package/dist/build/transformers/fontFamilyToCss.d.ts +14 -0
  164. package/dist/build/transformers/fontFamilyToCss.js +37 -0
  165. package/dist/build/transformers/fontFamilyToFigma.d.ts +14 -0
  166. package/dist/build/transformers/fontFamilyToFigma.js +44 -0
  167. package/dist/build/transformers/fontWeightToNumber.d.ts +9 -0
  168. package/dist/build/transformers/fontWeightToNumber.js +50 -0
  169. package/dist/build/transformers/index.d.ts +25 -0
  170. package/dist/build/transformers/index.js +25 -0
  171. package/dist/build/transformers/jsonDeprecated.d.ts +8 -0
  172. package/dist/build/transformers/jsonDeprecated.js +14 -0
  173. package/dist/build/transformers/namePathToCamelCase.d.ts +8 -0
  174. package/dist/build/transformers/namePathToCamelCase.js +12 -0
  175. package/dist/build/transformers/namePathToDotNotation.d.ts +8 -0
  176. package/dist/build/transformers/namePathToDotNotation.js +31 -0
  177. package/dist/build/transformers/namePathToFigma.d.ts +9 -0
  178. package/dist/build/transformers/namePathToFigma.js +21 -0
  179. package/dist/build/transformers/namePathToKebabCase.d.ts +8 -0
  180. package/dist/build/transformers/namePathToKebabCase.js +16 -0
  181. package/dist/build/transformers/namePathToPascalCase.d.ts +8 -0
  182. package/dist/build/transformers/namePathToPascalCase.js +12 -0
  183. package/dist/build/transformers/namePathToSlashNotation.d.ts +8 -0
  184. package/dist/build/transformers/namePathToSlashNotation.js +16 -0
  185. package/dist/build/transformers/shadowToCss.d.ts +8 -0
  186. package/dist/build/transformers/shadowToCss.js +34 -0
  187. package/dist/build/transformers/typographyToCss.d.ts +8 -0
  188. package/dist/build/transformers/typographyToCss.js +27 -0
  189. package/dist/build/transformers/utilities/alpha.d.ts +9 -0
  190. package/dist/build/transformers/utilities/alpha.js +16 -0
  191. package/dist/build/transformers/utilities/checkRequiredTokenProperties.d.ts +7 -0
  192. package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +13 -0
  193. package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -0
  194. package/dist/build/transformers/utilities/getTokenValue.js +16 -0
  195. package/dist/build/transformers/utilities/hasSpaceInString.d.ts +1 -0
  196. package/dist/build/transformers/utilities/hasSpaceInString.js +6 -0
  197. package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +2 -0
  198. package/dist/build/transformers/utilities/hexToRgbaFloat.js +29 -0
  199. package/dist/build/transformers/utilities/invalidTokenError.d.ts +7 -0
  200. package/dist/build/transformers/utilities/invalidTokenError.js +27 -0
  201. package/dist/build/transformers/utilities/isRgbaFloat.d.ts +7 -0
  202. package/dist/build/transformers/utilities/isRgbaFloat.js +20 -0
  203. package/dist/build/transformers/utilities/mix.d.ts +5 -0
  204. package/dist/build/transformers/utilities/mix.js +38 -0
  205. package/dist/build/transformers/utilities/rgbaFloatToHex.d.ts +6 -0
  206. package/dist/build/transformers/utilities/rgbaFloatToHex.js +11 -0
  207. package/dist/build/types/Border.d.ts +5 -0
  208. package/dist/build/types/BorderTokenValue.d.ts +10 -0
  209. package/dist/build/types/ColorHex.d.ts +4 -0
  210. package/dist/build/types/PlatformInitializer.d.ts +11 -0
  211. package/dist/build/types/Shadow.d.ts +5 -0
  212. package/dist/build/types/ShadowTokenValue.d.ts +14 -0
  213. package/dist/build/types/SizeEm.d.ts +4 -0
  214. package/dist/build/types/SizePx.d.ts +4 -0
  215. package/dist/build/types/SizeRem.d.ts +4 -0
  216. package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
  217. package/dist/build/types/TokenBuildInput.d.ts +8 -0
  218. package/dist/build/types/TypographyTokenValue.d.ts +12 -0
  219. package/dist/build/types/w3cTransformedToken.d.ts +8 -0
  220. package/dist/build/utilities/copyFromDir.d.ts +8 -0
  221. package/dist/build/utilities/copyFromDir.js +31 -0
  222. package/dist/build/utilities/filterStringArray.d.ts +1 -0
  223. package/dist/build/utilities/filterStringArray.js +13 -0
  224. package/dist/build/utilities/getFlag.d.ts +8 -0
  225. package/dist/build/utilities/getFlag.js +12 -0
  226. package/dist/build/utilities/index.d.ts +9 -0
  227. package/dist/build/utilities/index.js +9 -0
  228. package/dist/build/utilities/joinFriendly.d.ts +1 -0
  229. package/dist/build/utilities/joinFriendly.js +1 -0
  230. package/dist/build/utilities/schemaErrorMessage.d.ts +1 -0
  231. package/dist/build/utilities/schemaErrorMessage.js +1 -0
  232. package/dist/build/utilities/toCamelCase.d.ts +1 -0
  233. package/dist/build/utilities/toCamelCase.js +16 -0
  234. package/dist/build/utilities/toPascalCase.d.ts +1 -0
  235. package/dist/build/utilities/toPascalCase.js +13 -0
  236. package/dist/build/utilities/treeWalker.d.ts +8 -0
  237. package/dist/build/utilities/treeWalker.js +23 -0
  238. package/dist/build/utilities/upperCaseFirstCharacter.d.ts +8 -0
  239. package/dist/build/utilities/upperCaseFirstCharacter.js +10 -0
  240. package/dist/css/functional/themes/dark-colorblind.css +58 -38
  241. package/dist/css/functional/themes/dark-dimmed.css +44 -24
  242. package/dist/css/functional/themes/dark-high-contrast.css +62 -42
  243. package/dist/css/functional/themes/dark-tritanopia.css +44 -24
  244. package/dist/css/functional/themes/dark.css +42 -22
  245. package/dist/css/functional/themes/light-colorblind.css +60 -40
  246. package/dist/css/functional/themes/light-high-contrast.css +58 -38
  247. package/dist/css/functional/themes/light-tritanopia.css +42 -22
  248. package/dist/css/functional/themes/light.css +42 -22
  249. package/dist/docs/base/size/size.json +76 -76
  250. package/dist/docs/base/typography/typography.json +16 -16
  251. package/dist/docs/functional/motion/motion.json +18 -18
  252. package/dist/docs/functional/size/border.json +56 -56
  253. package/dist/docs/functional/size/breakpoints.json +24 -24
  254. package/dist/docs/functional/size/size-coarse.json +12 -12
  255. package/dist/docs/functional/size/size-fine.json +12 -12
  256. package/dist/docs/functional/size/size.json +264 -264
  257. package/dist/docs/functional/size/viewport.json +24 -24
  258. package/dist/docs/functional/themes/dark-colorblind.json +2868 -3462
  259. package/dist/docs/functional/themes/dark-dimmed.json +2826 -3016
  260. package/dist/docs/functional/themes/dark-high-contrast.json +2822 -5100
  261. package/dist/docs/functional/themes/dark-tritanopia.json +2829 -3203
  262. package/dist/docs/functional/themes/dark.json +2808 -2520
  263. package/dist/docs/functional/themes/light-colorblind.json +2604 -3150
  264. package/dist/docs/functional/themes/light-high-contrast.json +2653 -4609
  265. package/dist/docs/functional/themes/light-tritanopia.json +2546 -2960
  266. package/dist/docs/functional/themes/light.json +2590 -2312
  267. package/dist/docs/functional/typography/typography.json +206 -206
  268. package/dist/figma/dimension/dimension.json +489 -489
  269. package/dist/figma/figma.json +19 -11
  270. package/dist/figma/scales/dark-dimmed.json +2918 -38
  271. package/dist/figma/scales/dark-high-constrast.json +2918 -38
  272. package/dist/figma/scales/dark.json +2915 -35
  273. package/dist/figma/scales/light-high-constrast.json +2920 -40
  274. package/dist/figma/scales/light.json +2920 -40
  275. package/dist/figma/shadows/dark-colorblind.json +280 -280
  276. package/dist/figma/shadows/dark-dimmed.json +280 -280
  277. package/dist/figma/shadows/dark-high-contrast.json +280 -280
  278. package/dist/figma/shadows/dark-tritanopia.json +280 -280
  279. package/dist/figma/shadows/dark.json +280 -280
  280. package/dist/figma/shadows/light-colorblind.json +281 -281
  281. package/dist/figma/shadows/light-high-contrast.json +281 -281
  282. package/dist/figma/shadows/light-tritanopia.json +281 -281
  283. package/dist/figma/shadows/light.json +281 -281
  284. package/dist/figma/themes/dark-colorblind.json +5063 -5797
  285. package/dist/figma/themes/dark-dimmed.json +5294 -5604
  286. package/dist/figma/themes/dark-high-contrast.json +4258 -6617
  287. package/dist/figma/themes/dark-tritanopia.json +5239 -5763
  288. package/dist/figma/themes/dark.json +5570 -5414
  289. package/dist/figma/themes/light-colorblind.json +4933 -5570
  290. package/dist/figma/themes/light-high-contrast.json +4198 -6229
  291. package/dist/figma/themes/light-tritanopia.json +5116 -5618
  292. package/dist/figma/themes/light.json +5427 -5270
  293. package/dist/figma/typography/typography.json +112 -156
  294. package/dist/internalCss/dark-colorblind.css +58 -38
  295. package/dist/internalCss/dark-dimmed.css +44 -24
  296. package/dist/internalCss/dark-high-contrast.css +62 -42
  297. package/dist/internalCss/dark-tritanopia.css +44 -24
  298. package/dist/internalCss/dark.css +42 -22
  299. package/dist/internalCss/light-colorblind.css +60 -40
  300. package/dist/internalCss/light-high-contrast.css +58 -38
  301. package/dist/internalCss/light-tritanopia.css +42 -22
  302. package/dist/internalCss/light.css +42 -22
  303. package/dist/styleLint/base/size/size.json +38 -38
  304. package/dist/styleLint/base/typography/typography.json +8 -8
  305. package/dist/styleLint/functional/motion/motion.json +12 -12
  306. package/dist/styleLint/functional/size/border.json +30 -30
  307. package/dist/styleLint/functional/size/breakpoints.json +12 -12
  308. package/dist/styleLint/functional/size/size-coarse.json +6 -6
  309. package/dist/styleLint/functional/size/size-fine.json +6 -6
  310. package/dist/styleLint/functional/size/size.json +132 -132
  311. package/dist/styleLint/functional/size/viewport.json +12 -12
  312. package/dist/styleLint/functional/themes/dark-colorblind.json +1644 -2238
  313. package/dist/styleLint/functional/themes/dark-dimmed.json +1699 -1889
  314. package/dist/styleLint/functional/themes/dark-high-contrast.json +1627 -3905
  315. package/dist/styleLint/functional/themes/dark-tritanopia.json +1704 -2078
  316. package/dist/styleLint/functional/themes/dark.json +1692 -1404
  317. package/dist/styleLint/functional/themes/light-colorblind.json +1506 -2052
  318. package/dist/styleLint/functional/themes/light-high-contrast.json +1515 -3471
  319. package/dist/styleLint/functional/themes/light-tritanopia.json +1434 -1848
  320. package/dist/styleLint/functional/themes/light.json +1474 -1196
  321. package/dist/styleLint/functional/typography/typography.json +114 -114
  322. package/package.json +9 -7
  323. package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
  324. package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
  325. package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
  326. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
  327. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +43 -30
  328. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +62 -30
  329. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +53 -12
  330. package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
  331. package/src/tokens/functional/color/dark/primitives-dark.json5 +4 -4
  332. package/src/tokens/functional/color/light/app-light.json5 +195 -85
  333. package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
  334. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  335. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +65 -34
  336. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +66 -11
  337. package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
  338. package/src/tokens/functional/color/light/primitives-light.json5 +2 -2
@@ -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
+ };
@@ -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;