argot-css 0.0.0-stage → 0.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/LICENSE.md +20 -0
- package/README.md +38 -2
- package/bin/argot.js +4 -0
- package/dist/cli/ansiColors.d.ts +7 -0
- package/dist/cli/ansiColors.js +8 -0
- package/dist/cli/ansiColors.js.map +1 -0
- package/dist/cli/getConfig.d.ts +11 -0
- package/dist/cli/getConfig.js +37 -0
- package/dist/cli/getConfig.js.map +1 -0
- package/dist/cli/print.d.ts +2 -0
- package/dist/cli/print.js +13 -0
- package/dist/cli/print.js.map +1 -0
- package/dist/cli/run.d.ts +2 -0
- package/dist/cli/run.js +47 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/usage.d.ts +2 -0
- package/dist/cli/usage.js +20 -0
- package/dist/cli/usage.js.map +1 -0
- package/dist/config/getConfig.d.ts +1 -0
- package/dist/config/getConfig.js +38 -0
- package/dist/config/getConfig.js.map +1 -0
- package/dist/config/types.d.ts +31 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/util.d.ts +2 -0
- package/dist/config/util.js +4 -0
- package/dist/config/util.js.map +1 -0
- package/dist/io/safeWrite.d.ts +24 -0
- package/dist/io/safeWrite.js +50 -0
- package/dist/io/safeWrite.js.map +1 -0
- package/dist/lib/writeOutput.d.ts +32 -0
- package/dist/lib/writeOutput.js +88 -0
- package/dist/lib/writeOutput.js.map +1 -0
- package/dist/palette/cli.d.ts +3 -0
- package/dist/palette/cli.js +44 -0
- package/dist/palette/cli.js.map +1 -0
- package/dist/palette/generateName.d.ts +3 -0
- package/dist/palette/generateName.js +65 -0
- package/dist/palette/generateName.js.map +1 -0
- package/dist/palette/generatePalette.d.ts +8 -0
- package/dist/palette/generatePalette.js +96 -0
- package/dist/palette/generatePalette.js.map +1 -0
- package/dist/palette/index.d.ts +6 -0
- package/dist/palette/index.js +6 -0
- package/dist/palette/index.js.map +1 -0
- package/dist/palette/node.d.ts +20 -0
- package/dist/palette/node.js +43 -0
- package/dist/palette/node.js.map +1 -0
- package/dist/palette/parseCssColor.d.ts +7 -0
- package/dist/palette/parseCssColor.js +41 -0
- package/dist/palette/parseCssColor.js.map +1 -0
- package/dist/palette/render.d.ts +9 -0
- package/dist/palette/render.js +52 -0
- package/dist/palette/render.js.map +1 -0
- package/dist/palette/types.d.ts +57 -0
- package/dist/palette/types.js +27 -0
- package/dist/palette/types.js.map +1 -0
- package/dist/palette/validation.d.ts +12 -0
- package/dist/palette/validation.js +122 -0
- package/dist/palette/validation.js.map +1 -0
- package/dist/processor/atImport.d.ts +4 -0
- package/dist/processor/atImport.js +149 -0
- package/dist/processor/atImport.js.map +1 -0
- package/dist/processor/cli.d.ts +2 -0
- package/dist/processor/cli.js +45 -0
- package/dist/processor/cli.js.map +1 -0
- package/dist/processor/index.d.ts +8 -0
- package/dist/processor/index.js +70 -0
- package/dist/processor/index.js.map +1 -0
- package/dist/processor/parseImportParams.d.ts +19 -0
- package/dist/processor/parseImportParams.js +139 -0
- package/dist/processor/parseImportParams.js.map +1 -0
- package/dist/processor/stylelintDefault.d.ts +8 -0
- package/dist/processor/stylelintDefault.js +10 -0
- package/dist/processor/stylelintDefault.js.map +1 -0
- package/dist/scaffold/cli.d.ts +3 -0
- package/dist/scaffold/cli.js +32 -0
- package/dist/scaffold/cli.js.map +1 -0
- package/dist/scaffold/templates.d.ts +6 -0
- package/dist/scaffold/templates.js +57 -0
- package/dist/scaffold/templates.js.map +1 -0
- package/dist/scaffold/writeScaffold.d.ts +12 -0
- package/dist/scaffold/writeScaffold.js +49 -0
- package/dist/scaffold/writeScaffold.js.map +1 -0
- package/dist/semantics/cli.d.ts +3 -0
- package/dist/semantics/cli.js +41 -0
- package/dist/semantics/cli.js.map +1 -0
- package/dist/semantics/generate.d.ts +23 -0
- package/dist/semantics/generate.js +50 -0
- package/dist/semantics/generate.js.map +1 -0
- package/dist/semantics/load-tokens.d.ts +29 -0
- package/dist/semantics/load-tokens.js +74 -0
- package/dist/semantics/load-tokens.js.map +1 -0
- package/dist/semantics/token-index.d.ts +14 -0
- package/dist/semantics/token-index.js +30 -0
- package/dist/semantics/token-index.js.map +1 -0
- package/dist/stylelint/config.d.ts +16 -0
- package/dist/stylelint/config.js +17 -0
- package/dist/stylelint/config.js.map +1 -0
- package/dist/stylelint/index.d.ts +3 -0
- package/dist/stylelint/index.js +4 -0
- package/dist/stylelint/index.js.map +1 -0
- package/dist/stylelint/rules/colorContrast.d.ts +4 -0
- package/dist/stylelint/rules/colorContrast.js +91 -0
- package/dist/stylelint/rules/colorContrast.js.map +1 -0
- package/dist/stylelint/rules/util.d.ts +13 -0
- package/dist/stylelint/rules/util.js +66 -0
- package/dist/stylelint/rules/util.js.map +1 -0
- package/dist/stylelint/rules/valid-token.d.ts +3 -0
- package/dist/stylelint/rules/valid-token.js +32 -0
- package/dist/stylelint/rules/valid-token.js.map +1 -0
- package/package.json +114 -4
- package/templates/base.css +53 -0
- package/templates/modules/index.css +0 -0
- package/templates/semantics-core.css +94 -0
- package/templates/semantics-extended.css +115 -0
- package/templates/styles.css +8 -0
- package/tokens/borders.json +37 -0
- package/tokens/color-bg.json +104 -0
- package/tokens/color-border.json +59 -0
- package/tokens/color-chart.json +40 -0
- package/tokens/color-icon.json +53 -0
- package/tokens/color-text.json +107 -0
- package/tokens/layout.json +66 -0
- package/tokens/misc.json +16 -0
- package/tokens/motion.json +40 -0
- package/tokens/spacing.json +41 -0
- package/tokens/typography.json +107 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bg": {
|
|
3
|
+
"body": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Page or application canvas behind main content.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "html/body background"
|
|
9
|
+
},
|
|
10
|
+
"main": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Primary content surface.",
|
|
14
|
+
"tier": "core",
|
|
15
|
+
"usage": "main column, article, panel",
|
|
16
|
+
"pairsWith": ["text-primary", "text-secondary", "text-interactive"]
|
|
17
|
+
},
|
|
18
|
+
"inset": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "",
|
|
21
|
+
"$description": "Recessed surface below the main background.",
|
|
22
|
+
"tier": "core",
|
|
23
|
+
"usage": "asides, wells, form fields, inputs",
|
|
24
|
+
"pairsWith": ["text-primary", "border-color"]
|
|
25
|
+
},
|
|
26
|
+
"raised": {
|
|
27
|
+
"$type": "color",
|
|
28
|
+
"$value": "",
|
|
29
|
+
"$description": "Surface elevated above the main background.",
|
|
30
|
+
"tier": "core",
|
|
31
|
+
"usage": "cards, menus, dropdowns, raised panels",
|
|
32
|
+
"pairsWith": ["text-primary", "border-color"]
|
|
33
|
+
},
|
|
34
|
+
"inset-strong": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": "",
|
|
37
|
+
"$description": "Deeper inset than inset when two recessed levels are needed.",
|
|
38
|
+
"tier": "extended"
|
|
39
|
+
},
|
|
40
|
+
"raised-strong": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "",
|
|
43
|
+
"$description": "Stronger elevation than raised when two raised levels are needed.",
|
|
44
|
+
"tier": "extended"
|
|
45
|
+
},
|
|
46
|
+
"brand": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": "",
|
|
49
|
+
"$description": "Background filled with the primary brand color.",
|
|
50
|
+
"tier": "core",
|
|
51
|
+
"pairsWith": ["text-inverse", "text-brand"],
|
|
52
|
+
"usage": "call-to-action buttons"
|
|
53
|
+
},
|
|
54
|
+
"brand-secondary": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "",
|
|
57
|
+
"$description": "Background filled with a secondary brand color.",
|
|
58
|
+
"tier": "core"
|
|
59
|
+
},
|
|
60
|
+
"success": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "",
|
|
63
|
+
"$description": "Background for success state regions.",
|
|
64
|
+
"tier": "core",
|
|
65
|
+
"usage": "banners, badges",
|
|
66
|
+
"pairsWith": ["text-success", "border-success"]
|
|
67
|
+
},
|
|
68
|
+
"warning": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "",
|
|
71
|
+
"$description": "Background for warning state regions.",
|
|
72
|
+
"tier": "core",
|
|
73
|
+
"pairsWith": ["text-warning", "border-warning"]
|
|
74
|
+
},
|
|
75
|
+
"danger": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "",
|
|
78
|
+
"$description": "Background for danger/error state regions.",
|
|
79
|
+
"tier": "core",
|
|
80
|
+
"pairsWith": ["text-danger", "border-danger"]
|
|
81
|
+
},
|
|
82
|
+
"info": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "",
|
|
85
|
+
"$description": "Background for informational state regions.",
|
|
86
|
+
"tier": "core",
|
|
87
|
+
"pairsWith": ["text-info", "border-info"]
|
|
88
|
+
},
|
|
89
|
+
"disabled": {
|
|
90
|
+
"$type": "color",
|
|
91
|
+
"$value": "",
|
|
92
|
+
"$description": "Background for disabled controls or inert regions.",
|
|
93
|
+
"tier": "core",
|
|
94
|
+
"pairsWith": ["text-disabled"]
|
|
95
|
+
},
|
|
96
|
+
"inverse": {
|
|
97
|
+
"$type": "color",
|
|
98
|
+
"$value": "",
|
|
99
|
+
"$description": "Contrasting surface inverted from the current theme (e.g. dark on light themes).",
|
|
100
|
+
"tier": "core",
|
|
101
|
+
"pairsWith": ["text-inverse"]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"border": {
|
|
3
|
+
"color": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Default border and divider color.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "cards, inputs, separators",
|
|
9
|
+
"related": ["bg-main", "bg-raised", "bg-inset"]
|
|
10
|
+
},
|
|
11
|
+
"color-subtle": {
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$value": "",
|
|
14
|
+
"$description": "Quieter border for low-emphasis dividers.",
|
|
15
|
+
"tier": "core",
|
|
16
|
+
"related": ["bg-main", "bg-raised", "bg-inset"]
|
|
17
|
+
},
|
|
18
|
+
"brand": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "",
|
|
21
|
+
"$description": "Border accent using the primary brand color.",
|
|
22
|
+
"tier": "core"
|
|
23
|
+
},
|
|
24
|
+
"brand-secondary": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "",
|
|
27
|
+
"$description": "Border accent using a secondary brand color.",
|
|
28
|
+
"tier": "core"
|
|
29
|
+
},
|
|
30
|
+
"success": {
|
|
31
|
+
"$type": "color",
|
|
32
|
+
"$value": "",
|
|
33
|
+
"$description": "Border for success state outlines.",
|
|
34
|
+
"tier": "core",
|
|
35
|
+
"related": ["bg-success", "text-success"]
|
|
36
|
+
},
|
|
37
|
+
"warning": {
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"$value": "",
|
|
40
|
+
"$description": "Border for warning state outlines.",
|
|
41
|
+
"tier": "core",
|
|
42
|
+
"related": ["bg-warning", "text-warning"]
|
|
43
|
+
},
|
|
44
|
+
"danger": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "",
|
|
47
|
+
"$description": "Border for danger/error state outlines.",
|
|
48
|
+
"tier": "core",
|
|
49
|
+
"related": ["bg-danger", "text-danger"]
|
|
50
|
+
},
|
|
51
|
+
"info": {
|
|
52
|
+
"$type": "color",
|
|
53
|
+
"$value": "",
|
|
54
|
+
"$description": "Border for informational state outlines.",
|
|
55
|
+
"tier": "core",
|
|
56
|
+
"related": ["bg-info", "text-info"]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": {
|
|
3
|
+
"color-1": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "First chart series color.",
|
|
7
|
+
"tier": "extended"
|
|
8
|
+
},
|
|
9
|
+
"color-2": {
|
|
10
|
+
"$type": "color",
|
|
11
|
+
"$value": "",
|
|
12
|
+
"$description": "Second chart series color.",
|
|
13
|
+
"tier": "extended"
|
|
14
|
+
},
|
|
15
|
+
"color-3": {
|
|
16
|
+
"$type": "color",
|
|
17
|
+
"$value": "",
|
|
18
|
+
"$description": "Third chart series color.",
|
|
19
|
+
"tier": "extended"
|
|
20
|
+
},
|
|
21
|
+
"color-4": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "",
|
|
24
|
+
"$description": "Fourth chart series color.",
|
|
25
|
+
"tier": "extended"
|
|
26
|
+
},
|
|
27
|
+
"color-5": {
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"$value": "",
|
|
30
|
+
"$description": "Fifth chart series color.",
|
|
31
|
+
"tier": "extended"
|
|
32
|
+
},
|
|
33
|
+
"color-6": {
|
|
34
|
+
"$type": "color",
|
|
35
|
+
"$value": "",
|
|
36
|
+
"$description": "Sixth chart series color.",
|
|
37
|
+
"tier": "extended"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"icon": {
|
|
3
|
+
"primary": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Default icon color.",
|
|
7
|
+
"tier": "extended",
|
|
8
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"]
|
|
9
|
+
},
|
|
10
|
+
"success": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Icon color for success status.",
|
|
14
|
+
"tier": "extended",
|
|
15
|
+
"pairsWith": ["bg-success"]
|
|
16
|
+
},
|
|
17
|
+
"warning": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": "",
|
|
20
|
+
"$description": "Icon color for warning status.",
|
|
21
|
+
"tier": "extended",
|
|
22
|
+
"pairsWith": ["bg-warning"]
|
|
23
|
+
},
|
|
24
|
+
"danger": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "",
|
|
27
|
+
"$description": "Icon color for danger/error status.",
|
|
28
|
+
"tier": "extended",
|
|
29
|
+
"pairsWith": ["bg-danger"]
|
|
30
|
+
},
|
|
31
|
+
"info": {
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$value": "",
|
|
34
|
+
"$description": "Icon color for informational status.",
|
|
35
|
+
"tier": "extended",
|
|
36
|
+
"pairsWith": ["bg-info"]
|
|
37
|
+
},
|
|
38
|
+
"disabled": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "",
|
|
41
|
+
"$description": "Icon color when the control is disabled.",
|
|
42
|
+
"tier": "extended",
|
|
43
|
+
"pairsWith": ["bg-disabled"]
|
|
44
|
+
},
|
|
45
|
+
"inverse": {
|
|
46
|
+
"$type": "color",
|
|
47
|
+
"$value": "",
|
|
48
|
+
"$description": "Icon color on inverse or brand-filled surfaces.",
|
|
49
|
+
"tier": "extended",
|
|
50
|
+
"pairsWith": ["bg-inverse"]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"text": {
|
|
3
|
+
"primary": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Main body and default copy text.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "body, headings by default",
|
|
9
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"]
|
|
10
|
+
},
|
|
11
|
+
"secondary": {
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$value": "",
|
|
14
|
+
"$description": "Supporting copy with less emphasis than primary.",
|
|
15
|
+
"tier": "core",
|
|
16
|
+
"usage": "subtitles, metadata, secondary labels",
|
|
17
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"]
|
|
18
|
+
},
|
|
19
|
+
"subtle": {
|
|
20
|
+
"$type": "color",
|
|
21
|
+
"$value": "",
|
|
22
|
+
"$description": "Quietest text for hints, captions, and de-emphasized content.",
|
|
23
|
+
"tier": "core",
|
|
24
|
+
"usage": "captions, placeholder-adjacent hints",
|
|
25
|
+
"pairsWith": ["bg-main", "bg-inset"]
|
|
26
|
+
},
|
|
27
|
+
"interactive": {
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"$value": "",
|
|
30
|
+
"$description": "Default color for text links and text-styled controls. Hover/active use text-interactive-hover and text-interactive-active.",
|
|
31
|
+
"tier": "core",
|
|
32
|
+
"usage": "links, text buttons",
|
|
33
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"]
|
|
34
|
+
},
|
|
35
|
+
"interactive-hover": {
|
|
36
|
+
"$type": "color",
|
|
37
|
+
"$value": "",
|
|
38
|
+
"$description": "Hover state for interactive text.",
|
|
39
|
+
"tier": "core"
|
|
40
|
+
},
|
|
41
|
+
"interactive-active": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$value": "",
|
|
44
|
+
"$description": "Active/pressed state for interactive text.",
|
|
45
|
+
"tier": "core"
|
|
46
|
+
},
|
|
47
|
+
"brand": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": "",
|
|
50
|
+
"$description": "Text colored with the primary brand accent.",
|
|
51
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"],
|
|
52
|
+
"tier": "core"
|
|
53
|
+
},
|
|
54
|
+
"brand-secondary": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "",
|
|
57
|
+
"$description": "Text colored with a secondary brand accent.",
|
|
58
|
+
"tier": "core"
|
|
59
|
+
},
|
|
60
|
+
"success": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "",
|
|
63
|
+
"$description": "Text for success messaging and status.",
|
|
64
|
+
"tier": "core",
|
|
65
|
+
"pairsWith": ["bg-success"],
|
|
66
|
+
"related": ["border-success"]
|
|
67
|
+
},
|
|
68
|
+
"warning": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "",
|
|
71
|
+
"$description": "Text for warning messaging and status.",
|
|
72
|
+
"tier": "core",
|
|
73
|
+
"pairsWith": ["bg-warning"],
|
|
74
|
+
"related": ["border-warning"]
|
|
75
|
+
},
|
|
76
|
+
"danger": {
|
|
77
|
+
"$type": "color",
|
|
78
|
+
"$value": "",
|
|
79
|
+
"$description": "Text for danger/error messaging and status.",
|
|
80
|
+
"tier": "core",
|
|
81
|
+
"pairsWith": ["bg-danger"],
|
|
82
|
+
"related": ["border-danger"]
|
|
83
|
+
},
|
|
84
|
+
"info": {
|
|
85
|
+
"$type": "color",
|
|
86
|
+
"$value": "",
|
|
87
|
+
"$description": "Text for informational messaging and status.",
|
|
88
|
+
"tier": "core",
|
|
89
|
+
"pairsWith": ["bg-info"],
|
|
90
|
+
"related": ["border-info"]
|
|
91
|
+
},
|
|
92
|
+
"disabled": {
|
|
93
|
+
"$type": "color",
|
|
94
|
+
"$value": "",
|
|
95
|
+
"$description": "Text on disabled controls or unavailable actions.",
|
|
96
|
+
"tier": "core",
|
|
97
|
+
"pairsWith": ["bg-disabled"]
|
|
98
|
+
},
|
|
99
|
+
"inverse": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "",
|
|
102
|
+
"$description": "Text intended for inverse or high-contrast surfaces.",
|
|
103
|
+
"tier": "core",
|
|
104
|
+
"pairsWith": ["bg-inverse", "bg-brand"]
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"content-max-width": {
|
|
3
|
+
"$type": "dimension",
|
|
4
|
+
"$value": "",
|
|
5
|
+
"$description": "Max width for primary page content.",
|
|
6
|
+
"tier": "core",
|
|
7
|
+
"usage": "main layout container, nav header"
|
|
8
|
+
},
|
|
9
|
+
"overlay-max-width": {
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$value": "",
|
|
12
|
+
"$description": "Max width for overlays such as dialogs.",
|
|
13
|
+
"tier": "core",
|
|
14
|
+
"usage": "modals, dialogs"
|
|
15
|
+
},
|
|
16
|
+
"z": {
|
|
17
|
+
"menu": {
|
|
18
|
+
"$type": "number",
|
|
19
|
+
"$value": 100,
|
|
20
|
+
"$description": "Z-index for menus and dropdowns.",
|
|
21
|
+
"tier": "core"
|
|
22
|
+
},
|
|
23
|
+
"sticky": {
|
|
24
|
+
"$type": "number",
|
|
25
|
+
"$value": 110,
|
|
26
|
+
"$description": "Z-index for sticky headers or bars.",
|
|
27
|
+
"tier": "core"
|
|
28
|
+
},
|
|
29
|
+
"fixed": {
|
|
30
|
+
"$type": "number",
|
|
31
|
+
"$value": 120,
|
|
32
|
+
"$description": "Z-index for fixed-position chrome.",
|
|
33
|
+
"tier": "core"
|
|
34
|
+
},
|
|
35
|
+
"drawer": {
|
|
36
|
+
"$type": "number",
|
|
37
|
+
"$value": 130,
|
|
38
|
+
"$description": "Z-index for drawers and side panels.",
|
|
39
|
+
"tier": "core"
|
|
40
|
+
},
|
|
41
|
+
"dialog": {
|
|
42
|
+
"$type": "number",
|
|
43
|
+
"$value": 140,
|
|
44
|
+
"$description": "Z-index for modal dialogs.",
|
|
45
|
+
"tier": "core"
|
|
46
|
+
},
|
|
47
|
+
"popover": {
|
|
48
|
+
"$type": "number",
|
|
49
|
+
"$value": 150,
|
|
50
|
+
"$description": "Z-index for tooltips and popovers.",
|
|
51
|
+
"tier": "core"
|
|
52
|
+
},
|
|
53
|
+
"tooltip": {
|
|
54
|
+
"$type": "number",
|
|
55
|
+
"$value": 160,
|
|
56
|
+
"$description": "Z-index for tooltips.",
|
|
57
|
+
"tier": "core"
|
|
58
|
+
},
|
|
59
|
+
"toast": {
|
|
60
|
+
"$type": "number",
|
|
61
|
+
"$value": 170,
|
|
62
|
+
"$description": "Z-index for toasts and global notifications.",
|
|
63
|
+
"tier": "core"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
package/tokens/misc.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"focus-ring": {
|
|
3
|
+
"$type": "color",
|
|
4
|
+
"$value": "",
|
|
5
|
+
"$description": "Focus indicator color or shorthand used for :focus-visible outlines.",
|
|
6
|
+
"tier": "core",
|
|
7
|
+
"usage": "keyboard focus rings on interactive elements"
|
|
8
|
+
},
|
|
9
|
+
"box-shadow": {
|
|
10
|
+
"$type": "shadow",
|
|
11
|
+
"$value": "",
|
|
12
|
+
"$description": "Default elevation shadow for raised surfaces.",
|
|
13
|
+
"tier": "core",
|
|
14
|
+
"related": ["bg-raised"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ease": {
|
|
3
|
+
"in": {
|
|
4
|
+
"$type": "cubicBezier",
|
|
5
|
+
"$value": "ease-in",
|
|
6
|
+
"$description": "Accelerating easing curve.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "system-initiated animations"
|
|
9
|
+
},
|
|
10
|
+
"out": {
|
|
11
|
+
"$type": "cubicBezier",
|
|
12
|
+
"$value": "ease-out",
|
|
13
|
+
"$description": "Decelerating easing curve.",
|
|
14
|
+
"tier": "core",
|
|
15
|
+
"usage": "user-initiated animations"
|
|
16
|
+
},
|
|
17
|
+
"linear": {
|
|
18
|
+
"$type": "cubicBezier",
|
|
19
|
+
"$value": "linear",
|
|
20
|
+
"$description": "Constant-rate easing; defaults to the CSS keyword linear.",
|
|
21
|
+
"tier": "core",
|
|
22
|
+
"usage": "fades or color transitions"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"duration": {
|
|
26
|
+
"fast": {
|
|
27
|
+
"$type": "duration",
|
|
28
|
+
"$value": "",
|
|
29
|
+
"$description": "Short motion duration.",
|
|
30
|
+
"tier": "core",
|
|
31
|
+
"usage": "micro-interactions, hover"
|
|
32
|
+
},
|
|
33
|
+
"normal": {
|
|
34
|
+
"$type": "duration",
|
|
35
|
+
"$value": "",
|
|
36
|
+
"$description": "Default motion duration for most UI transitions.",
|
|
37
|
+
"tier": "core"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"space": {
|
|
3
|
+
"xs": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Tightest spacing step.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "icon gaps, dense stacks"
|
|
9
|
+
},
|
|
10
|
+
"sm": {
|
|
11
|
+
"$type": "dimension",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Small spacing step.",
|
|
14
|
+
"tier": "core"
|
|
15
|
+
},
|
|
16
|
+
"md": {
|
|
17
|
+
"$type": "dimension",
|
|
18
|
+
"$value": "",
|
|
19
|
+
"$description": "Default spacing step for common layout padding or gaps.",
|
|
20
|
+
"tier": "core"
|
|
21
|
+
},
|
|
22
|
+
"lg": {
|
|
23
|
+
"$type": "dimension",
|
|
24
|
+
"$value": "",
|
|
25
|
+
"$description": "Large spacing step for section padding.",
|
|
26
|
+
"tier": "core"
|
|
27
|
+
},
|
|
28
|
+
"xl": {
|
|
29
|
+
"$type": "dimension",
|
|
30
|
+
"$value": "",
|
|
31
|
+
"$description": "Extra-large spacing step.",
|
|
32
|
+
"tier": "core"
|
|
33
|
+
},
|
|
34
|
+
"xxl": {
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"$value": "",
|
|
37
|
+
"$description": "Largest spacing step for major layout separation.",
|
|
38
|
+
"tier": "core"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"font": {
|
|
3
|
+
"body": {
|
|
4
|
+
"$type": "fontFamily",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Default typeface for body copy and UI text.",
|
|
7
|
+
"tier": "core"
|
|
8
|
+
},
|
|
9
|
+
"display": {
|
|
10
|
+
"$type": "fontFamily",
|
|
11
|
+
"$value": "",
|
|
12
|
+
"$description": "Typeface for titles and display headings.",
|
|
13
|
+
"tier": "core"
|
|
14
|
+
},
|
|
15
|
+
"mono": {
|
|
16
|
+
"$type": "fontFamily",
|
|
17
|
+
"$value": "",
|
|
18
|
+
"$description": "Monospace typeface for code and tabular data.",
|
|
19
|
+
"tier": "core"
|
|
20
|
+
},
|
|
21
|
+
"size": {
|
|
22
|
+
"xs": {
|
|
23
|
+
"$type": "dimension",
|
|
24
|
+
"$value": "",
|
|
25
|
+
"$description": "Smallest text size.",
|
|
26
|
+
"tier": "core",
|
|
27
|
+
"usage": "captions, fine print"
|
|
28
|
+
},
|
|
29
|
+
"sm": {
|
|
30
|
+
"$type": "dimension",
|
|
31
|
+
"$value": "",
|
|
32
|
+
"$description": "Small text size.",
|
|
33
|
+
"tier": "core",
|
|
34
|
+
"usage": "secondary labels"
|
|
35
|
+
},
|
|
36
|
+
"md": {
|
|
37
|
+
"$type": "dimension",
|
|
38
|
+
"$value": "",
|
|
39
|
+
"$description": "Default body text size.",
|
|
40
|
+
"tier": "core"
|
|
41
|
+
},
|
|
42
|
+
"lg": {
|
|
43
|
+
"$type": "dimension",
|
|
44
|
+
"$value": "",
|
|
45
|
+
"$description": "Large text size.",
|
|
46
|
+
"tier": "core",
|
|
47
|
+
"usage": "lead paragraphs, subheads"
|
|
48
|
+
},
|
|
49
|
+
"xl": {
|
|
50
|
+
"$type": "dimension",
|
|
51
|
+
"$value": "",
|
|
52
|
+
"$description": "Extra-large text size.",
|
|
53
|
+
"tier": "core",
|
|
54
|
+
"usage": "section headings"
|
|
55
|
+
},
|
|
56
|
+
"xxl": {
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$value": "",
|
|
59
|
+
"$description": "Largest display text size when an size is needed.",
|
|
60
|
+
"tier": "core",
|
|
61
|
+
"usage": "page titles"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"weight": {
|
|
65
|
+
"light": {
|
|
66
|
+
"$type": "fontWeight",
|
|
67
|
+
"$value": "",
|
|
68
|
+
"$description": "Light font weight.",
|
|
69
|
+
"tier": "core"
|
|
70
|
+
},
|
|
71
|
+
"normal": {
|
|
72
|
+
"$type": "fontWeight",
|
|
73
|
+
"$value": "",
|
|
74
|
+
"$description": "Regular/normal font weight.",
|
|
75
|
+
"tier": "core"
|
|
76
|
+
},
|
|
77
|
+
"bold": {
|
|
78
|
+
"$type": "fontWeight",
|
|
79
|
+
"$value": "",
|
|
80
|
+
"$description": "Bold font weight.",
|
|
81
|
+
"tier": "core"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"line-height": {
|
|
86
|
+
"normal": {
|
|
87
|
+
"$type": "number",
|
|
88
|
+
"$value": "",
|
|
89
|
+
"$description": "Default line height for body text.",
|
|
90
|
+
"tier": "core"
|
|
91
|
+
},
|
|
92
|
+
"tight": {
|
|
93
|
+
"$type": "number",
|
|
94
|
+
"$value": "",
|
|
95
|
+
"$description": "Tighter line height for headings and compact UI.",
|
|
96
|
+
"tier": "core"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"letter-spacing": {
|
|
100
|
+
"uppercase": {
|
|
101
|
+
"$type": "dimension",
|
|
102
|
+
"$value": "",
|
|
103
|
+
"$description": "Tracking for uppercase or small-caps labels.",
|
|
104
|
+
"tier": "core"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|