-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoken-group.json
More file actions
70 lines (70 loc) · 1.53 KB
/
token-group.json
File metadata and controls
70 lines (70 loc) · 1.53 KB
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
69
70
{
"kind": "token-group",
"identifier": "color-text",
"metadata": [
{
"kind": "description",
"value": "Semantic text color tokens."
},
{
"kind": "status",
"status": "stable"
},
{
"kind": "category",
"value": "semantic"
}
],
"tokenType": "color",
"source": {
"file": "tokens/color.tokens.json",
"path": "color.text"
},
"children": [
{
"kind": "token",
"identifier": "color-text-primary",
"tokenType": "color",
"source": {
"file": "tokens/color.tokens.json",
"path": "color.text.primary"
}
},
{
"kind": "token",
"identifier": "color-text-secondary",
"tokenType": "color",
"source": {
"file": "tokens/color.tokens.json",
"path": "color.text.secondary"
}
},
{
"kind": "token",
"identifier": "color-text-disabled",
"tokenType": "color",
"source": {
"file": "tokens/color.tokens.json",
"path": "color.text.disabled"
}
}
],
"agents": {
"intent": "Define and organize a set of related design tokens, providing shared defaults for type and category.",
"constraints": [
{
"rule": "Do not reference base palette tokens directly in component code.",
"level": "must-not",
"context": "Always reference semantic tokens that point to palette values."
}
],
"keywords": [
"token",
"group",
"palette",
"scale",
"family",
"collection"
]
}
}