@digdir/designsystemet 0.0.0-chore-remove-cli-tsx-20260701060359
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/LICENSE +7 -0
- package/README.md +104 -0
- package/dist/bin/config.d.ts +14 -0
- package/dist/bin/config.d.ts.map +1 -0
- package/dist/bin/config.js +58 -0
- package/dist/bin/config.js.map +1 -0
- package/dist/bin/designsystemet.d.ts +1 -0
- package/dist/bin/designsystemet.js +174 -0
- package/dist/bin/designsystemet.js.map +1 -0
- package/dist/bin/options.d.ts +24 -0
- package/dist/bin/options.d.ts.map +1 -0
- package/dist/bin/options.js +25 -0
- package/dist/bin/options.js.map +1 -0
- package/dist/config.schema.json +181 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BorderValues.js +11 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BorderValues.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowTypes.js +10 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowTypes.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowValues.js +15 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowValues.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorModifierTypes.js +12 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorModifierTypes.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorSpaceTypes.js +12 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorSpaceTypes.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/Properties.js +55 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/Properties.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/StrokeStyleValues.js +16 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/StrokeStyleValues.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.d.ts +11 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.js +11 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenTypes.js +34 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenTypes.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TypographyValues.js +17 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TypographyValues.js.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/types/ThemeObject.d.ts +16 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/types/ThemeObject.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@tokens-studio_types@0.5.2/node_modules/@tokens-studio/types/dist/types/index.js +11 -0
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/src/automigrate.d.ts +5 -0
- package/dist/src/automigrate.d.ts.map +1 -0
- package/dist/src/automigrate.js +35 -0
- package/dist/src/automigrate.js.map +1 -0
- package/dist/src/colors/colorMetadata.d.ts +60 -0
- package/dist/src/colors/colorMetadata.d.ts.map +1 -0
- package/dist/src/colors/colorMetadata.js +261 -0
- package/dist/src/colors/colorMetadata.js.map +1 -0
- package/dist/src/colors/index.d.ts +5 -0
- package/dist/src/colors/index.js +5 -0
- package/dist/src/colors/theme.d.ts +34 -0
- package/dist/src/colors/theme.d.ts.map +1 -0
- package/dist/src/colors/theme.js +113 -0
- package/dist/src/colors/theme.js.map +1 -0
- package/dist/src/colors/types.d.ts +67 -0
- package/dist/src/colors/types.d.ts.map +1 -0
- package/dist/src/colors/types.js +26 -0
- package/dist/src/colors/types.js.map +1 -0
- package/dist/src/colors/utils.d.ts +132 -0
- package/dist/src/colors/utils.d.ts.map +1 -0
- package/dist/src/colors/utils.js +246 -0
- package/dist/src/colors/utils.js.map +1 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/index.js +11 -0
- package/dist/src/migrations/beta-to-v1.d.ts +5 -0
- package/dist/src/migrations/beta-to-v1.d.ts.map +1 -0
- package/dist/src/migrations/beta-to-v1.js +342 -0
- package/dist/src/migrations/beta-to-v1.js.map +1 -0
- package/dist/src/migrations/codemods/css/plugins.d.ts +9 -0
- package/dist/src/migrations/codemods/css/plugins.d.ts.map +1 -0
- package/dist/src/migrations/codemods/css/plugins.js +37 -0
- package/dist/src/migrations/codemods/css/plugins.js.map +1 -0
- package/dist/src/migrations/codemods/css/run.d.ts +14 -0
- package/dist/src/migrations/codemods/css/run.d.ts.map +1 -0
- package/dist/src/migrations/codemods/css/run.js +25 -0
- package/dist/src/migrations/codemods/css/run.js.map +1 -0
- package/dist/src/migrations/color-rename-next49.d.ts +5 -0
- package/dist/src/migrations/color-rename-next49.d.ts.map +1 -0
- package/dist/src/migrations/color-rename-next49.js +48 -0
- package/dist/src/migrations/color-rename-next49.js.map +1 -0
- package/dist/src/migrations/flatten-color-categories.d.ts +12 -0
- package/dist/src/migrations/flatten-color-categories.d.ts.map +1 -0
- package/dist/src/migrations/flatten-color-categories.js +58 -0
- package/dist/src/migrations/flatten-color-categories.js.map +1 -0
- package/dist/src/migrations/index.d.ts +17 -0
- package/dist/src/migrations/index.d.ts.map +1 -0
- package/dist/src/migrations/index.js +13 -0
- package/dist/src/migrations/index.js.map +1 -0
- package/dist/src/schemas/helpers.d.ts +42 -0
- package/dist/src/schemas/helpers.d.ts.map +1 -0
- package/dist/src/schemas/helpers.js +96 -0
- package/dist/src/schemas/helpers.js.map +1 -0
- package/dist/src/schemas/v1/schema.d.ts +173 -0
- package/dist/src/schemas/v1/schema.d.ts.map +1 -0
- package/dist/src/schemas/v1/schema.js +65 -0
- package/dist/src/schemas/v1/schema.js.map +1 -0
- package/dist/src/schemas/v1.1/schema.d.ts +165 -0
- package/dist/src/schemas/v1.1/schema.d.ts.map +1 -0
- package/dist/src/schemas/v1.1/schema.js +56 -0
- package/dist/src/schemas/v1.1/schema.js.map +1 -0
- package/dist/src/tokens/build.d.ts +8 -0
- package/dist/src/tokens/build.d.ts.map +1 -0
- package/dist/src/tokens/build.js +43 -0
- package/dist/src/tokens/build.js.map +1 -0
- package/dist/src/tokens/create/files.d.ts +19 -0
- package/dist/src/tokens/create/files.d.ts.map +1 -0
- package/dist/src/tokens/create/files.js +48 -0
- package/dist/src/tokens/create/files.js.map +1 -0
- package/dist/src/tokens/create/generators/$designsystemet.d.ts +8 -0
- package/dist/src/tokens/create/generators/$designsystemet.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/$designsystemet.js +12 -0
- package/dist/src/tokens/create/generators/$designsystemet.js.map +1 -0
- package/dist/src/tokens/create/generators/$metadata.d.ts +15 -0
- package/dist/src/tokens/create/generators/$metadata.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/$metadata.js +25 -0
- package/dist/src/tokens/create/generators/$metadata.js.map +1 -0
- package/dist/src/tokens/create/generators/$themes.d.ts +28 -0
- package/dist/src/tokens/create/generators/$themes.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/$themes.js +158 -0
- package/dist/src/tokens/create/generators/$themes.js.map +1 -0
- package/dist/src/tokens/create/generators/primitives/color-scheme.d.ts +9 -0
- package/dist/src/tokens/create/generators/primitives/color-scheme.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/primitives/color-scheme.js +71 -0
- package/dist/src/tokens/create/generators/primitives/color-scheme.js.map +1 -0
- package/dist/src/tokens/create/generators/primitives/globals.d.ts +7 -0
- package/dist/src/tokens/create/generators/primitives/globals.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/primitives/globals.js +144 -0
- package/dist/src/tokens/create/generators/primitives/globals.js.map +1 -0
- package/dist/src/tokens/create/generators/primitives/size.d.ts +8 -0
- package/dist/src/tokens/create/generators/primitives/size.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/primitives/size.js +149 -0
- package/dist/src/tokens/create/generators/primitives/size.js.map +1 -0
- package/dist/src/tokens/create/generators/primitives/typography.d.ts +10 -0
- package/dist/src/tokens/create/generators/primitives/typography.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/primitives/typography.js +218 -0
- package/dist/src/tokens/create/generators/primitives/typography.js.map +1 -0
- package/dist/src/tokens/create/generators/semantic/color.d.ts +7 -0
- package/dist/src/tokens/create/generators/semantic/color.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/semantic/color.js +19 -0
- package/dist/src/tokens/create/generators/semantic/color.js.map +1 -0
- package/dist/src/tokens/create/generators/semantic/style.d.ts +7 -0
- package/dist/src/tokens/create/generators/semantic/style.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/semantic/style.js +420 -0
- package/dist/src/tokens/create/generators/semantic/style.js.map +1 -0
- package/dist/src/tokens/create/generators/themes/theme.d.ts +7 -0
- package/dist/src/tokens/create/generators/themes/theme.d.ts.map +1 -0
- package/dist/src/tokens/create/generators/themes/theme.js +105 -0
- package/dist/src/tokens/create/generators/themes/theme.js.map +1 -0
- package/dist/src/tokens/create.d.ts +10 -0
- package/dist/src/tokens/create.d.ts.map +1 -0
- package/dist/src/tokens/create.js +40 -0
- package/dist/src/tokens/create.js.map +1 -0
- package/dist/src/tokens/format.d.ts +19 -0
- package/dist/src/tokens/format.d.ts.map +1 -0
- package/dist/src/tokens/format.js +42 -0
- package/dist/src/tokens/format.js.map +1 -0
- package/dist/src/tokens/generate-config.d.ts +14 -0
- package/dist/src/tokens/generate-config.d.ts.map +1 -0
- package/dist/src/tokens/generate-config.js +154 -0
- package/dist/src/tokens/generate-config.js.map +1 -0
- package/dist/src/tokens/index.d.ts +5 -0
- package/dist/src/tokens/index.js +4 -0
- package/dist/src/tokens/process/configs/color.d.ts +8 -0
- package/dist/src/tokens/process/configs/color.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/color.js +50 -0
- package/dist/src/tokens/process/configs/color.js.map +1 -0
- package/dist/src/tokens/process/configs/semantic.d.ts +7 -0
- package/dist/src/tokens/process/configs/semantic.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/semantic.js +49 -0
- package/dist/src/tokens/process/configs/semantic.js.map +1 -0
- package/dist/src/tokens/process/configs/shared.d.ts +14 -0
- package/dist/src/tokens/process/configs/shared.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/shared.js +21 -0
- package/dist/src/tokens/process/configs/shared.js.map +1 -0
- package/dist/src/tokens/process/configs/size-mode.d.ts +7 -0
- package/dist/src/tokens/process/configs/size-mode.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/size-mode.js +30 -0
- package/dist/src/tokens/process/configs/size-mode.js.map +1 -0
- package/dist/src/tokens/process/configs/size.d.ts +7 -0
- package/dist/src/tokens/process/configs/size.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/size.js +36 -0
- package/dist/src/tokens/process/configs/size.js.map +1 -0
- package/dist/src/tokens/process/configs/type-scale.d.ts +7 -0
- package/dist/src/tokens/process/configs/type-scale.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/type-scale.js +51 -0
- package/dist/src/tokens/process/configs/type-scale.js.map +1 -0
- package/dist/src/tokens/process/configs/typography.d.ts +7 -0
- package/dist/src/tokens/process/configs/typography.d.ts.map +1 -0
- package/dist/src/tokens/process/configs/typography.js +66 -0
- package/dist/src/tokens/process/configs/typography.js.map +1 -0
- package/dist/src/tokens/process/configs.d.ts +18 -0
- package/dist/src/tokens/process/configs.d.ts.map +1 -0
- package/dist/src/tokens/process/configs.js +74 -0
- package/dist/src/tokens/process/configs.js.map +1 -0
- package/dist/src/tokens/process/formats/css/color.d.ts +8 -0
- package/dist/src/tokens/process/formats/css/color.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/color.js +64 -0
- package/dist/src/tokens/process/formats/css/color.js.map +1 -0
- package/dist/src/tokens/process/formats/css/semantic.d.ts +7 -0
- package/dist/src/tokens/process/formats/css/semantic.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/semantic.js +31 -0
- package/dist/src/tokens/process/formats/css/semantic.js.map +1 -0
- package/dist/src/tokens/process/formats/css/size-mode.d.ts +7 -0
- package/dist/src/tokens/process/formats/css/size-mode.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/size-mode.js +52 -0
- package/dist/src/tokens/process/formats/css/size-mode.js.map +1 -0
- package/dist/src/tokens/process/formats/css/size.d.ts +16 -0
- package/dist/src/tokens/process/formats/css/size.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/size.js +95 -0
- package/dist/src/tokens/process/formats/css/size.js.map +1 -0
- package/dist/src/tokens/process/formats/css/type-scale.d.ts +7 -0
- package/dist/src/tokens/process/formats/css/type-scale.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/type-scale.js +57 -0
- package/dist/src/tokens/process/formats/css/type-scale.js.map +1 -0
- package/dist/src/tokens/process/formats/css/typography.d.ts +7 -0
- package/dist/src/tokens/process/formats/css/typography.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css/typography.js +31 -0
- package/dist/src/tokens/process/formats/css/typography.js.map +1 -0
- package/dist/src/tokens/process/formats/css.d.ts +15 -0
- package/dist/src/tokens/process/formats/css.d.ts.map +1 -0
- package/dist/src/tokens/process/formats/css.js +20 -0
- package/dist/src/tokens/process/formats/css.js.map +1 -0
- package/dist/src/tokens/process/output/declarations.d.ts +9 -0
- package/dist/src/tokens/process/output/declarations.d.ts.map +1 -0
- package/dist/src/tokens/process/output/declarations.js +38 -0
- package/dist/src/tokens/process/output/declarations.js.map +1 -0
- package/dist/src/tokens/process/output/tailwind.d.ts +7 -0
- package/dist/src/tokens/process/output/tailwind.d.ts.map +1 -0
- package/dist/src/tokens/process/output/tailwind.js +47 -0
- package/dist/src/tokens/process/output/tailwind.js.map +1 -0
- package/dist/src/tokens/process/output/theme.d.ts +31 -0
- package/dist/src/tokens/process/output/theme.d.ts.map +1 -0
- package/dist/src/tokens/process/output/theme.js +85 -0
- package/dist/src/tokens/process/output/theme.js.map +1 -0
- package/dist/src/tokens/process/platform.d.ts +69 -0
- package/dist/src/tokens/process/platform.d.ts.map +1 -0
- package/dist/src/tokens/process/platform.js +128 -0
- package/dist/src/tokens/process/platform.js.map +1 -0
- package/dist/src/tokens/process/transformers.d.ts +10 -0
- package/dist/src/tokens/process/transformers.d.ts.map +1 -0
- package/dist/src/tokens/process/transformers.js +56 -0
- package/dist/src/tokens/process/transformers.js.map +1 -0
- package/dist/src/tokens/process/utils/getMultidimensionalThemes.d.ts +38 -0
- package/dist/src/tokens/process/utils/getMultidimensionalThemes.d.ts.map +1 -0
- package/dist/src/tokens/process/utils/getMultidimensionalThemes.js +112 -0
- package/dist/src/tokens/process/utils/getMultidimensionalThemes.js.map +1 -0
- package/dist/src/tokens/process/utils/kebab-case.d.ts +8 -0
- package/dist/src/tokens/process/utils/kebab-case.d.ts.map +1 -0
- package/dist/src/tokens/process/utils/kebab-case.js +11 -0
- package/dist/src/tokens/process/utils/kebab-case.js.map +1 -0
- package/dist/src/tokens/types.d.ts +71 -0
- package/dist/src/tokens/types.d.ts.map +1 -0
- package/dist/src/tokens/types.js +1 -0
- package/dist/src/tokens/utils.d.ts +62 -0
- package/dist/src/tokens/utils.d.ts.map +1 -0
- package/dist/src/tokens/utils.js +123 -0
- package/dist/src/tokens/utils.js.map +1 -0
- package/dist/src/types.d.ts +1 -0
- package/dist/src/types.js +10 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils/filesystem.d.ts +47 -0
- package/dist/src/utils/filesystem.d.ts.map +1 -0
- package/dist/src/utils/filesystem.js +117 -0
- package/dist/src/utils/filesystem.js.map +1 -0
- package/package.json +87 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"outDir": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Path to the output directory for the created design tokens"
|
|
11
|
+
},
|
|
12
|
+
"themes": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"propertyNames": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"additionalProperties": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"colors": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"propertyNames": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": {
|
|
26
|
+
"description": "A hex color, which is used for creating a color scale."
|
|
27
|
+
},
|
|
28
|
+
"description": "Defines the colors for this theme"
|
|
29
|
+
},
|
|
30
|
+
"typography": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"fontFamily": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Sets the font-family for this theme"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"fontFamily"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"description": "Defines the typography for a given theme"
|
|
43
|
+
},
|
|
44
|
+
"borderRadius": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "Defines the border-radius for this theme"
|
|
47
|
+
},
|
|
48
|
+
"overrides": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"colors": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"propertyNames": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"propertyNames": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"background-default",
|
|
62
|
+
"background-tinted",
|
|
63
|
+
"surface-default",
|
|
64
|
+
"surface-tinted",
|
|
65
|
+
"surface-hover",
|
|
66
|
+
"surface-active",
|
|
67
|
+
"border-subtle",
|
|
68
|
+
"border-default",
|
|
69
|
+
"border-strong",
|
|
70
|
+
"text-subtle",
|
|
71
|
+
"text-default",
|
|
72
|
+
"base-default",
|
|
73
|
+
"base-hover",
|
|
74
|
+
"base-active",
|
|
75
|
+
"base-contrast-subtle",
|
|
76
|
+
"base-contrast-default"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"additionalProperties": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"light": {
|
|
83
|
+
"description": "A hex color that overrides light mode"
|
|
84
|
+
},
|
|
85
|
+
"dark": {
|
|
86
|
+
"description": "A hex color that overrides dark mode"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"description": "Override values for semantic color tokens like \"background-subtle\", \"border-default\", etc."
|
|
91
|
+
},
|
|
92
|
+
"description": "The name of the color to add overrides for, e.g. \"accent\""
|
|
93
|
+
},
|
|
94
|
+
"description": "An object with color names as keys"
|
|
95
|
+
},
|
|
96
|
+
"severity": {
|
|
97
|
+
"description": "An object with severity color names as keys",
|
|
98
|
+
"type": "object",
|
|
99
|
+
"propertyNames": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"info",
|
|
103
|
+
"success",
|
|
104
|
+
"warning",
|
|
105
|
+
"danger"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"additionalProperties": {
|
|
109
|
+
"description": "A hex color, which is used for creating a color scale"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"linkVisited": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"light": {
|
|
116
|
+
"description": "A hex color that overrides light mode"
|
|
117
|
+
},
|
|
118
|
+
"dark": {
|
|
119
|
+
"description": "A hex color that overrides dark mode"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"description": "Overrides for the \"link-visited\" color"
|
|
124
|
+
},
|
|
125
|
+
"focus": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"inner": {
|
|
129
|
+
"description": "Overrides for the \"focus-inner\" color",
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"light": {
|
|
133
|
+
"description": "A hex color that overrides light mode"
|
|
134
|
+
},
|
|
135
|
+
"dark": {
|
|
136
|
+
"description": "A hex color that overrides dark mode"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"additionalProperties": false
|
|
140
|
+
},
|
|
141
|
+
"outer": {
|
|
142
|
+
"description": "Overrides for the \"focus-outer\" color",
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"light": {
|
|
146
|
+
"description": "A hex color that overrides light mode"
|
|
147
|
+
},
|
|
148
|
+
"dark": {
|
|
149
|
+
"description": "A hex color that overrides dark mode"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"additionalProperties": false
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"description": "Overrides for the focus colors"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"additionalProperties": false,
|
|
160
|
+
"description": "Overrides for generated design tokens. Currently only supports colors defined in your theme"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"colors"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": false,
|
|
167
|
+
"description": "An object defining a theme. The property name holding the object becomes the theme name."
|
|
168
|
+
},
|
|
169
|
+
"description": "An object with one or more themes. Each property defines a theme, and the property name is used as the theme name."
|
|
170
|
+
},
|
|
171
|
+
"clean": {
|
|
172
|
+
"type": "boolean",
|
|
173
|
+
"description": "Delete the output directory before building or creating tokens"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"outDir",
|
|
178
|
+
"themes"
|
|
179
|
+
],
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BorderValues.js
|
|
2
|
+
var BorderValues;
|
|
3
|
+
(function(BorderValues) {
|
|
4
|
+
BorderValues["BORDER_COLOR"] = "color";
|
|
5
|
+
BorderValues["BORDER_WIDTH"] = "width";
|
|
6
|
+
BorderValues["BORDER_STYLE"] = "style";
|
|
7
|
+
})(BorderValues || (BorderValues = {}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BorderValues };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=BorderValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderValues.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BorderValues.js"],"sourcesContent":["var BorderValues;\n(function (BorderValues) {\n BorderValues[\"BORDER_COLOR\"] = \"color\";\n BorderValues[\"BORDER_WIDTH\"] = \"width\";\n BorderValues[\"BORDER_STYLE\"] = \"style\";\n})(BorderValues || (BorderValues = {}));\n\nexport { BorderValues };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,cAAc;CACrB,aAAa,kBAAkB;CAC/B,aAAa,kBAAkB;CAC/B,aAAa,kBAAkB;AACnC,EAAA,CAAG,iBAAiB,eAAe,CAAC,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowTypes.js
|
|
2
|
+
var BoxShadowTypes;
|
|
3
|
+
(function(BoxShadowTypes) {
|
|
4
|
+
BoxShadowTypes["DROP_SHADOW"] = "dropShadow";
|
|
5
|
+
BoxShadowTypes["INNER_SHADOW"] = "innerShadow";
|
|
6
|
+
})(BoxShadowTypes || (BoxShadowTypes = {}));
|
|
7
|
+
//#endregion
|
|
8
|
+
export { BoxShadowTypes };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=BoxShadowTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxShadowTypes.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowTypes.js"],"sourcesContent":["var BoxShadowTypes;\n(function (BoxShadowTypes) {\n BoxShadowTypes[\"DROP_SHADOW\"] = \"dropShadow\";\n BoxShadowTypes[\"INNER_SHADOW\"] = \"innerShadow\";\n})(BoxShadowTypes || (BoxShadowTypes = {}));\n\nexport { BoxShadowTypes };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,gBAAgB;CACvB,eAAe,iBAAiB;CAChC,eAAe,kBAAkB;AACrC,EAAA,CAAG,mBAAmB,iBAAiB,CAAC,EAAE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowValues.js
|
|
2
|
+
var BoxShadowValues;
|
|
3
|
+
(function(BoxShadowValues) {
|
|
4
|
+
BoxShadowValues["TYPE"] = "type";
|
|
5
|
+
BoxShadowValues["COLOR"] = "color";
|
|
6
|
+
BoxShadowValues["X"] = "x";
|
|
7
|
+
BoxShadowValues["Y"] = "y";
|
|
8
|
+
BoxShadowValues["BLUR"] = "blur";
|
|
9
|
+
BoxShadowValues["SPREAD"] = "spread";
|
|
10
|
+
BoxShadowValues["BLEND_MODE"] = "blendMode";
|
|
11
|
+
})(BoxShadowValues || (BoxShadowValues = {}));
|
|
12
|
+
//#endregion
|
|
13
|
+
export { BoxShadowValues };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=BoxShadowValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxShadowValues.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/BoxShadowValues.js"],"sourcesContent":["var BoxShadowValues;\n(function (BoxShadowValues) {\n BoxShadowValues[\"TYPE\"] = \"type\";\n BoxShadowValues[\"COLOR\"] = \"color\";\n BoxShadowValues[\"X\"] = \"x\";\n BoxShadowValues[\"Y\"] = \"y\";\n BoxShadowValues[\"BLUR\"] = \"blur\";\n BoxShadowValues[\"SPREAD\"] = \"spread\";\n BoxShadowValues[\"BLEND_MODE\"] = \"blendMode\";\n})(BoxShadowValues || (BoxShadowValues = {}));\n\nexport { BoxShadowValues };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,iBAAiB;CACxB,gBAAgB,UAAU;CAC1B,gBAAgB,WAAW;CAC3B,gBAAgB,OAAO;CACvB,gBAAgB,OAAO;CACvB,gBAAgB,UAAU;CAC1B,gBAAgB,YAAY;CAC5B,gBAAgB,gBAAgB;AACpC,EAAA,CAAG,oBAAoB,kBAAkB,CAAC,EAAE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorModifierTypes.js
|
|
2
|
+
var ColorModifierTypes;
|
|
3
|
+
(function(ColorModifierTypes) {
|
|
4
|
+
ColorModifierTypes["LIGHTEN"] = "lighten";
|
|
5
|
+
ColorModifierTypes["DARKEN"] = "darken";
|
|
6
|
+
ColorModifierTypes["MIX"] = "mix";
|
|
7
|
+
ColorModifierTypes["ALPHA"] = "alpha";
|
|
8
|
+
})(ColorModifierTypes || (ColorModifierTypes = {}));
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ColorModifierTypes };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=ColorModifierTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorModifierTypes.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorModifierTypes.js"],"sourcesContent":["var ColorModifierTypes;\n(function (ColorModifierTypes) {\n ColorModifierTypes[\"LIGHTEN\"] = \"lighten\";\n ColorModifierTypes[\"DARKEN\"] = \"darken\";\n ColorModifierTypes[\"MIX\"] = \"mix\";\n ColorModifierTypes[\"ALPHA\"] = \"alpha\";\n})(ColorModifierTypes || (ColorModifierTypes = {}));\n\nexport { ColorModifierTypes };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,oBAAoB;CAC3B,mBAAmB,aAAa;CAChC,mBAAmB,YAAY;CAC/B,mBAAmB,SAAS;CAC5B,mBAAmB,WAAW;AAClC,EAAA,CAAG,uBAAuB,qBAAqB,CAAC,EAAE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorSpaceTypes.js
|
|
2
|
+
var ColorSpaceTypes;
|
|
3
|
+
(function(ColorSpaceTypes) {
|
|
4
|
+
ColorSpaceTypes["LCH"] = "lch";
|
|
5
|
+
ColorSpaceTypes["SRGB"] = "srgb";
|
|
6
|
+
ColorSpaceTypes["P3"] = "p3";
|
|
7
|
+
ColorSpaceTypes["HSL"] = "hsl";
|
|
8
|
+
})(ColorSpaceTypes || (ColorSpaceTypes = {}));
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ColorSpaceTypes };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=ColorSpaceTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorSpaceTypes.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/ColorSpaceTypes.js"],"sourcesContent":["var ColorSpaceTypes;\n(function (ColorSpaceTypes) {\n ColorSpaceTypes[\"LCH\"] = \"lch\";\n ColorSpaceTypes[\"SRGB\"] = \"srgb\";\n ColorSpaceTypes[\"P3\"] = \"p3\";\n ColorSpaceTypes[\"HSL\"] = \"hsl\";\n})(ColorSpaceTypes || (ColorSpaceTypes = {}));\n\nexport { ColorSpaceTypes };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,iBAAiB;CACxB,gBAAgB,SAAS;CACzB,gBAAgB,UAAU;CAC1B,gBAAgB,QAAQ;CACxB,gBAAgB,SAAS;AAC7B,EAAA,CAAG,oBAAoB,kBAAkB,CAAC,EAAE"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/Properties.js
|
|
2
|
+
var Properties;
|
|
3
|
+
(function(Properties) {
|
|
4
|
+
Properties["sizing"] = "sizing";
|
|
5
|
+
Properties["height"] = "height";
|
|
6
|
+
Properties["width"] = "width";
|
|
7
|
+
Properties["spacing"] = "spacing";
|
|
8
|
+
Properties["verticalPadding"] = "verticalPadding";
|
|
9
|
+
Properties["horizontalPadding"] = "horizontalPadding";
|
|
10
|
+
Properties["paddingTop"] = "paddingTop";
|
|
11
|
+
Properties["paddingRight"] = "paddingRight";
|
|
12
|
+
Properties["paddingBottom"] = "paddingBottom";
|
|
13
|
+
Properties["paddingLeft"] = "paddingLeft";
|
|
14
|
+
Properties["itemSpacing"] = "itemSpacing";
|
|
15
|
+
Properties["fill"] = "fill";
|
|
16
|
+
Properties["backgroundBlur"] = "backgroundBlur";
|
|
17
|
+
Properties["border"] = "border";
|
|
18
|
+
Properties["borderTop"] = "borderTop";
|
|
19
|
+
Properties["borderRight"] = "borderRight";
|
|
20
|
+
Properties["borderBottom"] = "borderBottom";
|
|
21
|
+
Properties["borderLeft"] = "borderLeft";
|
|
22
|
+
Properties["borderColor"] = "borderColor";
|
|
23
|
+
Properties["borderRadius"] = "borderRadius";
|
|
24
|
+
Properties["borderRadiusTopLeft"] = "borderRadiusTopLeft";
|
|
25
|
+
Properties["borderRadiusTopRight"] = "borderRadiusTopRight";
|
|
26
|
+
Properties["borderRadiusBottomRight"] = "borderRadiusBottomRight";
|
|
27
|
+
Properties["borderRadiusBottomLeft"] = "borderRadiusBottomLeft";
|
|
28
|
+
Properties["borderWidth"] = "borderWidth";
|
|
29
|
+
Properties["borderWidthTop"] = "borderWidthTop";
|
|
30
|
+
Properties["borderWidthRight"] = "borderWidthRight";
|
|
31
|
+
Properties["borderWidthBottom"] = "borderWidthBottom";
|
|
32
|
+
Properties["borderWidthLeft"] = "borderWidthLeft";
|
|
33
|
+
Properties["boxShadow"] = "boxShadow";
|
|
34
|
+
Properties["opacity"] = "opacity";
|
|
35
|
+
Properties["fontFamilies"] = "fontFamilies";
|
|
36
|
+
Properties["fontWeights"] = "fontWeights";
|
|
37
|
+
Properties["fontSizes"] = "fontSizes";
|
|
38
|
+
Properties["lineHeights"] = "lineHeights";
|
|
39
|
+
Properties["typography"] = "typography";
|
|
40
|
+
Properties["composition"] = "composition";
|
|
41
|
+
Properties["letterSpacing"] = "letterSpacing";
|
|
42
|
+
Properties["paragraphSpacing"] = "paragraphSpacing";
|
|
43
|
+
Properties["textCase"] = "textCase";
|
|
44
|
+
Properties["dimension"] = "dimension";
|
|
45
|
+
Properties["textDecoration"] = "textDecoration";
|
|
46
|
+
Properties["asset"] = "asset";
|
|
47
|
+
Properties["tokenValue"] = "tokenValue";
|
|
48
|
+
Properties["value"] = "value";
|
|
49
|
+
Properties["tokenName"] = "tokenName";
|
|
50
|
+
Properties["description"] = "description";
|
|
51
|
+
})(Properties || (Properties = {}));
|
|
52
|
+
//#endregion
|
|
53
|
+
export { Properties };
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=Properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Properties.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/Properties.js"],"sourcesContent":["var Properties;\n(function (Properties) {\n Properties[\"sizing\"] = \"sizing\";\n Properties[\"height\"] = \"height\";\n Properties[\"width\"] = \"width\";\n Properties[\"spacing\"] = \"spacing\";\n Properties[\"verticalPadding\"] = \"verticalPadding\";\n Properties[\"horizontalPadding\"] = \"horizontalPadding\";\n Properties[\"paddingTop\"] = \"paddingTop\";\n Properties[\"paddingRight\"] = \"paddingRight\";\n Properties[\"paddingBottom\"] = \"paddingBottom\";\n Properties[\"paddingLeft\"] = \"paddingLeft\";\n Properties[\"itemSpacing\"] = \"itemSpacing\";\n Properties[\"fill\"] = \"fill\";\n Properties[\"backgroundBlur\"] = \"backgroundBlur\";\n Properties[\"border\"] = \"border\";\n Properties[\"borderTop\"] = \"borderTop\";\n Properties[\"borderRight\"] = \"borderRight\";\n Properties[\"borderBottom\"] = \"borderBottom\";\n Properties[\"borderLeft\"] = \"borderLeft\";\n Properties[\"borderColor\"] = \"borderColor\";\n Properties[\"borderRadius\"] = \"borderRadius\";\n Properties[\"borderRadiusTopLeft\"] = \"borderRadiusTopLeft\";\n Properties[\"borderRadiusTopRight\"] = \"borderRadiusTopRight\";\n Properties[\"borderRadiusBottomRight\"] = \"borderRadiusBottomRight\";\n Properties[\"borderRadiusBottomLeft\"] = \"borderRadiusBottomLeft\";\n Properties[\"borderWidth\"] = \"borderWidth\";\n Properties[\"borderWidthTop\"] = \"borderWidthTop\";\n Properties[\"borderWidthRight\"] = \"borderWidthRight\";\n Properties[\"borderWidthBottom\"] = \"borderWidthBottom\";\n Properties[\"borderWidthLeft\"] = \"borderWidthLeft\";\n Properties[\"boxShadow\"] = \"boxShadow\";\n Properties[\"opacity\"] = \"opacity\";\n Properties[\"fontFamilies\"] = \"fontFamilies\";\n Properties[\"fontWeights\"] = \"fontWeights\";\n Properties[\"fontSizes\"] = \"fontSizes\";\n Properties[\"lineHeights\"] = \"lineHeights\";\n Properties[\"typography\"] = \"typography\";\n Properties[\"composition\"] = \"composition\";\n Properties[\"letterSpacing\"] = \"letterSpacing\";\n Properties[\"paragraphSpacing\"] = \"paragraphSpacing\";\n Properties[\"textCase\"] = \"textCase\";\n Properties[\"dimension\"] = \"dimension\";\n Properties[\"textDecoration\"] = \"textDecoration\";\n Properties[\"asset\"] = \"asset\";\n Properties[\"tokenValue\"] = \"tokenValue\";\n Properties[\"value\"] = \"value\";\n Properties[\"tokenName\"] = \"tokenName\";\n Properties[\"description\"] = \"description\";\n})(Properties || (Properties = {}));\n\nexport { Properties };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,YAAY;CACnB,WAAW,YAAY;CACvB,WAAW,YAAY;CACvB,WAAW,WAAW;CACtB,WAAW,aAAa;CACxB,WAAW,qBAAqB;CAChC,WAAW,uBAAuB;CAClC,WAAW,gBAAgB;CAC3B,WAAW,kBAAkB;CAC7B,WAAW,mBAAmB;CAC9B,WAAW,iBAAiB;CAC5B,WAAW,iBAAiB;CAC5B,WAAW,UAAU;CACrB,WAAW,oBAAoB;CAC/B,WAAW,YAAY;CACvB,WAAW,eAAe;CAC1B,WAAW,iBAAiB;CAC5B,WAAW,kBAAkB;CAC7B,WAAW,gBAAgB;CAC3B,WAAW,iBAAiB;CAC5B,WAAW,kBAAkB;CAC7B,WAAW,yBAAyB;CACpC,WAAW,0BAA0B;CACrC,WAAW,6BAA6B;CACxC,WAAW,4BAA4B;CACvC,WAAW,iBAAiB;CAC5B,WAAW,oBAAoB;CAC/B,WAAW,sBAAsB;CACjC,WAAW,uBAAuB;CAClC,WAAW,qBAAqB;CAChC,WAAW,eAAe;CAC1B,WAAW,aAAa;CACxB,WAAW,kBAAkB;CAC7B,WAAW,iBAAiB;CAC5B,WAAW,eAAe;CAC1B,WAAW,iBAAiB;CAC5B,WAAW,gBAAgB;CAC3B,WAAW,iBAAiB;CAC5B,WAAW,mBAAmB;CAC9B,WAAW,sBAAsB;CACjC,WAAW,cAAc;CACzB,WAAW,eAAe;CAC1B,WAAW,oBAAoB;CAC/B,WAAW,WAAW;CACtB,WAAW,gBAAgB;CAC3B,WAAW,WAAW;CACtB,WAAW,eAAe;CAC1B,WAAW,iBAAiB;AAChC,EAAA,CAAG,eAAe,aAAa,CAAC,EAAE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/StrokeStyleValues.js
|
|
2
|
+
var StrokeStyleValues;
|
|
3
|
+
(function(StrokeStyleValues) {
|
|
4
|
+
StrokeStyleValues["SOLID"] = "solid";
|
|
5
|
+
StrokeStyleValues["DASHED"] = "dashed";
|
|
6
|
+
StrokeStyleValues["DOTTED"] = "dotted";
|
|
7
|
+
StrokeStyleValues["DOUBLE"] = "double";
|
|
8
|
+
StrokeStyleValues["GROOVE"] = "groove";
|
|
9
|
+
StrokeStyleValues["RIDGE"] = "ridge";
|
|
10
|
+
StrokeStyleValues["OUTSET"] = "outset";
|
|
11
|
+
StrokeStyleValues["INSET"] = "inset";
|
|
12
|
+
})(StrokeStyleValues || (StrokeStyleValues = {}));
|
|
13
|
+
//#endregion
|
|
14
|
+
export { StrokeStyleValues };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=StrokeStyleValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StrokeStyleValues.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/StrokeStyleValues.js"],"sourcesContent":["var StrokeStyleValues;\n(function (StrokeStyleValues) {\n StrokeStyleValues[\"SOLID\"] = \"solid\";\n StrokeStyleValues[\"DASHED\"] = \"dashed\";\n StrokeStyleValues[\"DOTTED\"] = \"dotted\";\n StrokeStyleValues[\"DOUBLE\"] = \"double\";\n StrokeStyleValues[\"GROOVE\"] = \"groove\";\n StrokeStyleValues[\"RIDGE\"] = \"ridge\";\n StrokeStyleValues[\"OUTSET\"] = \"outset\";\n StrokeStyleValues[\"INSET\"] = \"inset\";\n})(StrokeStyleValues || (StrokeStyleValues = {}));\n\nexport { StrokeStyleValues };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,mBAAmB;CAC1B,kBAAkB,WAAW;CAC7B,kBAAkB,YAAY;CAC9B,kBAAkB,YAAY;CAC9B,kBAAkB,YAAY;CAC9B,kBAAkB,YAAY;CAC9B,kBAAkB,WAAW;CAC7B,kBAAkB,YAAY;CAC9B,kBAAkB,WAAW;AACjC,EAAA,CAAG,sBAAsB,oBAAoB,CAAC,EAAE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.d.ts
|
|
2
|
+
declare enum TokenSetStatus {
|
|
3
|
+
DISABLED = "disabled",
|
|
4
|
+
// @README this means the token set is completely disabled
|
|
5
|
+
SOURCE = "source",
|
|
6
|
+
// @README this means the token set will be used to resolve references, but will be excluded from styles creation
|
|
7
|
+
ENABLED = "enabled"
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { TokenSetStatus };
|
|
11
|
+
//# sourceMappingURL=TokenSetStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenSetStatus.d.ts","names":["DISABLED","SOURCE","ENABLED","TokenSetStatus"],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.d.ts"],"x_google_ignoreList":[0],"mappings":";aAAoB,cAAA;EAChBA,QAAAA;EAAAA;EACAC,MAAAA;EAAAA;EACAC,OAAAA;AAAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.js
|
|
2
|
+
var TokenSetStatus;
|
|
3
|
+
(function(TokenSetStatus) {
|
|
4
|
+
TokenSetStatus["DISABLED"] = "disabled";
|
|
5
|
+
TokenSetStatus["SOURCE"] = "source";
|
|
6
|
+
TokenSetStatus["ENABLED"] = "enabled";
|
|
7
|
+
})(TokenSetStatus || (TokenSetStatus = {}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export { TokenSetStatus };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=TokenSetStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenSetStatus.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenSetStatus.js"],"sourcesContent":["var TokenSetStatus;\n(function (TokenSetStatus) {\n TokenSetStatus[\"DISABLED\"] = \"disabled\";\n TokenSetStatus[\"SOURCE\"] = \"source\";\n TokenSetStatus[\"ENABLED\"] = \"enabled\";\n})(TokenSetStatus || (TokenSetStatus = {}));\n\nexport { TokenSetStatus };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,gBAAgB;CACvB,eAAe,cAAc;CAC7B,eAAe,YAAY;CAC3B,eAAe,aAAa;AAChC,EAAA,CAAG,mBAAmB,iBAAiB,CAAC,EAAE"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenTypes.js
|
|
2
|
+
var TokenTypes;
|
|
3
|
+
(function(TokenTypes) {
|
|
4
|
+
TokenTypes["OTHER"] = "other";
|
|
5
|
+
TokenTypes["COLOR"] = "color";
|
|
6
|
+
TokenTypes["BORDER_RADIUS"] = "borderRadius";
|
|
7
|
+
TokenTypes["SIZING"] = "sizing";
|
|
8
|
+
TokenTypes["SPACING"] = "spacing";
|
|
9
|
+
TokenTypes["TEXT"] = "text";
|
|
10
|
+
TokenTypes["TYPOGRAPHY"] = "typography";
|
|
11
|
+
TokenTypes["OPACITY"] = "opacity";
|
|
12
|
+
TokenTypes["BORDER_WIDTH"] = "borderWidth";
|
|
13
|
+
TokenTypes["STROKE_STYLE"] = "strokeStyle";
|
|
14
|
+
TokenTypes["BOX_SHADOW"] = "boxShadow";
|
|
15
|
+
TokenTypes["FONT_FAMILIES"] = "fontFamilies";
|
|
16
|
+
TokenTypes["FONT_WEIGHTS"] = "fontWeights";
|
|
17
|
+
TokenTypes["LINE_HEIGHTS"] = "lineHeights";
|
|
18
|
+
TokenTypes["FONT_SIZES"] = "fontSizes";
|
|
19
|
+
TokenTypes["LETTER_SPACING"] = "letterSpacing";
|
|
20
|
+
TokenTypes["PARAGRAPH_SPACING"] = "paragraphSpacing";
|
|
21
|
+
TokenTypes["PARAGRAPH_INDENT"] = "paragraphIndent";
|
|
22
|
+
TokenTypes["TEXT_DECORATION"] = "textDecoration";
|
|
23
|
+
TokenTypes["TEXT_CASE"] = "textCase";
|
|
24
|
+
TokenTypes["COMPOSITION"] = "composition";
|
|
25
|
+
TokenTypes["DIMENSION"] = "dimension";
|
|
26
|
+
TokenTypes["BORDER"] = "border";
|
|
27
|
+
TokenTypes["ASSET"] = "asset";
|
|
28
|
+
TokenTypes["BOOLEAN"] = "boolean";
|
|
29
|
+
TokenTypes["NUMBER"] = "number";
|
|
30
|
+
})(TokenTypes || (TokenTypes = {}));
|
|
31
|
+
//#endregion
|
|
32
|
+
export { TokenTypes };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=TokenTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenTypes.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TokenTypes.js"],"sourcesContent":["var TokenTypes;\n(function (TokenTypes) {\n TokenTypes[\"OTHER\"] = \"other\";\n TokenTypes[\"COLOR\"] = \"color\";\n TokenTypes[\"BORDER_RADIUS\"] = \"borderRadius\";\n TokenTypes[\"SIZING\"] = \"sizing\";\n TokenTypes[\"SPACING\"] = \"spacing\";\n TokenTypes[\"TEXT\"] = \"text\";\n TokenTypes[\"TYPOGRAPHY\"] = \"typography\";\n TokenTypes[\"OPACITY\"] = \"opacity\";\n TokenTypes[\"BORDER_WIDTH\"] = \"borderWidth\";\n TokenTypes[\"STROKE_STYLE\"] = \"strokeStyle\";\n TokenTypes[\"BOX_SHADOW\"] = \"boxShadow\";\n TokenTypes[\"FONT_FAMILIES\"] = \"fontFamilies\";\n TokenTypes[\"FONT_WEIGHTS\"] = \"fontWeights\";\n TokenTypes[\"LINE_HEIGHTS\"] = \"lineHeights\";\n TokenTypes[\"FONT_SIZES\"] = \"fontSizes\";\n TokenTypes[\"LETTER_SPACING\"] = \"letterSpacing\";\n TokenTypes[\"PARAGRAPH_SPACING\"] = \"paragraphSpacing\";\n TokenTypes[\"PARAGRAPH_INDENT\"] = \"paragraphIndent\";\n TokenTypes[\"TEXT_DECORATION\"] = \"textDecoration\";\n TokenTypes[\"TEXT_CASE\"] = \"textCase\";\n TokenTypes[\"COMPOSITION\"] = \"composition\";\n TokenTypes[\"DIMENSION\"] = \"dimension\";\n TokenTypes[\"BORDER\"] = \"border\";\n TokenTypes[\"ASSET\"] = \"asset\";\n TokenTypes[\"BOOLEAN\"] = \"boolean\";\n TokenTypes[\"NUMBER\"] = \"number\";\n})(TokenTypes || (TokenTypes = {}));\n\nexport { TokenTypes };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,YAAY;CACnB,WAAW,WAAW;CACtB,WAAW,WAAW;CACtB,WAAW,mBAAmB;CAC9B,WAAW,YAAY;CACvB,WAAW,aAAa;CACxB,WAAW,UAAU;CACrB,WAAW,gBAAgB;CAC3B,WAAW,aAAa;CACxB,WAAW,kBAAkB;CAC7B,WAAW,kBAAkB;CAC7B,WAAW,gBAAgB;CAC3B,WAAW,mBAAmB;CAC9B,WAAW,kBAAkB;CAC7B,WAAW,kBAAkB;CAC7B,WAAW,gBAAgB;CAC3B,WAAW,oBAAoB;CAC/B,WAAW,uBAAuB;CAClC,WAAW,sBAAsB;CACjC,WAAW,qBAAqB;CAChC,WAAW,eAAe;CAC1B,WAAW,iBAAiB;CAC5B,WAAW,eAAe;CAC1B,WAAW,YAAY;CACvB,WAAW,WAAW;CACtB,WAAW,aAAa;CACxB,WAAW,YAAY;AAC3B,EAAA,CAAG,eAAe,aAAa,CAAC,EAAE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TypographyValues.js
|
|
2
|
+
var TypographyValues;
|
|
3
|
+
(function(TypographyValues) {
|
|
4
|
+
TypographyValues["FONT_FAMILY"] = "fontFamily";
|
|
5
|
+
TypographyValues["FONT_WEIGHT"] = "fontWeight";
|
|
6
|
+
TypographyValues["LINE_HEIGHT"] = "lineHeight";
|
|
7
|
+
TypographyValues["FONT_SIZE"] = "fontSize";
|
|
8
|
+
TypographyValues["LETTER_SPACING"] = "letterSpacing";
|
|
9
|
+
TypographyValues["PARAGRAPH_SPACING"] = "paragraphSpacing";
|
|
10
|
+
TypographyValues["PARAGRAPH_INDENT"] = "paragraphIndent";
|
|
11
|
+
TypographyValues["TEXT_DECORATION"] = "textDecoration";
|
|
12
|
+
TypographyValues["TEXT_CASE"] = "textCase";
|
|
13
|
+
})(TypographyValues || (TypographyValues = {}));
|
|
14
|
+
//#endregion
|
|
15
|
+
export { TypographyValues };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=TypographyValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyValues.js","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/constants/TypographyValues.js"],"sourcesContent":["var TypographyValues;\n(function (TypographyValues) {\n TypographyValues[\"FONT_FAMILY\"] = \"fontFamily\";\n TypographyValues[\"FONT_WEIGHT\"] = \"fontWeight\";\n TypographyValues[\"LINE_HEIGHT\"] = \"lineHeight\";\n TypographyValues[\"FONT_SIZE\"] = \"fontSize\";\n TypographyValues[\"LETTER_SPACING\"] = \"letterSpacing\";\n TypographyValues[\"PARAGRAPH_SPACING\"] = \"paragraphSpacing\";\n TypographyValues[\"PARAGRAPH_INDENT\"] = \"paragraphIndent\";\n TypographyValues[\"TEXT_DECORATION\"] = \"textDecoration\";\n TypographyValues[\"TEXT_CASE\"] = \"textCase\";\n})(TypographyValues || (TypographyValues = {}));\n\nexport { TypographyValues };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;CACH,SAAU,kBAAkB;CACzB,iBAAiB,iBAAiB;CAClC,iBAAiB,iBAAiB;CAClC,iBAAiB,iBAAiB;CAClC,iBAAiB,eAAe;CAChC,iBAAiB,oBAAoB;CACrC,iBAAiB,uBAAuB;CACxC,iBAAiB,sBAAsB;CACvC,iBAAiB,qBAAqB;CACtC,iBAAiB,eAAe;AACpC,EAAA,CAAG,qBAAqB,mBAAmB,CAAC,EAAE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TokenSetStatus } from "../constants/TokenSetStatus.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/types/ThemeObject.d.ts
|
|
4
|
+
type ThemeObject = {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
group?: string;
|
|
8
|
+
selectedTokenSets: Record<string, TokenSetStatus>;
|
|
9
|
+
$figmaStyleReferences?: Record<string, string>;
|
|
10
|
+
$figmaVariableReferences?: Record<string, string>;
|
|
11
|
+
$figmaCollectionId?: string;
|
|
12
|
+
$figmaModeId?: string;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ThemeObject };
|
|
16
|
+
//# sourceMappingURL=ThemeObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeObject.d.ts","names":["id","name","group","selectedTokenSets","Record","TokenSetStatus","$figmaStyleReferences","$figmaVariableReferences","$figmaCollectionId","$figmaModeId"],"sources":["../../../../../../../../../../../node_modules/.pnpm/@tokens-studio+types@0.5.2/node_modules/@tokens-studio/types/dist/types/ThemeObject.d.ts"],"x_google_ignoreList":[0],"mappings":";;;KACY,WAAA;EACRA,EAAAA;EACAC,IAAAA;EACAC,KAAAA;EACAC,iBAAAA,EAAmB,MAAA,SAAe,cAAA;EAClCG,qBAAAA,GAAwB,MAAA;EACxBC,wBAAAA,GAA2B,MAAA;EAC3BC,kBAAAA;EACAC,YAAAA;AAAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../constants/BoxShadowTypes.js";
|
|
2
|
+
import "../constants/ColorModifierTypes.js";
|
|
3
|
+
import "../constants/ColorSpaceTypes.js";
|
|
4
|
+
import "../constants/Properties.js";
|
|
5
|
+
import "../constants/TokenSetStatus.js";
|
|
6
|
+
import "../constants/TokenTypes.js";
|
|
7
|
+
import "../constants/BorderValues.js";
|
|
8
|
+
import "../constants/StrokeStyleValues.js";
|
|
9
|
+
import "../constants/BoxShadowValues.js";
|
|
10
|
+
import "../constants/TypographyValues.js";
|
|
11
|
+
export {};
|
package/dist/package.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automigrate.d.ts","names":[],"sources":["../../src/automigrate.ts"],"mappings":";cAKa,gBAAA,GAA0B,UAAA,UAAoB,cAAA,UAAwB,GAAA,cAAY,OAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { dsfs } from "./utils/filesystem.js";
|
|
2
|
+
import { automigrations } from "./migrations/index.js";
|
|
3
|
+
import pc from "picocolors";
|
|
4
|
+
import confirm from "@inquirer/confirm";
|
|
5
|
+
//#region src/automigrate.ts
|
|
6
|
+
const checkAutomigrate = async (configFile, configFilePath, yes) => {
|
|
7
|
+
if (!configFile) return null;
|
|
8
|
+
let migratedConfigFile = null;
|
|
9
|
+
const eligibleMigrations = Object.values(automigrations).filter((migration) => {
|
|
10
|
+
try {
|
|
11
|
+
return migration.check(configFile);
|
|
12
|
+
} catch {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
if (eligibleMigrations.length === 0) return null;
|
|
17
|
+
for (const migration of eligibleMigrations) {
|
|
18
|
+
console.log(pc.red(`\n ✋ Automigration detected \n`));
|
|
19
|
+
console.log(pc.yellow(`Config file ${pc.blue(configFilePath)} is eligible for migration: ${pc.blue(migration.name)}\n`));
|
|
20
|
+
console.log(`${migration.message}`);
|
|
21
|
+
let answer = true;
|
|
22
|
+
if (!yes) answer = await confirm({ message: `Do you want to migrate?` });
|
|
23
|
+
else console.log(pc.green(`Auto-confirming migration with --yes flag`));
|
|
24
|
+
if (!answer) migratedConfigFile = migration.no(migratedConfigFile ?? configFile);
|
|
25
|
+
else {
|
|
26
|
+
migratedConfigFile = migration.yes(migratedConfigFile ?? configFile);
|
|
27
|
+
await dsfs.writeFile(configFilePath, migratedConfigFile);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return migratedConfigFile;
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { checkAutomigrate };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=automigrate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automigrate.js","names":[],"sources":["../../src/automigrate.ts"],"sourcesContent":["import confirm from '@inquirer/confirm';\nimport pc from 'picocolors';\nimport { automigrations } from './migrations/index.ts';\nimport { dsfs } from './utils/filesystem.ts';\n\nexport const checkAutomigrate = async (configFile: string, configFilePath: string, yes: boolean) => {\n if (!configFile) {\n return null;\n }\n let migratedConfigFile = null;\n const eligibleMigrations = Object.values(automigrations).filter((migration) => {\n try {\n return migration.check(configFile);\n } catch {\n return false;\n }\n });\n if (eligibleMigrations.length === 0) {\n return null;\n }\n\n for (const migration of eligibleMigrations) {\n console.log(pc.red(`\\n ✋ Automigration detected \\n`));\n console.log(\n pc.yellow(`Config file ${pc.blue(configFilePath)} is eligible for migration: ${pc.blue(migration.name)}\\n`),\n );\n console.log(`${migration.message}`);\n let answer = true;\n\n if (!yes) {\n answer = await confirm({\n message: `Do you want to migrate?`,\n });\n } else {\n console.log(pc.green(`Auto-confirming migration with --yes flag`));\n }\n\n if (!answer) {\n migratedConfigFile = migration.no(migratedConfigFile ?? configFile);\n } else {\n migratedConfigFile = migration.yes(migratedConfigFile ?? configFile);\n await dsfs.writeFile(configFilePath, migratedConfigFile);\n }\n }\n return migratedConfigFile;\n};\n"],"mappings":";;;;;AAKA,MAAa,mBAAmB,OAAO,YAAoB,gBAAwB,QAAiB;CAClG,IAAI,CAAC,YACH,OAAO;CAET,IAAI,qBAAqB;CACzB,MAAM,qBAAqB,OAAO,OAAO,cAAc,CAAC,CAAC,QAAQ,cAAc;EAC7E,IAAI;GACF,OAAO,UAAU,MAAM,UAAU;EACnC,QAAQ;GACN,OAAO;EACT;CACF,CAAC;CACD,IAAI,mBAAmB,WAAW,GAChC,OAAO;CAGT,KAAK,MAAM,aAAa,oBAAoB;EAC1C,QAAQ,IAAI,GAAG,IAAI,gCAAgC,CAAC;EACpD,QAAQ,IACN,GAAG,OAAO,eAAe,GAAG,KAAK,cAAc,EAAE,8BAA8B,GAAG,KAAK,UAAU,IAAI,EAAE,GAAG,CAC5G;EACA,QAAQ,IAAI,GAAG,UAAU,SAAS;EAClC,IAAI,SAAS;EAEb,IAAI,CAAC,KACH,SAAS,MAAM,QAAQ,EACrB,SAAS,0BACX,CAAC;OAED,QAAQ,IAAI,GAAG,MAAM,2CAA2C,CAAC;EAGnE,IAAI,CAAC,QACH,qBAAqB,UAAU,GAAG,sBAAsB,UAAU;OAC7D;GACL,qBAAqB,UAAU,IAAI,sBAAsB,UAAU;GACnE,MAAM,KAAK,UAAU,gBAAgB,kBAAkB;EACzD;CACF;CACA,OAAO;AACT"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ColorMetadata, ColorMetadataByName, ColorNumber, CssColor, GlobalColors } from "./types.js";
|
|
2
|
+
|
|
3
|
+
//#region src/colors/colorMetadata.d.ts
|
|
4
|
+
declare const baseColors: Record<GlobalColors, CssColor>;
|
|
5
|
+
declare const dsLinkColor = "#663299";
|
|
6
|
+
declare const colorMetadata: ColorMetadataByName;
|
|
7
|
+
declare const getColorMetadataByNumber: (number: ColorNumber) => ({
|
|
8
|
+
name: "background-default";
|
|
9
|
+
number: 1;
|
|
10
|
+
} & ColorMetadata) | ({
|
|
11
|
+
name: "background-tinted";
|
|
12
|
+
number: 2;
|
|
13
|
+
} & ColorMetadata) | ({
|
|
14
|
+
name: "surface-default";
|
|
15
|
+
number: 3;
|
|
16
|
+
} & ColorMetadata) | ({
|
|
17
|
+
name: "surface-tinted";
|
|
18
|
+
number: 4;
|
|
19
|
+
} & ColorMetadata) | ({
|
|
20
|
+
name: "surface-hover";
|
|
21
|
+
number: 5;
|
|
22
|
+
} & ColorMetadata) | ({
|
|
23
|
+
name: "surface-active";
|
|
24
|
+
number: 6;
|
|
25
|
+
} & ColorMetadata) | ({
|
|
26
|
+
name: "border-subtle";
|
|
27
|
+
number: 7;
|
|
28
|
+
} & ColorMetadata) | ({
|
|
29
|
+
name: "border-default";
|
|
30
|
+
number: 8;
|
|
31
|
+
} & ColorMetadata) | ({
|
|
32
|
+
name: "border-strong";
|
|
33
|
+
number: 9;
|
|
34
|
+
} & ColorMetadata) | ({
|
|
35
|
+
name: "text-subtle";
|
|
36
|
+
number: 10;
|
|
37
|
+
} & ColorMetadata) | ({
|
|
38
|
+
name: "text-default";
|
|
39
|
+
number: 11;
|
|
40
|
+
} & ColorMetadata) | ({
|
|
41
|
+
name: "base-default";
|
|
42
|
+
number: 12;
|
|
43
|
+
} & ColorMetadata) | ({
|
|
44
|
+
name: "base-hover";
|
|
45
|
+
number: 13;
|
|
46
|
+
} & ColorMetadata) | ({
|
|
47
|
+
name: "base-active";
|
|
48
|
+
number: 14;
|
|
49
|
+
} & ColorMetadata) | ({
|
|
50
|
+
name: "base-contrast-subtle";
|
|
51
|
+
number: 15;
|
|
52
|
+
} & ColorMetadata) | ({
|
|
53
|
+
name: "base-contrast-default";
|
|
54
|
+
number: 16;
|
|
55
|
+
} & ColorMetadata);
|
|
56
|
+
declare const colorNames: Array<keyof typeof colorMetadata>;
|
|
57
|
+
declare const baseColorNames: Array<keyof typeof baseColors>;
|
|
58
|
+
//#endregion
|
|
59
|
+
export { baseColorNames, baseColors, colorMetadata, colorNames, dsLinkColor, getColorMetadataByNumber };
|
|
60
|
+
//# sourceMappingURL=colorMetadata.d.ts.map
|