@atlaskit/tokens 13.0.3 → 13.1.0
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/CHANGELOG.md +15 -0
- package/codemods/css-to-design-tokens/lib/meta.tsx +1 -1
- package/codemods/css-to-design-tokens/lib/tokens.tsx +1 -1
- package/codemods/theme-to-design-tokens/transform.tsx +16 -14
- package/codemods/theme-to-design-tokens/utils/ast-meta.tsx +2 -151
- package/codemods/theme-to-design-tokens/utils/ast.tsx +3 -35
- package/codemods/theme-to-design-tokens/utils/clean-meta.tsx +63 -0
- package/codemods/theme-to-design-tokens/utils/color.tsx +3 -11
- package/codemods/theme-to-design-tokens/utils/contains-replaceable-css-declarations.tsx +13 -0
- package/codemods/theme-to-design-tokens/utils/css-utils.tsx +2 -35
- package/codemods/theme-to-design-tokens/utils/find-end-index-of-css-expression.tsx +21 -0
- package/codemods/theme-to-design-tokens/utils/find-first-nonspace-index-after.tsx +9 -0
- package/codemods/theme-to-design-tokens/utils/get-closest-decendant-of-type.tsx +10 -0
- package/codemods/theme-to-design-tokens/utils/get-meta-from-ancestors.tsx +87 -0
- package/codemods/theme-to-design-tokens/utils/is-bold-color.tsx +4 -0
- package/codemods/theme-to-design-tokens/utils/is-decendant-of-token.tsx +14 -0
- package/codemods/theme-to-design-tokens/utils/is-legacy-color.tsx +4 -0
- package/codemods/theme-to-design-tokens/utils/is-legacy-named-color.tsx +4 -0
- package/codemods/theme-to-design-tokens/utils/is-parent-of-token.tsx +13 -0
- package/codemods/theme-to-design-tokens/utils/kebabize.tsx +2 -0
- package/codemods/theme-to-design-tokens/utils/legacy-color-meta-map.tsx +88 -0
- package/codemods/theme-to-design-tokens/utils/legacy-color-mixins.tsx +26 -0
- package/codemods/theme-to-design-tokens/utils/legacy-colors.tsx +2 -115
- package/codemods/theme-to-design-tokens/utils/split-at-index.tsx +3 -0
- package/codemods/theme-to-design-tokens/utils/string-utils.tsx +3 -16
- package/codemods/utils/active-tokens.tsx +284 -0
- package/codemods/utils/tokens.tsx +2 -376
- package/codemods/utils/unique-words-from-tokens.tsx +91 -0
- package/dist/cjs/artifacts/replacement-mapping.js +5 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +2 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +3 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +3 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-motion.js +3 -3
- package/dist/cjs/constants.js +1 -0
- package/dist/cjs/custom-theme.js +10 -60
- package/dist/cjs/entry-points/token-metadata.codegen.js +2 -11
- package/dist/cjs/get-custom-theme-styles.js +57 -0
- package/dist/cjs/get-global-theme.js +2 -2
- package/dist/cjs/get-theme-html-attrs.js +2 -2
- package/dist/cjs/get-theme-styles.js +33 -32
- package/dist/cjs/load-custom-theme-styles.js +2 -2
- package/dist/cjs/set-global-theme.js +36 -34
- package/dist/cjs/theme-color-modes.js +13 -0
- package/dist/cjs/theme-config.js +21 -16
- package/dist/cjs/theme-ids.js +13 -0
- package/dist/cjs/theme-state-transformer.js +3 -2
- package/dist/cjs/utils/color-detection.js +9 -12
- package/dist/cjs/utils/color-utils.js +45 -46
- package/dist/cjs/utils/custom-theme-loading-utils.js +9 -11
- package/dist/cjs/utils/custom-theme-token-contrast-check.js +2 -0
- package/dist/cjs/utils/generate-custom-color-ramp.js +20 -19
- package/dist/cjs/utils/get-alpha.js +13 -0
- package/dist/cjs/utils/get-closest-color-index.js +20 -0
- package/dist/cjs/utils/get-css-custom-property.js +32 -0
- package/dist/cjs/utils/get-fully-qualified-token-id.js +19 -0
- package/dist/cjs/utils/get-theme-override-preferences.js +12 -0
- package/dist/cjs/utils/get-theme-preferences.js +8 -5
- package/dist/cjs/utils/get-token-id.js +26 -0
- package/dist/cjs/utils/hct-color-utils/argb-from-rgb.js +12 -0
- package/dist/cjs/utils/hct-color-utils/clamp-double.js +20 -0
- package/dist/cjs/utils/hct-color-utils/clamp-int.js +20 -0
- package/dist/cjs/utils/hct-color-utils/color-utils.js +42 -59
- package/dist/cjs/utils/hct-color-utils/delinearized.js +27 -0
- package/dist/cjs/utils/hct-color-utils/hct.js +19 -95
- package/dist/cjs/utils/hct-color-utils/lerp.js +14 -0
- package/dist/cjs/utils/hct-color-utils/linearized.js +22 -0
- package/dist/cjs/utils/hct-color-utils/math-utils.js +38 -107
- package/dist/cjs/utils/hct-color-utils/matrix-multiply.js +15 -0
- package/dist/cjs/utils/hct-color-utils/sanitize-degrees-double.js +19 -0
- package/dist/cjs/utils/hct-color-utils/signum.js +20 -0
- package/dist/cjs/utils/hct-color-utils/viewing-conditions.js +98 -0
- package/dist/cjs/utils/hex-to-rgba-values.js +15 -0
- package/dist/cjs/utils/hsl-to-rgb.js +18 -0
- package/dist/cjs/utils/is-valid-brand-hex.js +9 -0
- package/dist/cjs/utils/limit-size-of-custom-style-elements.js +16 -0
- package/dist/cjs/utils/load-theme-css.js +32 -0
- package/dist/cjs/utils/relative-luminance-w3-c.js +18 -0
- package/dist/cjs/utils/rgb-to-hex.js +9 -0
- package/dist/cjs/utils/theme-loading.js +18 -33
- package/dist/cjs/utils/token-ids.js +21 -62
- package/dist/es2019/artifacts/replacement-mapping.js +5 -2
- package/dist/es2019/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-light.js +2 -2
- package/dist/es2019/artifacts/token-default-values.js +2 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +3 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +3 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-motion.js +3 -3
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/custom-theme.js +4 -66
- package/dist/es2019/entry-points/token-metadata.codegen.js +2 -11
- package/dist/es2019/get-custom-theme-styles.js +60 -0
- package/dist/es2019/get-global-theme.js +1 -1
- package/dist/es2019/get-theme-html-attrs.js +1 -1
- package/dist/es2019/get-theme-styles.js +4 -3
- package/dist/es2019/load-custom-theme-styles.js +1 -1
- package/dist/es2019/set-global-theme.js +3 -2
- package/dist/es2019/theme-color-modes.js +7 -0
- package/dist/es2019/theme-config.js +6 -16
- package/dist/es2019/theme-ids.js +7 -0
- package/dist/es2019/theme-state-transformer.js +2 -1
- package/dist/es2019/utils/color-detection.js +3 -11
- package/dist/es2019/utils/color-utils.js +15 -33
- package/dist/es2019/utils/custom-theme-loading-utils.js +4 -8
- package/dist/es2019/utils/custom-theme-token-contrast-check.js +2 -0
- package/dist/es2019/utils/generate-custom-color-ramp.js +11 -15
- package/dist/es2019/utils/get-alpha.js +7 -0
- package/dist/es2019/utils/get-closest-color-index.js +14 -0
- package/dist/es2019/utils/get-css-custom-property.js +23 -0
- package/dist/es2019/utils/get-fully-qualified-token-id.js +11 -0
- package/dist/es2019/utils/get-theme-override-preferences.js +4 -0
- package/dist/es2019/utils/get-theme-preferences.js +1 -4
- package/dist/es2019/utils/get-token-id.js +18 -0
- package/dist/es2019/utils/hct-color-utils/argb-from-rgb.js +6 -0
- package/dist/es2019/utils/hct-color-utils/clamp-double.js +14 -0
- package/dist/es2019/utils/hct-color-utils/clamp-int.js +14 -0
- package/dist/es2019/utils/hct-color-utils/color-utils.js +15 -45
- package/dist/es2019/utils/hct-color-utils/delinearized.js +20 -0
- package/dist/es2019/utils/hct-color-utils/hct.js +3 -76
- package/dist/es2019/utils/hct-color-utils/lerp.js +8 -0
- package/dist/es2019/utils/hct-color-utils/linearized.js +16 -0
- package/dist/es2019/utils/hct-color-utils/math-utils.js +6 -105
- package/dist/es2019/utils/hct-color-utils/matrix-multiply.js +9 -0
- package/dist/es2019/utils/hct-color-utils/sanitize-degrees-double.js +13 -0
- package/dist/es2019/utils/hct-color-utils/signum.js +14 -0
- package/dist/es2019/utils/hct-color-utils/viewing-conditions.js +78 -0
- package/dist/es2019/utils/hex-to-rgba-values.js +9 -0
- package/dist/es2019/utils/hsl-to-rgb.js +8 -0
- package/dist/es2019/utils/is-valid-brand-hex.js +1 -0
- package/dist/es2019/utils/limit-size-of-custom-style-elements.js +8 -0
- package/dist/es2019/utils/load-theme-css.js +7 -0
- package/dist/es2019/utils/relative-luminance-w3-c.js +12 -0
- package/dist/es2019/utils/rgb-to-hex.js +3 -0
- package/dist/es2019/utils/theme-loading.js +3 -8
- package/dist/es2019/utils/token-ids.js +3 -54
- package/dist/esm/artifacts/replacement-mapping.js +5 -2
- package/dist/esm/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +2 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +3 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +3 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-motion.js +3 -3
- package/dist/esm/constants.js +1 -0
- package/dist/esm/custom-theme.js +4 -58
- package/dist/esm/entry-points/token-metadata.codegen.js +2 -11
- package/dist/esm/get-custom-theme-styles.js +52 -0
- package/dist/esm/get-global-theme.js +1 -1
- package/dist/esm/get-theme-html-attrs.js +1 -1
- package/dist/esm/get-theme-styles.js +30 -29
- package/dist/esm/load-custom-theme-styles.js +1 -1
- package/dist/esm/set-global-theme.js +34 -32
- package/dist/esm/theme-color-modes.js +7 -0
- package/dist/esm/theme-config.js +8 -17
- package/dist/esm/theme-ids.js +7 -0
- package/dist/esm/theme-state-transformer.js +2 -1
- package/dist/esm/utils/color-detection.js +3 -11
- package/dist/esm/utils/color-utils.js +15 -39
- package/dist/esm/utils/custom-theme-loading-utils.js +4 -11
- package/dist/esm/utils/custom-theme-token-contrast-check.js +2 -0
- package/dist/esm/utils/generate-custom-color-ramp.js +11 -15
- package/dist/esm/utils/get-alpha.js +7 -0
- package/dist/esm/utils/get-closest-color-index.js +14 -0
- package/dist/esm/utils/get-css-custom-property.js +26 -0
- package/dist/esm/utils/get-fully-qualified-token-id.js +13 -0
- package/dist/esm/utils/get-theme-override-preferences.js +5 -0
- package/dist/esm/utils/get-theme-preferences.js +1 -4
- package/dist/esm/utils/get-token-id.js +20 -0
- package/dist/esm/utils/hct-color-utils/argb-from-rgb.js +6 -0
- package/dist/esm/utils/hct-color-utils/clamp-double.js +14 -0
- package/dist/esm/utils/hct-color-utils/clamp-int.js +14 -0
- package/dist/esm/utils/hct-color-utils/color-utils.js +15 -45
- package/dist/esm/utils/hct-color-utils/delinearized.js +20 -0
- package/dist/esm/utils/hct-color-utils/hct.js +5 -87
- package/dist/esm/utils/hct-color-utils/lerp.js +8 -0
- package/dist/esm/utils/hct-color-utils/linearized.js +16 -0
- package/dist/esm/utils/hct-color-utils/math-utils.js +6 -105
- package/dist/esm/utils/hct-color-utils/matrix-multiply.js +9 -0
- package/dist/esm/utils/hct-color-utils/sanitize-degrees-double.js +13 -0
- package/dist/esm/utils/hct-color-utils/signum.js +14 -0
- package/dist/esm/utils/hct-color-utils/viewing-conditions.js +89 -0
- package/dist/esm/utils/hex-to-rgba-values.js +9 -0
- package/dist/esm/utils/hsl-to-rgb.js +12 -0
- package/dist/esm/utils/is-valid-brand-hex.js +3 -0
- package/dist/esm/utils/limit-size-of-custom-style-elements.js +10 -0
- package/dist/esm/utils/load-theme-css.js +25 -0
- package/dist/esm/utils/relative-luminance-w3-c.js +12 -0
- package/dist/esm/utils/rgb-to-hex.js +3 -0
- package/dist/esm/utils/theme-loading.js +11 -32
- package/dist/esm/utils/token-ids.js +3 -61
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +2 -2
- package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-motion.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/custom-theme.d.ts +1 -20
- package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types/get-custom-theme-styles.d.ts +16 -0
- package/dist/types/get-global-theme.d.ts +1 -1
- package/dist/types/theme-color-modes.d.ts +7 -0
- package/dist/types/theme-config.d.ts +4 -14
- package/dist/types/theme-ids.d.ts +7 -0
- package/dist/types/theme-state-transformer.d.ts +1 -1
- package/dist/types/utils/color-detection.d.ts +1 -6
- package/dist/types/utils/color-utils.d.ts +5 -5
- package/dist/types/utils/custom-theme-loading-utils.d.ts +1 -2
- package/dist/types/utils/generate-custom-color-ramp.d.ts +1 -2
- package/dist/types/utils/get-alpha.d.ts +1 -0
- package/dist/types/utils/get-closest-color-index.d.ts +2 -0
- package/dist/types/utils/get-css-custom-property.d.ts +15 -0
- package/dist/types/utils/get-fully-qualified-token-id.d.ts +11 -0
- package/dist/types/utils/get-theme-override-preferences.d.ts +2 -0
- package/dist/types/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types/utils/get-token-id.d.ts +15 -0
- package/dist/types/utils/hct-color-utils/argb-from-rgb.d.ts +4 -0
- package/dist/types/utils/hct-color-utils/clamp-double.d.ts +7 -0
- package/dist/types/utils/hct-color-utils/clamp-int.d.ts +7 -0
- package/dist/types/utils/hct-color-utils/color-utils.d.ts +3 -23
- package/dist/types/utils/hct-color-utils/delinearized.d.ts +9 -0
- package/dist/types/utils/hct-color-utils/hct.d.ts +3 -48
- package/dist/types/utils/hct-color-utils/lerp.d.ts +6 -0
- package/dist/types/utils/hct-color-utils/linearized.d.ts +9 -0
- package/dist/types/utils/hct-color-utils/math-utils.d.ts +6 -60
- package/dist/types/utils/hct-color-utils/matrix-multiply.d.ts +4 -0
- package/dist/types/utils/hct-color-utils/sanitize-degrees-double.d.ts +7 -0
- package/dist/types/utils/hct-color-utils/signum.d.ts +6 -0
- package/dist/types/utils/hct-color-utils/viewing-conditions.d.ts +47 -0
- package/dist/types/utils/hex-to-rgba-values.d.ts +6 -0
- package/dist/types/utils/hsl-to-rgb.d.ts +1 -0
- package/dist/types/utils/is-valid-brand-hex.d.ts +1 -0
- package/dist/types/utils/limit-size-of-custom-style-elements.d.ts +1 -0
- package/dist/types/utils/load-theme-css.d.ts +2 -0
- package/dist/types/utils/relative-luminance-w3-c.d.ts +1 -0
- package/dist/types/utils/rgb-to-hex.d.ts +1 -0
- package/dist/types/utils/theme-loading.d.ts +1 -1
- package/dist/types/utils/token-ids.d.ts +3 -41
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-motion.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/custom-theme.d.ts +1 -20
- package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types-ts4.5/get-custom-theme-styles.d.ts +16 -0
- package/dist/types-ts4.5/get-global-theme.d.ts +1 -1
- package/dist/types-ts4.5/theme-color-modes.d.ts +11 -0
- package/dist/types-ts4.5/theme-config.d.ts +4 -29
- package/dist/types-ts4.5/theme-ids.d.ts +18 -0
- package/dist/types-ts4.5/theme-state-transformer.d.ts +1 -1
- package/dist/types-ts4.5/utils/color-detection.d.ts +1 -6
- package/dist/types-ts4.5/utils/color-utils.d.ts +5 -9
- package/dist/types-ts4.5/utils/custom-theme-loading-utils.d.ts +1 -2
- package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +1 -2
- package/dist/types-ts4.5/utils/get-alpha.d.ts +1 -0
- package/dist/types-ts4.5/utils/get-closest-color-index.d.ts +2 -0
- package/dist/types-ts4.5/utils/get-css-custom-property.d.ts +15 -0
- package/dist/types-ts4.5/utils/get-fully-qualified-token-id.d.ts +11 -0
- package/dist/types-ts4.5/utils/get-theme-override-preferences.d.ts +2 -0
- package/dist/types-ts4.5/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-token-id.d.ts +15 -0
- package/dist/types-ts4.5/utils/hct-color-utils/argb-from-rgb.d.ts +4 -0
- package/dist/types-ts4.5/utils/hct-color-utils/clamp-double.d.ts +7 -0
- package/dist/types-ts4.5/utils/hct-color-utils/clamp-int.d.ts +7 -0
- package/dist/types-ts4.5/utils/hct-color-utils/color-utils.d.ts +3 -23
- package/dist/types-ts4.5/utils/hct-color-utils/delinearized.d.ts +9 -0
- package/dist/types-ts4.5/utils/hct-color-utils/hct.d.ts +3 -48
- package/dist/types-ts4.5/utils/hct-color-utils/lerp.d.ts +6 -0
- package/dist/types-ts4.5/utils/hct-color-utils/linearized.d.ts +9 -0
- package/dist/types-ts4.5/utils/hct-color-utils/math-utils.d.ts +6 -60
- package/dist/types-ts4.5/utils/hct-color-utils/matrix-multiply.d.ts +4 -0
- package/dist/types-ts4.5/utils/hct-color-utils/sanitize-degrees-double.d.ts +7 -0
- package/dist/types-ts4.5/utils/hct-color-utils/signum.d.ts +6 -0
- package/dist/types-ts4.5/utils/hct-color-utils/viewing-conditions.d.ts +47 -0
- package/dist/types-ts4.5/utils/hex-to-rgba-values.d.ts +6 -0
- package/dist/types-ts4.5/utils/hsl-to-rgb.d.ts +5 -0
- package/dist/types-ts4.5/utils/is-valid-brand-hex.d.ts +1 -0
- package/dist/types-ts4.5/utils/limit-size-of-custom-style-elements.d.ts +1 -0
- package/dist/types-ts4.5/utils/load-theme-css.d.ts +2 -0
- package/dist/types-ts4.5/utils/relative-luminance-w3-c.d.ts +1 -0
- package/dist/types-ts4.5/utils/rgb-to-hex.d.ts +1 -0
- package/dist/types-ts4.5/utils/theme-loading.d.ts +1 -1
- package/dist/types-ts4.5/utils/token-ids.d.ts +3 -41
- package/figma/atlassian-dark-increased-contrast.json +1 -1
- package/figma/atlassian-dark.json +1 -1
- package/figma/atlassian-light-increased-contrast.json +1 -1
- package/figma/atlassian-light.json +1 -1
- package/package.json +12 -12
- package/tokens.docs.tsx +48 -46
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export const legacyColorMetaMap: Record<string, string[]> = {
|
|
2
|
+
R50: ['danger'],
|
|
3
|
+
R75: ['danger'],
|
|
4
|
+
R100: ['danger'],
|
|
5
|
+
R200: ['danger'],
|
|
6
|
+
R300: ['danger', 'bold'],
|
|
7
|
+
R400: ['danger', 'bold'],
|
|
8
|
+
R500: ['danger', 'bold'],
|
|
9
|
+
Y50: ['warning'],
|
|
10
|
+
Y75: ['warning'],
|
|
11
|
+
Y100: ['warning'],
|
|
12
|
+
Y200: ['warning'],
|
|
13
|
+
Y300: ['warning', 'bold'],
|
|
14
|
+
Y400: ['warning', 'bold'],
|
|
15
|
+
Y500: ['warning', 'bold'],
|
|
16
|
+
G50: ['success'],
|
|
17
|
+
G75: ['success'],
|
|
18
|
+
G100: ['success'],
|
|
19
|
+
G200: ['success'],
|
|
20
|
+
G300: ['success'],
|
|
21
|
+
G400: ['success'],
|
|
22
|
+
G500: ['success'],
|
|
23
|
+
B50: ['information'],
|
|
24
|
+
B75: ['information'],
|
|
25
|
+
B100: ['information'],
|
|
26
|
+
B200: ['information'],
|
|
27
|
+
B300: ['information', 'bold'],
|
|
28
|
+
B400: ['information', 'bold'],
|
|
29
|
+
B500: ['information', 'bold'],
|
|
30
|
+
P50: ['discovery'],
|
|
31
|
+
P75: ['discovery'],
|
|
32
|
+
P100: ['discovery'],
|
|
33
|
+
P200: ['discovery'],
|
|
34
|
+
P300: ['discovery', 'bold'],
|
|
35
|
+
P400: ['discovery', 'bold'],
|
|
36
|
+
P500: ['discovery', 'bold'],
|
|
37
|
+
T50: ['accent', 'teal'],
|
|
38
|
+
T75: ['accent', 'teal'],
|
|
39
|
+
T100: ['accent', 'teal'],
|
|
40
|
+
T200: ['accent', 'teal'],
|
|
41
|
+
T300: ['accent', 'teal'],
|
|
42
|
+
T400: ['accent', 'teal'],
|
|
43
|
+
T500: ['accent', 'teal'],
|
|
44
|
+
N0: ['inverse'],
|
|
45
|
+
N10: ['neutral'],
|
|
46
|
+
N20: ['neutral'],
|
|
47
|
+
N30: ['neutral'],
|
|
48
|
+
N40: ['neutral'],
|
|
49
|
+
N50: ['neutral'],
|
|
50
|
+
N60: ['neutral'],
|
|
51
|
+
N70: ['neutral'],
|
|
52
|
+
N80: ['neutral'],
|
|
53
|
+
N90: ['neutral'],
|
|
54
|
+
N100: ['neutral'],
|
|
55
|
+
N200: ['neutral'],
|
|
56
|
+
N300: ['neutral'],
|
|
57
|
+
N400: ['neutral'],
|
|
58
|
+
N500: ['neutral'],
|
|
59
|
+
N600: ['neutral'],
|
|
60
|
+
N700: ['neutral'],
|
|
61
|
+
N800: ['neutral'],
|
|
62
|
+
N900: ['neutral'],
|
|
63
|
+
background: ['background', 'default'],
|
|
64
|
+
backgroundActive: ['background', 'pressed'],
|
|
65
|
+
backgroundHover: ['background', 'hovered'],
|
|
66
|
+
backgroundOnLayer: ['background', 'blanket'],
|
|
67
|
+
text: ['text'],
|
|
68
|
+
textHover: ['text', 'subtle'],
|
|
69
|
+
textActive: ['text', 'link', 'pressed'],
|
|
70
|
+
subtleText: ['text', 'subtlest'],
|
|
71
|
+
placeholderText: ['text', 'subtlest'],
|
|
72
|
+
heading: ['text'],
|
|
73
|
+
subtleHeading: ['text', 'subtle'],
|
|
74
|
+
link: ['link'],
|
|
75
|
+
linkHover: ['link', 'hovered'],
|
|
76
|
+
linkActive: ['link', 'pressed'],
|
|
77
|
+
linkOutline: ['border', 'selected'],
|
|
78
|
+
primary: ['brand'],
|
|
79
|
+
blue: ['accent', 'blue'],
|
|
80
|
+
teal: ['accent', 'teal'],
|
|
81
|
+
purple: ['accent', 'purple'],
|
|
82
|
+
red: ['accent', 'red'],
|
|
83
|
+
yellow: ['accent', 'orange'],
|
|
84
|
+
green: ['accent', 'green'],
|
|
85
|
+
grey: ['background', 'neutral'],
|
|
86
|
+
skeleton: ['skeleton'],
|
|
87
|
+
white: ['inverse'],
|
|
88
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const legacyColorMixins: string[] = [
|
|
2
|
+
'background',
|
|
3
|
+
'backgroundActive',
|
|
4
|
+
'backgroundHover',
|
|
5
|
+
'backgroundOnLayer',
|
|
6
|
+
'text',
|
|
7
|
+
'textHover',
|
|
8
|
+
'textActive',
|
|
9
|
+
'subtleText',
|
|
10
|
+
'placeholderText',
|
|
11
|
+
'heading',
|
|
12
|
+
'subtleHeading',
|
|
13
|
+
'codeBlock',
|
|
14
|
+
'link',
|
|
15
|
+
'linkHover',
|
|
16
|
+
'linkActive',
|
|
17
|
+
'linkOutline',
|
|
18
|
+
'primary',
|
|
19
|
+
'blue',
|
|
20
|
+
'teal',
|
|
21
|
+
'purple',
|
|
22
|
+
'red',
|
|
23
|
+
'yellow',
|
|
24
|
+
'green',
|
|
25
|
+
'skeleton',
|
|
26
|
+
];
|
|
@@ -115,118 +115,5 @@ export const legacyColors: string[] = [
|
|
|
115
115
|
'DN10A',
|
|
116
116
|
];
|
|
117
117
|
|
|
118
|
-
export
|
|
119
|
-
|
|
120
|
-
'backgroundActive',
|
|
121
|
-
'backgroundHover',
|
|
122
|
-
'backgroundOnLayer',
|
|
123
|
-
'text',
|
|
124
|
-
'textHover',
|
|
125
|
-
'textActive',
|
|
126
|
-
'subtleText',
|
|
127
|
-
'placeholderText',
|
|
128
|
-
'heading',
|
|
129
|
-
'subtleHeading',
|
|
130
|
-
'codeBlock',
|
|
131
|
-
'link',
|
|
132
|
-
'linkHover',
|
|
133
|
-
'linkActive',
|
|
134
|
-
'linkOutline',
|
|
135
|
-
'primary',
|
|
136
|
-
'blue',
|
|
137
|
-
'teal',
|
|
138
|
-
'purple',
|
|
139
|
-
'red',
|
|
140
|
-
'yellow',
|
|
141
|
-
'green',
|
|
142
|
-
'skeleton',
|
|
143
|
-
];
|
|
144
|
-
|
|
145
|
-
export const legacyColorMetaMap: Record<string, string[]> = {
|
|
146
|
-
R50: ['danger'],
|
|
147
|
-
R75: ['danger'],
|
|
148
|
-
R100: ['danger'],
|
|
149
|
-
R200: ['danger'],
|
|
150
|
-
R300: ['danger', 'bold'],
|
|
151
|
-
R400: ['danger', 'bold'],
|
|
152
|
-
R500: ['danger', 'bold'],
|
|
153
|
-
Y50: ['warning'],
|
|
154
|
-
Y75: ['warning'],
|
|
155
|
-
Y100: ['warning'],
|
|
156
|
-
Y200: ['warning'],
|
|
157
|
-
Y300: ['warning', 'bold'],
|
|
158
|
-
Y400: ['warning', 'bold'],
|
|
159
|
-
Y500: ['warning', 'bold'],
|
|
160
|
-
G50: ['success'],
|
|
161
|
-
G75: ['success'],
|
|
162
|
-
G100: ['success'],
|
|
163
|
-
G200: ['success'],
|
|
164
|
-
G300: ['success'],
|
|
165
|
-
G400: ['success'],
|
|
166
|
-
G500: ['success'],
|
|
167
|
-
B50: ['information'],
|
|
168
|
-
B75: ['information'],
|
|
169
|
-
B100: ['information'],
|
|
170
|
-
B200: ['information'],
|
|
171
|
-
B300: ['information', 'bold'],
|
|
172
|
-
B400: ['information', 'bold'],
|
|
173
|
-
B500: ['information', 'bold'],
|
|
174
|
-
P50: ['discovery'],
|
|
175
|
-
P75: ['discovery'],
|
|
176
|
-
P100: ['discovery'],
|
|
177
|
-
P200: ['discovery'],
|
|
178
|
-
P300: ['discovery', 'bold'],
|
|
179
|
-
P400: ['discovery', 'bold'],
|
|
180
|
-
P500: ['discovery', 'bold'],
|
|
181
|
-
T50: ['accent', 'teal'],
|
|
182
|
-
T75: ['accent', 'teal'],
|
|
183
|
-
T100: ['accent', 'teal'],
|
|
184
|
-
T200: ['accent', 'teal'],
|
|
185
|
-
T300: ['accent', 'teal'],
|
|
186
|
-
T400: ['accent', 'teal'],
|
|
187
|
-
T500: ['accent', 'teal'],
|
|
188
|
-
N0: ['inverse'],
|
|
189
|
-
N10: ['neutral'],
|
|
190
|
-
N20: ['neutral'],
|
|
191
|
-
N30: ['neutral'],
|
|
192
|
-
N40: ['neutral'],
|
|
193
|
-
N50: ['neutral'],
|
|
194
|
-
N60: ['neutral'],
|
|
195
|
-
N70: ['neutral'],
|
|
196
|
-
N80: ['neutral'],
|
|
197
|
-
N90: ['neutral'],
|
|
198
|
-
N100: ['neutral'],
|
|
199
|
-
N200: ['neutral'],
|
|
200
|
-
N300: ['neutral'],
|
|
201
|
-
N400: ['neutral'],
|
|
202
|
-
N500: ['neutral'],
|
|
203
|
-
N600: ['neutral'],
|
|
204
|
-
N700: ['neutral'],
|
|
205
|
-
N800: ['neutral'],
|
|
206
|
-
N900: ['neutral'],
|
|
207
|
-
background: ['background', 'default'],
|
|
208
|
-
backgroundActive: ['background', 'pressed'],
|
|
209
|
-
backgroundHover: ['background', 'hovered'],
|
|
210
|
-
backgroundOnLayer: ['background', 'blanket'],
|
|
211
|
-
text: ['text'],
|
|
212
|
-
textHover: ['text', 'subtle'],
|
|
213
|
-
textActive: ['text', 'link', 'pressed'],
|
|
214
|
-
subtleText: ['text', 'subtlest'],
|
|
215
|
-
placeholderText: ['text', 'subtlest'],
|
|
216
|
-
heading: ['text'],
|
|
217
|
-
subtleHeading: ['text', 'subtle'],
|
|
218
|
-
link: ['link'],
|
|
219
|
-
linkHover: ['link', 'hovered'],
|
|
220
|
-
linkActive: ['link', 'pressed'],
|
|
221
|
-
linkOutline: ['border', 'selected'],
|
|
222
|
-
primary: ['brand'],
|
|
223
|
-
blue: ['accent', 'blue'],
|
|
224
|
-
teal: ['accent', 'teal'],
|
|
225
|
-
purple: ['accent', 'purple'],
|
|
226
|
-
red: ['accent', 'red'],
|
|
227
|
-
yellow: ['accent', 'orange'],
|
|
228
|
-
green: ['accent', 'green'],
|
|
229
|
-
grey: ['background', 'neutral'],
|
|
230
|
-
skeleton: ['skeleton'],
|
|
231
|
-
white: ['inverse'],
|
|
232
|
-
};
|
|
118
|
+
export { legacyColorMixins } from './legacy-color-mixins';
|
|
119
|
+
export { legacyColorMetaMap } from './legacy-color-meta-map';
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function findFirstNonspaceIndexAfter(text: string, index: number): number {
|
|
5
|
-
const rest = text.slice(index + 1);
|
|
6
|
-
const indexInRest = rest.search(/\S/);
|
|
7
|
-
if (indexInRest === -1) {
|
|
8
|
-
return text.length;
|
|
9
|
-
} else {
|
|
10
|
-
return index + 1 + indexInRest;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function splitAtIndex(text: string, index: number): [string, string] {
|
|
15
|
-
return [text.slice(0, index), text.slice(index)];
|
|
16
|
-
}
|
|
1
|
+
export { kebabize } from './kebabize';
|
|
2
|
+
export { findFirstNonspaceIndexAfter } from './find-first-nonspace-index-after';
|
|
3
|
+
export { splitAtIndex } from './split-at-index';
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
export const activeTokens: string[] = [
|
|
2
|
+
'color.text',
|
|
3
|
+
'color.text.accent.lime',
|
|
4
|
+
'color.text.accent.lime.bolder',
|
|
5
|
+
'color.text.accent.red',
|
|
6
|
+
'color.text.accent.red.bolder',
|
|
7
|
+
'color.text.accent.orange',
|
|
8
|
+
'color.text.accent.orange.bolder',
|
|
9
|
+
'color.text.accent.yellow',
|
|
10
|
+
'color.text.accent.yellow.bolder',
|
|
11
|
+
'color.text.accent.green',
|
|
12
|
+
'color.text.accent.green.bolder',
|
|
13
|
+
'color.text.accent.teal',
|
|
14
|
+
'color.text.accent.teal.bolder',
|
|
15
|
+
'color.text.accent.blue',
|
|
16
|
+
'color.text.accent.blue.bolder',
|
|
17
|
+
'color.text.accent.purple',
|
|
18
|
+
'color.text.accent.purple.bolder',
|
|
19
|
+
'color.text.accent.magenta',
|
|
20
|
+
'color.text.accent.magenta.bolder',
|
|
21
|
+
'color.text.accent.gray',
|
|
22
|
+
'color.text.accent.gray.bolder',
|
|
23
|
+
'color.text.disabled',
|
|
24
|
+
'color.text.inverse',
|
|
25
|
+
'color.text.selected',
|
|
26
|
+
'color.text.brand',
|
|
27
|
+
'color.text.danger',
|
|
28
|
+
'color.text.warning',
|
|
29
|
+
'color.text.warning.inverse',
|
|
30
|
+
'color.text.success',
|
|
31
|
+
'color.text.discovery',
|
|
32
|
+
'color.text.information',
|
|
33
|
+
'color.text.subtlest',
|
|
34
|
+
'color.text.subtle',
|
|
35
|
+
'color.link',
|
|
36
|
+
'color.link.pressed',
|
|
37
|
+
'color.link.visited',
|
|
38
|
+
'color.icon',
|
|
39
|
+
'color.icon.accent.lime',
|
|
40
|
+
'color.icon.accent.red',
|
|
41
|
+
'color.icon.accent.orange',
|
|
42
|
+
'color.icon.accent.yellow',
|
|
43
|
+
'color.icon.accent.green',
|
|
44
|
+
'color.icon.accent.teal',
|
|
45
|
+
'color.icon.accent.blue',
|
|
46
|
+
'color.icon.accent.purple',
|
|
47
|
+
'color.icon.accent.magenta',
|
|
48
|
+
'color.icon.accent.gray',
|
|
49
|
+
'color.icon.disabled',
|
|
50
|
+
'color.icon.inverse',
|
|
51
|
+
'color.icon.selected',
|
|
52
|
+
'color.icon.brand',
|
|
53
|
+
'color.icon.danger',
|
|
54
|
+
'color.icon.warning',
|
|
55
|
+
'color.icon.warning.inverse',
|
|
56
|
+
'color.icon.success',
|
|
57
|
+
'color.icon.discovery',
|
|
58
|
+
'color.icon.information',
|
|
59
|
+
'color.icon.subtle',
|
|
60
|
+
'color.border',
|
|
61
|
+
'color.border.accent.lime',
|
|
62
|
+
'color.border.accent.red',
|
|
63
|
+
'color.border.accent.orange',
|
|
64
|
+
'color.border.accent.yellow',
|
|
65
|
+
'color.border.accent.green',
|
|
66
|
+
'color.border.accent.teal',
|
|
67
|
+
'color.border.accent.blue',
|
|
68
|
+
'color.border.accent.purple',
|
|
69
|
+
'color.border.accent.magenta',
|
|
70
|
+
'color.border.accent.gray',
|
|
71
|
+
'color.border.disabled',
|
|
72
|
+
'color.border.focused',
|
|
73
|
+
'color.border.input',
|
|
74
|
+
'color.border.inverse',
|
|
75
|
+
'color.border.selected',
|
|
76
|
+
'color.border.brand',
|
|
77
|
+
'color.border.danger',
|
|
78
|
+
'color.border.warning',
|
|
79
|
+
'color.border.success',
|
|
80
|
+
'color.border.discovery',
|
|
81
|
+
'color.border.information',
|
|
82
|
+
'color.border.bold',
|
|
83
|
+
'color.background.accent.lime.subtlest',
|
|
84
|
+
'color.background.accent.lime.subtlest.hovered',
|
|
85
|
+
'color.background.accent.lime.subtlest.pressed',
|
|
86
|
+
'color.background.accent.lime.subtler',
|
|
87
|
+
'color.background.accent.lime.subtler.hovered',
|
|
88
|
+
'color.background.accent.lime.subtler.pressed',
|
|
89
|
+
'color.background.accent.lime.subtle',
|
|
90
|
+
'color.background.accent.lime.subtle.hovered',
|
|
91
|
+
'color.background.accent.lime.subtle.pressed',
|
|
92
|
+
'color.background.accent.lime.bolder',
|
|
93
|
+
'color.background.accent.lime.bolder.hovered',
|
|
94
|
+
'color.background.accent.lime.bolder.pressed',
|
|
95
|
+
'color.background.accent.red.subtlest',
|
|
96
|
+
'color.background.accent.red.subtlest.hovered',
|
|
97
|
+
'color.background.accent.red.subtlest.pressed',
|
|
98
|
+
'color.background.accent.red.subtler',
|
|
99
|
+
'color.background.accent.red.subtler.hovered',
|
|
100
|
+
'color.background.accent.red.subtler.pressed',
|
|
101
|
+
'color.background.accent.red.subtle',
|
|
102
|
+
'color.background.accent.red.subtle.hovered',
|
|
103
|
+
'color.background.accent.red.subtle.pressed',
|
|
104
|
+
'color.background.accent.red.bolder',
|
|
105
|
+
'color.background.accent.red.bolder.hovered',
|
|
106
|
+
'color.background.accent.red.bolder.pressed',
|
|
107
|
+
'color.background.accent.orange.subtlest',
|
|
108
|
+
'color.background.accent.orange.subtlest.hovered',
|
|
109
|
+
'color.background.accent.orange.subtlest.pressed',
|
|
110
|
+
'color.background.accent.orange.subtler',
|
|
111
|
+
'color.background.accent.orange.subtler.hovered',
|
|
112
|
+
'color.background.accent.orange.subtler.pressed',
|
|
113
|
+
'color.background.accent.orange.subtle',
|
|
114
|
+
'color.background.accent.orange.subtle.hovered',
|
|
115
|
+
'color.background.accent.orange.subtle.pressed',
|
|
116
|
+
'color.background.accent.orange.bolder',
|
|
117
|
+
'color.background.accent.orange.bolder.hovered',
|
|
118
|
+
'color.background.accent.orange.bolder.pressed',
|
|
119
|
+
'color.background.accent.yellow.subtlest',
|
|
120
|
+
'color.background.accent.yellow.subtlest.hovered',
|
|
121
|
+
'color.background.accent.yellow.subtlest.pressed',
|
|
122
|
+
'color.background.accent.yellow.subtler',
|
|
123
|
+
'color.background.accent.yellow.subtler.hovered',
|
|
124
|
+
'color.background.accent.yellow.subtler.pressed',
|
|
125
|
+
'color.background.accent.yellow.subtle',
|
|
126
|
+
'color.background.accent.yellow.subtle.hovered',
|
|
127
|
+
'color.background.accent.yellow.subtle.pressed',
|
|
128
|
+
'color.background.accent.yellow.bolder',
|
|
129
|
+
'color.background.accent.yellow.bolder.hovered',
|
|
130
|
+
'color.background.accent.yellow.bolder.pressed',
|
|
131
|
+
'color.background.accent.green.subtlest',
|
|
132
|
+
'color.background.accent.green.subtlest.hovered',
|
|
133
|
+
'color.background.accent.green.subtlest.pressed',
|
|
134
|
+
'color.background.accent.green.subtler',
|
|
135
|
+
'color.background.accent.green.subtler.hovered',
|
|
136
|
+
'color.background.accent.green.subtler.pressed',
|
|
137
|
+
'color.background.accent.green.subtle',
|
|
138
|
+
'color.background.accent.green.subtle.hovered',
|
|
139
|
+
'color.background.accent.green.subtle.pressed',
|
|
140
|
+
'color.background.accent.green.bolder',
|
|
141
|
+
'color.background.accent.green.bolder.hovered',
|
|
142
|
+
'color.background.accent.green.bolder.pressed',
|
|
143
|
+
'color.background.accent.teal.subtlest',
|
|
144
|
+
'color.background.accent.teal.subtlest.hovered',
|
|
145
|
+
'color.background.accent.teal.subtlest.pressed',
|
|
146
|
+
'color.background.accent.teal.subtler',
|
|
147
|
+
'color.background.accent.teal.subtler.hovered',
|
|
148
|
+
'color.background.accent.teal.subtler.pressed',
|
|
149
|
+
'color.background.accent.teal.subtle',
|
|
150
|
+
'color.background.accent.teal.subtle.hovered',
|
|
151
|
+
'color.background.accent.teal.subtle.pressed',
|
|
152
|
+
'color.background.accent.teal.bolder',
|
|
153
|
+
'color.background.accent.teal.bolder.hovered',
|
|
154
|
+
'color.background.accent.teal.bolder.pressed',
|
|
155
|
+
'color.background.accent.blue.subtlest',
|
|
156
|
+
'color.background.accent.blue.subtlest.hovered',
|
|
157
|
+
'color.background.accent.blue.subtlest.pressed',
|
|
158
|
+
'color.background.accent.blue.subtler',
|
|
159
|
+
'color.background.accent.blue.subtler.hovered',
|
|
160
|
+
'color.background.accent.blue.subtler.pressed',
|
|
161
|
+
'color.background.accent.blue.subtle',
|
|
162
|
+
'color.background.accent.blue.subtle.hovered',
|
|
163
|
+
'color.background.accent.blue.subtle.pressed',
|
|
164
|
+
'color.background.accent.blue.bolder',
|
|
165
|
+
'color.background.accent.blue.bolder.hovered',
|
|
166
|
+
'color.background.accent.blue.bolder.pressed',
|
|
167
|
+
'color.background.accent.purple.subtlest',
|
|
168
|
+
'color.background.accent.purple.subtlest.hovered',
|
|
169
|
+
'color.background.accent.purple.subtlest.pressed',
|
|
170
|
+
'color.background.accent.purple.subtler',
|
|
171
|
+
'color.background.accent.purple.subtler.hovered',
|
|
172
|
+
'color.background.accent.purple.subtler.pressed',
|
|
173
|
+
'color.background.accent.purple.subtle',
|
|
174
|
+
'color.background.accent.purple.subtle.hovered',
|
|
175
|
+
'color.background.accent.purple.subtle.pressed',
|
|
176
|
+
'color.background.accent.purple.bolder',
|
|
177
|
+
'color.background.accent.purple.bolder.hovered',
|
|
178
|
+
'color.background.accent.purple.bolder.pressed',
|
|
179
|
+
'color.background.accent.magenta.subtlest',
|
|
180
|
+
'color.background.accent.magenta.subtlest.hovered',
|
|
181
|
+
'color.background.accent.magenta.subtlest.pressed',
|
|
182
|
+
'color.background.accent.magenta.subtler',
|
|
183
|
+
'color.background.accent.magenta.subtler.hovered',
|
|
184
|
+
'color.background.accent.magenta.subtler.pressed',
|
|
185
|
+
'color.background.accent.magenta.subtle',
|
|
186
|
+
'color.background.accent.magenta.subtle.hovered',
|
|
187
|
+
'color.background.accent.magenta.subtle.pressed',
|
|
188
|
+
'color.background.accent.magenta.bolder',
|
|
189
|
+
'color.background.accent.magenta.bolder.hovered',
|
|
190
|
+
'color.background.accent.magenta.bolder.pressed',
|
|
191
|
+
'color.background.accent.gray.subtlest',
|
|
192
|
+
'color.background.accent.gray.subtlest.hovered',
|
|
193
|
+
'color.background.accent.gray.subtlest.pressed',
|
|
194
|
+
'color.background.accent.gray.subtler',
|
|
195
|
+
'color.background.accent.gray.subtler.hovered',
|
|
196
|
+
'color.background.accent.gray.subtler.pressed',
|
|
197
|
+
'color.background.accent.gray.subtle',
|
|
198
|
+
'color.background.accent.gray.subtle.hovered',
|
|
199
|
+
'color.background.accent.gray.subtle.pressed',
|
|
200
|
+
'color.background.accent.gray.bolder',
|
|
201
|
+
'color.background.accent.gray.bolder.hovered',
|
|
202
|
+
'color.background.accent.gray.bolder.pressed',
|
|
203
|
+
'color.background.disabled',
|
|
204
|
+
'color.background.input',
|
|
205
|
+
'color.background.input.hovered',
|
|
206
|
+
'color.background.input.pressed',
|
|
207
|
+
'color.background.inverse.subtle',
|
|
208
|
+
'color.background.inverse.subtle.hovered',
|
|
209
|
+
'color.background.inverse.subtle.pressed',
|
|
210
|
+
'color.background.neutral',
|
|
211
|
+
'color.background.neutral.hovered',
|
|
212
|
+
'color.background.neutral.pressed',
|
|
213
|
+
'color.background.neutral.subtle',
|
|
214
|
+
'color.background.neutral.subtle.hovered',
|
|
215
|
+
'color.background.neutral.subtle.pressed',
|
|
216
|
+
'color.background.neutral.bold',
|
|
217
|
+
'color.background.neutral.bold.hovered',
|
|
218
|
+
'color.background.neutral.bold.pressed',
|
|
219
|
+
'color.background.selected',
|
|
220
|
+
'color.background.selected.hovered',
|
|
221
|
+
'color.background.selected.pressed',
|
|
222
|
+
'color.background.selected.bold',
|
|
223
|
+
'color.background.selected.bold.hovered',
|
|
224
|
+
'color.background.selected.bold.pressed',
|
|
225
|
+
'color.background.brand.subtlest',
|
|
226
|
+
'color.background.brand.subtlest.hovered',
|
|
227
|
+
'color.background.brand.subtlest.pressed',
|
|
228
|
+
'color.background.brand.bold',
|
|
229
|
+
'color.background.brand.bold.hovered',
|
|
230
|
+
'color.background.brand.bold.pressed',
|
|
231
|
+
'color.background.brand.boldest',
|
|
232
|
+
'color.background.brand.boldest.hovered',
|
|
233
|
+
'color.background.brand.boldest.pressed',
|
|
234
|
+
'color.background.danger',
|
|
235
|
+
'color.background.danger.hovered',
|
|
236
|
+
'color.background.danger.pressed',
|
|
237
|
+
'color.background.danger.bold',
|
|
238
|
+
'color.background.danger.bold.hovered',
|
|
239
|
+
'color.background.danger.bold.pressed',
|
|
240
|
+
'color.background.warning',
|
|
241
|
+
'color.background.warning.hovered',
|
|
242
|
+
'color.background.warning.pressed',
|
|
243
|
+
'color.background.warning.bold',
|
|
244
|
+
'color.background.warning.bold.hovered',
|
|
245
|
+
'color.background.warning.bold.pressed',
|
|
246
|
+
'color.background.success',
|
|
247
|
+
'color.background.success.hovered',
|
|
248
|
+
'color.background.success.pressed',
|
|
249
|
+
'color.background.success.bold',
|
|
250
|
+
'color.background.success.bold.hovered',
|
|
251
|
+
'color.background.success.bold.pressed',
|
|
252
|
+
'color.background.discovery',
|
|
253
|
+
'color.background.discovery.hovered',
|
|
254
|
+
'color.background.discovery.pressed',
|
|
255
|
+
'color.background.discovery.bold',
|
|
256
|
+
'color.background.discovery.bold.hovered',
|
|
257
|
+
'color.background.discovery.bold.pressed',
|
|
258
|
+
'color.background.information',
|
|
259
|
+
'color.background.information.hovered',
|
|
260
|
+
'color.background.information.pressed',
|
|
261
|
+
'color.background.information.bold',
|
|
262
|
+
'color.background.information.bold.hovered',
|
|
263
|
+
'color.background.information.bold.pressed',
|
|
264
|
+
'color.blanket',
|
|
265
|
+
'color.blanket.selected',
|
|
266
|
+
'color.blanket.danger',
|
|
267
|
+
'color.skeleton',
|
|
268
|
+
'color.skeleton.subtle',
|
|
269
|
+
'elevation.surface',
|
|
270
|
+
'elevation.surface.hovered',
|
|
271
|
+
'elevation.surface.pressed',
|
|
272
|
+
'elevation.surface.overlay',
|
|
273
|
+
'elevation.surface.overlay.hovered',
|
|
274
|
+
'elevation.surface.overlay.pressed',
|
|
275
|
+
'elevation.surface.raised',
|
|
276
|
+
'elevation.surface.raised.hovered',
|
|
277
|
+
'elevation.surface.raised.pressed',
|
|
278
|
+
'elevation.surface.sunken',
|
|
279
|
+
'elevation.shadow.overlay',
|
|
280
|
+
'elevation.shadow.raised',
|
|
281
|
+
'opacity.disabled',
|
|
282
|
+
'opacity.loading',
|
|
283
|
+
'utility.elevation.surface.current',
|
|
284
|
+
];
|