@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.
@@ -1,23 +1,23 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://www.designtokens.org/schemas/2025.10/format/tokenType.json",
4
- "title": "TokenType",
5
- "description": "A token type in the DTCG specification",
6
- "type": "string",
7
- "enum": [
8
- "color",
9
- "dimension",
10
- "fontFamily",
11
- "fontWeight",
12
- "duration",
13
- "cubicBezier",
14
- "number",
15
- "strokeStyle",
16
- "border",
17
- "transition",
18
- "shadow",
19
- "gradient",
20
- "typography"
21
- ]
22
- }
23
-
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.designtokens.org/schemas/2025.10/format/tokenType.json",
4
+ "title": "TokenType",
5
+ "description": "A token type in the DTCG specification",
6
+ "type": "string",
7
+ "enum": [
8
+ "color",
9
+ "dimension",
10
+ "fontFamily",
11
+ "fontWeight",
12
+ "duration",
13
+ "cubicBezier",
14
+ "number",
15
+ "strokeStyle",
16
+ "border",
17
+ "transition",
18
+ "shadow",
19
+ "gradient",
20
+ "typography"
21
+ ]
22
+ }
23
+
@@ -1,45 +1,45 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://www.designtokens.org/schemas/2025.10/format/values/border.json",
4
- "title": "Border Value",
5
- "description": "Value schema for border type tokens. Represents a border style.",
6
- "type": "object",
7
- "properties": {
8
- "color": {
9
- "description": "The color of the border",
10
- "oneOf": [
11
- {
12
- "$ref": "color.json"
13
- },
14
- {
15
- "$ref": "../../format.json#/definitions/tokenValueReference"
16
- }
17
- ]
18
- },
19
- "width": {
20
- "description": "The width or thickness of the border",
21
- "oneOf": [
22
- {
23
- "$ref": "dimension.json"
24
- },
25
- {
26
- "$ref": "../../format.json#/definitions/tokenValueReference"
27
- }
28
- ]
29
- },
30
- "style": {
31
- "description": "The border's style",
32
- "oneOf": [
33
- {
34
- "$ref": "strokeStyle.json"
35
- },
36
- {
37
- "$ref": "../../format.json#/definitions/tokenValueReference"
38
- }
39
- ]
40
- }
41
- },
42
- "required": ["color", "width", "style"],
43
- "additionalProperties": false
44
- }
45
-
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.designtokens.org/schemas/2025.10/format/values/border.json",
4
+ "title": "Border Value",
5
+ "description": "Value schema for border type tokens. Represents a border style.",
6
+ "type": "object",
7
+ "properties": {
8
+ "color": {
9
+ "description": "The color of the border",
10
+ "oneOf": [
11
+ {
12
+ "$ref": "color.json"
13
+ },
14
+ {
15
+ "$ref": "../../format.json#/definitions/tokenValueReference"
16
+ }
17
+ ]
18
+ },
19
+ "width": {
20
+ "description": "The width or thickness of the border",
21
+ "oneOf": [
22
+ {
23
+ "$ref": "dimension.json"
24
+ },
25
+ {
26
+ "$ref": "../../format.json#/definitions/tokenValueReference"
27
+ }
28
+ ]
29
+ },
30
+ "style": {
31
+ "description": "The border's style",
32
+ "oneOf": [
33
+ {
34
+ "$ref": "strokeStyle.json"
35
+ },
36
+ {
37
+ "$ref": "../../format.json#/definitions/tokenValueReference"
38
+ }
39
+ ]
40
+ }
41
+ },
42
+ "required": ["color", "width", "style"],
43
+ "additionalProperties": false
44
+ }
45
+