@grantcodes/style-dictionary 1.2.0 → 1.3.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/.turbo/turbo-build.log +45 -44
- package/.turbo/turbo-lint.log +10 -5
- package/AGENTS.md +67 -0
- package/CHANGELOG.md +14 -0
- package/config.js +25 -1
- package/package.json +4 -1
- package/tokens/core/tier-1-definitions/colors.json +172 -173
- package/tokens/core/tier-1-definitions/z-index.json +26 -27
- package/tokens/grantcodes/tier-1-definitions/animation.json +24 -25
- package/tokens/grantcodes/tier-1-definitions/borders.json +33 -34
- package/tokens/grantcodes/tier-1-definitions/shadows.json +36 -37
- package/tokens/grantcodes/tier-1-definitions/spacing.json +49 -0
- package/tokens/grantcodes/tier-1-definitions/typography.json +140 -131
- package/tokens/grantcodes/tier-2-usage/00-colors-background.json +69 -70
- package/tokens/grantcodes/tier-2-usage/00-colors-border.json +39 -40
- package/tokens/grantcodes/tier-2-usage/00-colors-content.json +42 -43
- package/tokens/grantcodes/tier-2-usage/animation.json +21 -21
- package/tokens/grantcodes/tier-2-usage/borders.json +24 -24
- package/tokens/grantcodes/tier-2-usage/shadows.json +36 -37
- package/tokens/grantcodes/tier-2-usage/spacing.json +25 -0
- package/tokens/grantcodes/tier-2-usage/typography-usage.json +274 -275
- package/tokens/grantcodes/tier-3-components/button.json +92 -92
- package/tokens/grantcodes/tier-3-components/focus-ring.json +23 -24
- package/tokens/grantcodes/tier-3-components/form.json +67 -67
- package/tokens/grantcodes/tier-3-components/link.json +36 -37
- package/tokens/todomap/tier-1-definitions/colors.json +89 -90
- package/tokens/todomap/tier-1-definitions/spacing.json +49 -0
- package/tokens/todomap/tier-1-definitions/typography.json +10 -8
- package/tokens/todomap/tier-2-usage/00-colors-background.json +33 -34
- package/tokens/todomap/tier-2-usage/00-colors-content.json +30 -31
- package/tokens/todomap/tier-2-usage/spacing.json +25 -0
- package/tokens/todomap/tier-2-usage/typography-usage.json +18 -18
- package/tokens/todomap/tier-3-components/button.json +138 -139
- package/tokens/todomap/tier-3-components/focus-ring.json +23 -24
- package/tokens/todomap/tier-3-components/form.json +67 -67
- package/tokens/todomap/tier-3-components/link.json +36 -37
- package/tokens/wireframe/tier-1-definitions/animation.json +15 -16
- package/tokens/wireframe/tier-1-definitions/borders.json +39 -40
- package/tokens/wireframe/tier-1-definitions/colors.json +33 -34
- package/tokens/wireframe/tier-1-definitions/shadows.json +36 -37
- package/tokens/wireframe/tier-1-definitions/spacing.json +49 -0
- package/tokens/wireframe/tier-1-definitions/typography.json +128 -128
- package/tokens/wireframe/tier-2-usage/00-colors-background.json +83 -84
- package/tokens/wireframe/tier-2-usage/00-colors-border.json +39 -40
- package/tokens/wireframe/tier-2-usage/00-colors-content.json +42 -43
- package/tokens/wireframe/tier-2-usage/animation.json +21 -22
- package/tokens/wireframe/tier-2-usage/borders.json +30 -31
- package/tokens/wireframe/tier-2-usage/shadows.json +36 -37
- package/tokens/wireframe/tier-2-usage/spacing.json +25 -0
- package/tokens/wireframe/tier-2-usage/typography-usage.json +442 -443
- package/tokens/wireframe/tier-3-components/focus-ring.json +23 -24
- package/tokens/wireframe/tier-3-components/form.json +67 -67
- package/tokens/wireframe/tier-3-components/link.json +36 -37
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"focus-ring": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "rgba(0, 0, 0, 0.4)"
|
|
6
|
+
},
|
|
7
|
+
"contrast": {
|
|
8
|
+
"value": "{color.neutral.200}"
|
|
9
|
+
},
|
|
10
|
+
"contrast-shadow": {
|
|
11
|
+
"value": "{color.neutral.800}"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"width": {
|
|
15
|
+
"default": {
|
|
16
|
+
"value": "0.2rem"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"offset": {
|
|
20
|
+
"default": {
|
|
21
|
+
"value": "0px"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
|
-
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
2
|
+
"form": {
|
|
3
|
+
"color": {
|
|
4
|
+
"background": {
|
|
5
|
+
"default": {
|
|
6
|
+
"value": "{color.background.default}"
|
|
7
|
+
},
|
|
8
|
+
"focus": {
|
|
9
|
+
"value": "{color.background.default}"
|
|
10
|
+
},
|
|
11
|
+
"hover": {
|
|
12
|
+
"value": "{color.background.subtle}"
|
|
13
|
+
},
|
|
14
|
+
"active": {
|
|
15
|
+
"value": "{color.background.default}"
|
|
16
|
+
},
|
|
17
|
+
"disabled": {
|
|
18
|
+
"value": "{color.background.default}"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"content": {
|
|
22
|
+
"default": {
|
|
23
|
+
"value": "{color.content.default}"
|
|
24
|
+
},
|
|
25
|
+
"focus": {
|
|
26
|
+
"value": "{color.content.default}"
|
|
27
|
+
},
|
|
28
|
+
"hover": {
|
|
29
|
+
"value": "{color.content.default}"
|
|
30
|
+
},
|
|
31
|
+
"active": {
|
|
32
|
+
"value": "{color.content.default}"
|
|
33
|
+
},
|
|
34
|
+
"disabled": {
|
|
35
|
+
"value": "{color.content.disabled}"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"border": {
|
|
39
|
+
"default": {
|
|
40
|
+
"value": "{color.border.default}"
|
|
41
|
+
},
|
|
42
|
+
"focus": {
|
|
43
|
+
"value": "{color.border.brand}"
|
|
44
|
+
},
|
|
45
|
+
"hover": {
|
|
46
|
+
"value": "{color.border.default-hover}"
|
|
47
|
+
},
|
|
48
|
+
"active": {
|
|
49
|
+
"value": "{color.border.brand}"
|
|
50
|
+
},
|
|
51
|
+
"disabled": {
|
|
52
|
+
"value": "{color.border.default}"
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"value": "{color.border.utility.error}"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"input": {
|
|
60
|
+
"accent": {
|
|
61
|
+
"color": {
|
|
62
|
+
"default": {
|
|
63
|
+
"value": "{color.brand.gray.500}"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
69
|
}
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
2
|
+
"link": {
|
|
3
|
+
"color": {
|
|
4
|
+
"content": {
|
|
5
|
+
"default": {
|
|
6
|
+
"value": "{color.brand.gray.600}"
|
|
7
|
+
},
|
|
8
|
+
"hover": {
|
|
9
|
+
"value": "{color.brand.gray.900}"
|
|
10
|
+
},
|
|
11
|
+
"active": {
|
|
12
|
+
"value": "{color.brand.gray.900}"
|
|
13
|
+
},
|
|
14
|
+
"visited": {
|
|
15
|
+
"value": "{color.brand.gray.600}"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"knockout": {
|
|
20
|
+
"color": {
|
|
21
|
+
"content": {
|
|
22
|
+
"default": {
|
|
23
|
+
"value": "{color.content.knockout}"
|
|
24
|
+
},
|
|
25
|
+
"hover": {
|
|
26
|
+
"value": "{color.content.knockout}"
|
|
27
|
+
},
|
|
28
|
+
"active": {
|
|
29
|
+
"value": "{color.content.knockout}"
|
|
30
|
+
},
|
|
31
|
+
"visited": {
|
|
32
|
+
"value": "{color.content.knockout}"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
38
|
}
|
|
39
|
-
|