@design-token-kit/core 0.1.2 → 0.2.1
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 +0 -0
- package/README.md +0 -0
- package/lib/schemas/2025.10/format/group.json +55 -55
- package/lib/schemas/2025.10/format/groupOrToken.json +15 -15
- package/lib/schemas/2025.10/format/token.json +425 -425
- package/lib/schemas/2025.10/format/tokenType.json +23 -23
- package/lib/schemas/2025.10/format/values/border.json +45 -45
- package/lib/schemas/2025.10/format/values/color.json +515 -515
- package/lib/schemas/2025.10/format/values/cubicBezier.json +57 -57
- package/lib/schemas/2025.10/format/values/dimension.json +35 -35
- package/lib/schemas/2025.10/format/values/duration.json +35 -35
- package/lib/schemas/2025.10/format/values/fontFamily.json +34 -34
- package/lib/schemas/2025.10/format/values/fontWeight.json +39 -39
- package/lib/schemas/2025.10/format/values/gradient.json +53 -53
- package/lib/schemas/2025.10/format/values/number.json +8 -8
- package/lib/schemas/2025.10/format/values/shadow.json +103 -103
- package/lib/schemas/2025.10/format/values/strokeStyle.json +64 -64
- package/lib/schemas/2025.10/format/values/transition.json +45 -45
- package/lib/schemas/2025.10/format/values/typography.json +73 -73
- package/lib/schemas/2025.10/format.json +106 -106
- package/lib/schemas/2025.10/resolver/modifier.json +85 -85
- package/lib/schemas/2025.10/resolver/resolutionOrder.json +117 -117
- package/lib/schemas/2025.10/resolver/set.json +71 -71
- package/lib/schemas/2025.10/resolver.json +62 -62
- package/lib/schemas/hrdt-tokens.json +530 -530
- package/package.json +2 -1
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://www.designtokens.org/schemas/2025.10/format/group.json",
|
|
4
|
-
"title": "Group",
|
|
5
|
-
"description": "A group in the DTCG specification",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"$type": {
|
|
9
|
-
"$ref": "tokenType.json",
|
|
10
|
-
"description": "The type for tokens in this group (inherited by nested tokens unless overridden)"
|
|
11
|
-
},
|
|
12
|
-
"$description": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "A plain text description of the group"
|
|
15
|
-
},
|
|
16
|
-
"$extensions": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"description": "Vendor-specific extensions"
|
|
19
|
-
},
|
|
20
|
-
"$extends": {
|
|
21
|
-
"oneOf": [
|
|
22
|
-
{
|
|
23
|
-
"$ref": "../format.json#/definitions/curlyBraceReference"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"$ref": "../format.json#/definitions/jsonPointerReference"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"description": "Reference to another group to inherit tokens and properties from"
|
|
30
|
-
},
|
|
31
|
-
"$deprecated": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "boolean"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "string"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"description": "Whether this group is deprecated"
|
|
41
|
-
},
|
|
42
|
-
"$root": {
|
|
43
|
-
"description": "Root token for this group. The $root token provides a base value for the group while allowing for variants or extensions.",
|
|
44
|
-
"$ref": "token.json"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"patternProperties": {
|
|
48
|
-
"^[^${}.][^{}.]*$": {
|
|
49
|
-
"description": "Nested groups and tokens (see ../format.json#/definitions/tokenOrGroupName for pattern definition)",
|
|
50
|
-
"$ref": "groupOrToken.json"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"additionalProperties": false
|
|
54
|
-
}
|
|
55
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://www.designtokens.org/schemas/2025.10/format/group.json",
|
|
4
|
+
"title": "Group",
|
|
5
|
+
"description": "A group in the DTCG specification",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"$type": {
|
|
9
|
+
"$ref": "tokenType.json",
|
|
10
|
+
"description": "The type for tokens in this group (inherited by nested tokens unless overridden)"
|
|
11
|
+
},
|
|
12
|
+
"$description": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "A plain text description of the group"
|
|
15
|
+
},
|
|
16
|
+
"$extensions": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"description": "Vendor-specific extensions"
|
|
19
|
+
},
|
|
20
|
+
"$extends": {
|
|
21
|
+
"oneOf": [
|
|
22
|
+
{
|
|
23
|
+
"$ref": "../format.json#/definitions/curlyBraceReference"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"$ref": "../format.json#/definitions/jsonPointerReference"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"description": "Reference to another group to inherit tokens and properties from"
|
|
30
|
+
},
|
|
31
|
+
"$deprecated": {
|
|
32
|
+
"oneOf": [
|
|
33
|
+
{
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"description": "Whether this group is deprecated"
|
|
41
|
+
},
|
|
42
|
+
"$root": {
|
|
43
|
+
"description": "Root token for this group. The $root token provides a base value for the group while allowing for variants or extensions.",
|
|
44
|
+
"$ref": "token.json"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"patternProperties": {
|
|
48
|
+
"^[^${}.][^{}.]*$": {
|
|
49
|
+
"description": "Nested groups and tokens (see ../format.json#/definitions/tokenOrGroupName for pattern definition)",
|
|
50
|
+
"$ref": "groupOrToken.json"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://www.designtokens.org/schemas/2025.10/format/groupOrToken.json",
|
|
4
|
-
"title": "Group or Token",
|
|
5
|
-
"description": "A group or a token in the DTCG specification. A token is identified by the presence of a $value property, while a group is any object without a $value property.",
|
|
6
|
-
"oneOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "group.json"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"$ref": "token.json"
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://www.designtokens.org/schemas/2025.10/format/groupOrToken.json",
|
|
4
|
+
"title": "Group or Token",
|
|
5
|
+
"description": "A group or a token in the DTCG specification. A token is identified by the presence of a $value property, while a group is any object without a $value property.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "group.json"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"$ref": "token.json"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
|