@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.
- package/dist/build/PrimerStyleDictionary.d.ts +8 -0
- package/dist/build/PrimerStyleDictionary.js +80 -0
- package/dist/build/filters/index.d.ts +14 -0
- package/dist/build/filters/index.js +14 -0
- package/dist/build/filters/isBorder.d.ts +7 -0
- package/dist/build/filters/isBorder.js +8 -0
- package/dist/build/filters/isColor.d.ts +7 -0
- package/dist/build/filters/isColor.js +13 -0
- package/dist/build/filters/isColorWithAlpha.d.ts +7 -0
- package/dist/build/filters/isColorWithAlpha.js +9 -0
- package/dist/build/filters/isColorWithMix.d.ts +7 -0
- package/dist/build/filters/isColorWithMix.js +24 -0
- package/dist/build/filters/isCubicBezier.d.ts +7 -0
- package/dist/build/filters/isCubicBezier.js +10 -0
- package/dist/build/filters/isDeprecated.d.ts +7 -0
- package/dist/build/filters/isDeprecated.js +8 -0
- package/dist/build/filters/isDimension.d.ts +7 -0
- package/dist/build/filters/isDimension.js +8 -0
- package/dist/build/filters/isDuration.d.ts +7 -0
- package/dist/build/filters/isDuration.js +8 -0
- package/dist/build/filters/isFontFamily.d.ts +7 -0
- package/dist/build/filters/isFontFamily.js +8 -0
- package/dist/build/filters/isFontWeight.d.ts +7 -0
- package/dist/build/filters/isFontWeight.js +8 -0
- package/dist/build/filters/isFromFile.d.ts +8 -0
- package/dist/build/filters/isFromFile.js +10 -0
- package/dist/build/filters/isNumber.d.ts +7 -0
- package/dist/build/filters/isNumber.js +8 -0
- package/dist/build/filters/isShadow.d.ts +7 -0
- package/dist/build/filters/isShadow.js +8 -0
- package/dist/build/filters/isSource.d.ts +7 -0
- package/dist/build/filters/isSource.js +8 -0
- package/dist/build/filters/isTypography.d.ts +7 -0
- package/dist/build/filters/isTypography.js +8 -0
- package/dist/build/formats/cssAdvanced.d.ts +2 -0
- package/dist/build/formats/cssAdvanced.js +86 -0
- package/dist/build/formats/cssCustomMedia.d.ts +7 -0
- package/dist/build/formats/cssCustomMedia.js +26 -0
- package/dist/build/formats/index.d.ts +9 -0
- package/dist/build/formats/index.js +9 -0
- package/dist/build/formats/javascriptCommonJs.d.ts +7 -0
- package/dist/build/formats/javascriptCommonJs.js +26 -0
- package/dist/build/formats/javascriptEsm.d.ts +7 -0
- package/dist/build/formats/javascriptEsm.js +26 -0
- package/dist/build/formats/jsonFigma.d.ts +7 -0
- package/dist/build/formats/jsonFigma.js +121 -0
- package/dist/build/formats/jsonNestedPrefixed.d.ts +8 -0
- package/dist/build/formats/jsonNestedPrefixed.js +30 -0
- package/dist/build/formats/jsonOneDimensional.d.ts +8 -0
- package/dist/build/formats/jsonOneDimensional.js +32 -0
- package/dist/build/formats/jsonPostCssFallback.d.ts +8 -0
- package/dist/build/formats/jsonPostCssFallback.js +14 -0
- package/dist/build/formats/typescriptExportDefinition.d.ts +7 -0
- package/dist/build/formats/typescriptExportDefinition.js +170 -0
- package/dist/build/formats/utilities/getPropName.d.ts +1 -0
- package/dist/build/formats/utilities/getPropName.js +16 -0
- package/dist/build/formats/utilities/jsonToFlat.d.ts +11 -0
- package/dist/build/formats/utilities/jsonToFlat.js +8 -0
- package/dist/build/formats/utilities/jsonToNestedValue.d.ts +8 -0
- package/dist/build/formats/utilities/jsonToNestedValue.js +23 -0
- package/dist/build/formats/utilities/prefixTokens.d.ts +8 -0
- package/dist/build/formats/utilities/prefixTokens.js +13 -0
- package/dist/build/parsers/index.d.ts +1 -0
- package/dist/build/parsers/index.js +1 -0
- package/dist/build/parsers/w3cJsonParser.d.ts +6 -0
- package/dist/build/parsers/w3cJsonParser.js +25 -0
- package/dist/build/platforms/css.d.ts +2 -0
- package/dist/build/platforms/css.js +96 -0
- package/dist/build/platforms/deprecatedJson.d.ts +2 -0
- package/dist/build/platforms/deprecatedJson.js +13 -0
- package/dist/build/platforms/docJson.d.ts +2 -0
- package/dist/build/platforms/docJson.js +35 -0
- package/dist/build/platforms/fallbacks.d.ts +2 -0
- package/dist/build/platforms/fallbacks.js +30 -0
- package/dist/build/platforms/figma.d.ts +2 -0
- package/dist/build/platforms/figma.js +60 -0
- package/dist/build/platforms/index.d.ts +10 -0
- package/dist/build/platforms/index.js +10 -0
- package/dist/build/platforms/javascript.d.ts +2 -0
- package/dist/build/platforms/javascript.js +26 -0
- package/dist/build/platforms/json.d.ts +2 -0
- package/dist/build/platforms/json.js +28 -0
- package/dist/build/platforms/styleLint.d.ts +2 -0
- package/dist/build/platforms/styleLint.js +30 -0
- package/dist/build/platforms/typeDefinitions.d.ts +2 -0
- package/dist/build/platforms/typeDefinitions.js +26 -0
- package/dist/build/platforms/typescript.d.ts +2 -0
- package/dist/build/platforms/typescript.js +26 -0
- package/dist/build/schemas/alphaValue.d.ts +2 -0
- package/dist/build/schemas/alphaValue.js +5 -0
- package/dist/build/schemas/baseToken.d.ts +11 -0
- package/dist/build/schemas/baseToken.js +7 -0
- package/dist/build/schemas/borderToken.d.ts +51 -0
- package/dist/build/schemas/borderToken.js +17 -0
- package/dist/build/schemas/collections.d.ts +6 -0
- package/dist/build/schemas/collections.js +12 -0
- package/dist/build/schemas/colorHexValue.d.ts +2 -0
- package/dist/build/schemas/colorHexValue.js +9 -0
- package/dist/build/schemas/colorToken.d.ts +85 -0
- package/dist/build/schemas/colorToken.js +52 -0
- package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
- package/dist/build/schemas/cubicBezierToken.js +8 -0
- package/dist/build/schemas/designToken.d.ts +2 -0
- package/dist/build/schemas/designToken.js +36 -0
- package/dist/build/schemas/dimensionToken.d.ts +52 -0
- package/dist/build/schemas/dimensionToken.js +33 -0
- package/dist/build/schemas/dimensionValue.d.ts +2 -0
- package/dist/build/schemas/dimensionValue.js +9 -0
- package/dist/build/schemas/durationToken.d.ts +18 -0
- package/dist/build/schemas/durationToken.js +11 -0
- package/dist/build/schemas/durationValue.d.ts +2 -0
- package/dist/build/schemas/durationValue.js +5 -0
- package/dist/build/schemas/fontFamilyToken.d.ts +52 -0
- package/dist/build/schemas/fontFamilyToken.js +20 -0
- package/dist/build/schemas/fontWeightToken.d.ts +52 -0
- package/dist/build/schemas/fontWeightToken.js +21 -0
- package/dist/build/schemas/fontWeightValue.d.ts +2 -0
- package/dist/build/schemas/fontWeightValue.js +6 -0
- package/dist/build/schemas/numberToken.d.ts +71 -0
- package/dist/build/schemas/numberToken.js +27 -0
- package/dist/build/schemas/referenceValue.d.ts +2 -0
- package/dist/build/schemas/referenceValue.js +5 -0
- package/dist/build/schemas/scopes.d.ts +5 -0
- package/dist/build/schemas/scopes.js +29 -0
- package/dist/build/schemas/shadowToken.d.ts +157 -0
- package/dist/build/schemas/shadowToken.js +43 -0
- package/dist/build/schemas/stringToken.d.ts +18 -0
- package/dist/build/schemas/stringToken.js +10 -0
- package/dist/build/schemas/tokenName.d.ts +2 -0
- package/dist/build/schemas/tokenName.js +5 -0
- package/dist/build/schemas/tokenType.d.ts +3 -0
- package/dist/build/schemas/tokenType.js +2 -0
- package/dist/build/schemas/typographyToken.d.ts +59 -0
- package/dist/build/schemas/typographyToken.js +18 -0
- package/dist/build/schemas/validTokenType.d.ts +5 -0
- package/dist/build/schemas/validTokenType.js +31 -0
- package/dist/build/schemas/viewportRangeToken.d.ts +18 -0
- package/dist/build/schemas/viewportRangeToken.js +10 -0
- package/dist/build/transformers/borderToCss.d.ts +8 -0
- package/dist/build/transformers/borderToCss.js +38 -0
- package/dist/build/transformers/colorToHex.d.ts +8 -0
- package/dist/build/transformers/colorToHex.js +24 -0
- package/dist/build/transformers/colorToHexMix.d.ts +8 -0
- package/dist/build/transformers/colorToHexMix.js +20 -0
- package/dist/build/transformers/colorToRgbAlpha.d.ts +8 -0
- package/dist/build/transformers/colorToRgbAlpha.js +20 -0
- package/dist/build/transformers/colorToRgbaFloat.d.ts +8 -0
- package/dist/build/transformers/colorToRgbaFloat.js +46 -0
- package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
- package/dist/build/transformers/cubicBezierToCss.js +23 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +8 -0
- package/dist/build/transformers/dimensionToPixelUnitless.js +49 -0
- package/dist/build/transformers/dimensionToRem.d.ts +8 -0
- package/dist/build/transformers/dimensionToRem.js +46 -0
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +8 -0
- package/dist/build/transformers/dimensionToRemPxArray.js +46 -0
- package/dist/build/transformers/durationToCss.d.ts +8 -0
- package/dist/build/transformers/durationToCss.js +29 -0
- package/dist/build/transformers/figmaAttributes.d.ts +8 -0
- package/dist/build/transformers/figmaAttributes.js +55 -0
- package/dist/build/transformers/floatToPixel.d.ts +15 -0
- package/dist/build/transformers/floatToPixel.js +39 -0
- package/dist/build/transformers/fontFamilyToCss.d.ts +14 -0
- package/dist/build/transformers/fontFamilyToCss.js +37 -0
- package/dist/build/transformers/fontFamilyToFigma.d.ts +14 -0
- package/dist/build/transformers/fontFamilyToFigma.js +44 -0
- package/dist/build/transformers/fontWeightToNumber.d.ts +9 -0
- package/dist/build/transformers/fontWeightToNumber.js +50 -0
- package/dist/build/transformers/index.d.ts +25 -0
- package/dist/build/transformers/index.js +25 -0
- package/dist/build/transformers/jsonDeprecated.d.ts +8 -0
- package/dist/build/transformers/jsonDeprecated.js +14 -0
- package/dist/build/transformers/namePathToCamelCase.d.ts +8 -0
- package/dist/build/transformers/namePathToCamelCase.js +12 -0
- package/dist/build/transformers/namePathToDotNotation.d.ts +8 -0
- package/dist/build/transformers/namePathToDotNotation.js +31 -0
- package/dist/build/transformers/namePathToFigma.d.ts +9 -0
- package/dist/build/transformers/namePathToFigma.js +21 -0
- package/dist/build/transformers/namePathToKebabCase.d.ts +8 -0
- package/dist/build/transformers/namePathToKebabCase.js +16 -0
- package/dist/build/transformers/namePathToPascalCase.d.ts +8 -0
- package/dist/build/transformers/namePathToPascalCase.js +12 -0
- package/dist/build/transformers/namePathToSlashNotation.d.ts +8 -0
- package/dist/build/transformers/namePathToSlashNotation.js +16 -0
- package/dist/build/transformers/shadowToCss.d.ts +8 -0
- package/dist/build/transformers/shadowToCss.js +34 -0
- package/dist/build/transformers/typographyToCss.d.ts +8 -0
- package/dist/build/transformers/typographyToCss.js +27 -0
- package/dist/build/transformers/utilities/alpha.d.ts +9 -0
- package/dist/build/transformers/utilities/alpha.js +16 -0
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.d.ts +7 -0
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +13 -0
- package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -0
- package/dist/build/transformers/utilities/getTokenValue.js +16 -0
- package/dist/build/transformers/utilities/hasSpaceInString.d.ts +1 -0
- package/dist/build/transformers/utilities/hasSpaceInString.js +6 -0
- package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +2 -0
- package/dist/build/transformers/utilities/hexToRgbaFloat.js +29 -0
- package/dist/build/transformers/utilities/invalidTokenError.d.ts +7 -0
- package/dist/build/transformers/utilities/invalidTokenError.js +27 -0
- package/dist/build/transformers/utilities/isRgbaFloat.d.ts +7 -0
- package/dist/build/transformers/utilities/isRgbaFloat.js +20 -0
- package/dist/build/transformers/utilities/mix.d.ts +5 -0
- package/dist/build/transformers/utilities/mix.js +38 -0
- package/dist/build/transformers/utilities/rgbaFloatToHex.d.ts +6 -0
- package/dist/build/transformers/utilities/rgbaFloatToHex.js +11 -0
- package/dist/build/types/Border.d.ts +5 -0
- package/dist/build/types/BorderTokenValue.d.ts +10 -0
- package/dist/build/types/ColorHex.d.ts +4 -0
- package/dist/build/types/PlatformInitializer.d.ts +11 -0
- package/dist/build/types/Shadow.d.ts +5 -0
- package/dist/build/types/ShadowTokenValue.d.ts +14 -0
- package/dist/build/types/SizeEm.d.ts +4 -0
- package/dist/build/types/SizePx.d.ts +4 -0
- package/dist/build/types/SizeRem.d.ts +4 -0
- package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
- package/dist/build/types/TokenBuildInput.d.ts +8 -0
- package/dist/build/types/TypographyTokenValue.d.ts +12 -0
- package/dist/build/types/w3cTransformedToken.d.ts +8 -0
- package/dist/build/utilities/copyFromDir.d.ts +8 -0
- package/dist/build/utilities/copyFromDir.js +31 -0
- package/dist/build/utilities/filterStringArray.d.ts +1 -0
- package/dist/build/utilities/filterStringArray.js +13 -0
- package/dist/build/utilities/getFlag.d.ts +8 -0
- package/dist/build/utilities/getFlag.js +12 -0
- package/dist/build/utilities/index.d.ts +9 -0
- package/dist/build/utilities/index.js +9 -0
- package/dist/build/utilities/joinFriendly.d.ts +1 -0
- package/dist/build/utilities/joinFriendly.js +1 -0
- package/dist/build/utilities/schemaErrorMessage.d.ts +1 -0
- package/dist/build/utilities/schemaErrorMessage.js +1 -0
- package/dist/build/utilities/toCamelCase.d.ts +1 -0
- package/dist/build/utilities/toCamelCase.js +16 -0
- package/dist/build/utilities/toPascalCase.d.ts +1 -0
- package/dist/build/utilities/toPascalCase.js +13 -0
- package/dist/build/utilities/treeWalker.d.ts +8 -0
- package/dist/build/utilities/treeWalker.js +23 -0
- package/dist/build/utilities/upperCaseFirstCharacter.d.ts +8 -0
- package/dist/build/utilities/upperCaseFirstCharacter.js +10 -0
- package/dist/css/functional/themes/dark-colorblind.css +58 -38
- package/dist/css/functional/themes/dark-dimmed.css +44 -24
- package/dist/css/functional/themes/dark-high-contrast.css +62 -42
- package/dist/css/functional/themes/dark-tritanopia.css +44 -24
- package/dist/css/functional/themes/dark.css +42 -22
- package/dist/css/functional/themes/light-colorblind.css +60 -40
- package/dist/css/functional/themes/light-high-contrast.css +58 -38
- package/dist/css/functional/themes/light-tritanopia.css +42 -22
- package/dist/css/functional/themes/light.css +42 -22
- package/dist/docs/base/size/size.json +76 -76
- package/dist/docs/base/typography/typography.json +16 -16
- package/dist/docs/functional/motion/motion.json +18 -18
- package/dist/docs/functional/size/border.json +56 -56
- package/dist/docs/functional/size/breakpoints.json +24 -24
- package/dist/docs/functional/size/size-coarse.json +12 -12
- package/dist/docs/functional/size/size-fine.json +12 -12
- package/dist/docs/functional/size/size.json +264 -264
- package/dist/docs/functional/size/viewport.json +24 -24
- package/dist/docs/functional/themes/dark-colorblind.json +2868 -3462
- package/dist/docs/functional/themes/dark-dimmed.json +2826 -3016
- package/dist/docs/functional/themes/dark-high-contrast.json +2822 -5100
- package/dist/docs/functional/themes/dark-tritanopia.json +2829 -3203
- package/dist/docs/functional/themes/dark.json +2808 -2520
- package/dist/docs/functional/themes/light-colorblind.json +2604 -3150
- package/dist/docs/functional/themes/light-high-contrast.json +2653 -4609
- package/dist/docs/functional/themes/light-tritanopia.json +2546 -2960
- package/dist/docs/functional/themes/light.json +2590 -2312
- package/dist/docs/functional/typography/typography.json +206 -206
- package/dist/figma/dimension/dimension.json +489 -489
- package/dist/figma/figma.json +19 -11
- package/dist/figma/scales/dark-dimmed.json +2918 -38
- package/dist/figma/scales/dark-high-constrast.json +2918 -38
- package/dist/figma/scales/dark.json +2915 -35
- package/dist/figma/scales/light-high-constrast.json +2920 -40
- package/dist/figma/scales/light.json +2920 -40
- package/dist/figma/shadows/dark-colorblind.json +280 -280
- package/dist/figma/shadows/dark-dimmed.json +280 -280
- package/dist/figma/shadows/dark-high-contrast.json +280 -280
- package/dist/figma/shadows/dark-tritanopia.json +280 -280
- package/dist/figma/shadows/dark.json +280 -280
- package/dist/figma/shadows/light-colorblind.json +281 -281
- package/dist/figma/shadows/light-high-contrast.json +281 -281
- package/dist/figma/shadows/light-tritanopia.json +281 -281
- package/dist/figma/shadows/light.json +281 -281
- package/dist/figma/themes/dark-colorblind.json +5063 -5797
- package/dist/figma/themes/dark-dimmed.json +5294 -5604
- package/dist/figma/themes/dark-high-contrast.json +4258 -6617
- package/dist/figma/themes/dark-tritanopia.json +5239 -5763
- package/dist/figma/themes/dark.json +5570 -5414
- package/dist/figma/themes/light-colorblind.json +4933 -5570
- package/dist/figma/themes/light-high-contrast.json +4198 -6229
- package/dist/figma/themes/light-tritanopia.json +5116 -5618
- package/dist/figma/themes/light.json +5427 -5270
- package/dist/figma/typography/typography.json +112 -156
- package/dist/internalCss/dark-colorblind.css +58 -38
- package/dist/internalCss/dark-dimmed.css +44 -24
- package/dist/internalCss/dark-high-contrast.css +62 -42
- package/dist/internalCss/dark-tritanopia.css +44 -24
- package/dist/internalCss/dark.css +42 -22
- package/dist/internalCss/light-colorblind.css +60 -40
- package/dist/internalCss/light-high-contrast.css +58 -38
- package/dist/internalCss/light-tritanopia.css +42 -22
- package/dist/internalCss/light.css +42 -22
- package/dist/styleLint/base/size/size.json +38 -38
- package/dist/styleLint/base/typography/typography.json +8 -8
- package/dist/styleLint/functional/motion/motion.json +12 -12
- package/dist/styleLint/functional/size/border.json +30 -30
- package/dist/styleLint/functional/size/breakpoints.json +12 -12
- package/dist/styleLint/functional/size/size-coarse.json +6 -6
- package/dist/styleLint/functional/size/size-fine.json +6 -6
- package/dist/styleLint/functional/size/size.json +132 -132
- package/dist/styleLint/functional/size/viewport.json +12 -12
- package/dist/styleLint/functional/themes/dark-colorblind.json +1644 -2238
- package/dist/styleLint/functional/themes/dark-dimmed.json +1699 -1889
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1627 -3905
- package/dist/styleLint/functional/themes/dark-tritanopia.json +1704 -2078
- package/dist/styleLint/functional/themes/dark.json +1692 -1404
- package/dist/styleLint/functional/themes/light-colorblind.json +1506 -2052
- package/dist/styleLint/functional/themes/light-high-contrast.json +1515 -3471
- package/dist/styleLint/functional/themes/light-tritanopia.json +1434 -1848
- package/dist/styleLint/functional/themes/light.json +1474 -1196
- package/dist/styleLint/functional/typography/typography.json +114 -114
- package/package.json +9 -7
- package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
- package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
- package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +43 -30
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +62 -30
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +53 -12
- package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
- package/src/tokens/functional/color/dark/primitives-dark.json5 +4 -4
- package/src/tokens/functional/color/light/app-light.json5 +195 -85
- package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +65 -34
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +66 -11
- package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
- 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-
|
|
9
|
-
--diffBlob-
|
|
10
|
-
--diffBlob-
|
|
11
|
-
--diffBlob-
|
|
12
|
-
--diffBlob-
|
|
13
|
-
--diffBlob-
|
|
14
|
-
--diffBlob-
|
|
15
|
-
--diffBlob-
|
|
16
|
-
--diffBlob-
|
|
17
|
-
--diffBlob-
|
|
18
|
-
--diffBlob-
|
|
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: #
|
|
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: #
|
|
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: #
|
|
271
|
-
--button-danger-iconColor-rest: #
|
|
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: #
|
|
306
|
+
--buttonCounter-danger-fgColor-rest: #f0883e;
|
|
297
307
|
--buttonCounter-danger-fgColor-hover: #ffffff;
|
|
298
|
-
--buttonCounter-danger-fgColor-disabled: #
|
|
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: #
|
|
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: #
|
|
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-
|
|
578
|
-
--diffBlob-
|
|
579
|
-
--diffBlob-
|
|
580
|
-
--diffBlob-
|
|
581
|
-
--diffBlob-
|
|
582
|
-
--diffBlob-
|
|
583
|
-
--diffBlob-
|
|
584
|
-
--diffBlob-
|
|
585
|
-
--diffBlob-
|
|
586
|
-
--diffBlob-
|
|
587
|
-
--diffBlob-
|
|
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: #
|
|
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: #
|
|
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: #
|
|
840
|
-
--button-danger-iconColor-rest: #
|
|
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: #
|
|
885
|
+
--buttonCounter-danger-fgColor-rest: #f0883e;
|
|
866
886
|
--buttonCounter-danger-fgColor-hover: #ffffff;
|
|
867
|
-
--buttonCounter-danger-fgColor-disabled: #
|
|
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: #
|
|
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: #
|
|
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-
|
|
9
|
-
--diffBlob-
|
|
10
|
-
--diffBlob-
|
|
11
|
-
--diffBlob-
|
|
12
|
-
--diffBlob-
|
|
13
|
-
--diffBlob-
|
|
14
|
-
--diffBlob-
|
|
15
|
-
--diffBlob-
|
|
16
|
-
--diffBlob-
|
|
17
|
-
--diffBlob-
|
|
18
|
-
--diffBlob-
|
|
19
|
-
--diffBlob-
|
|
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-
|
|
578
|
-
--diffBlob-
|
|
579
|
-
--diffBlob-
|
|
580
|
-
--diffBlob-
|
|
581
|
-
--diffBlob-
|
|
582
|
-
--diffBlob-
|
|
583
|
-
--diffBlob-
|
|
584
|
-
--diffBlob-
|
|
585
|
-
--diffBlob-
|
|
586
|
-
--diffBlob-
|
|
587
|
-
--diffBlob-
|
|
588
|
-
--diffBlob-
|
|
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;
|