ui-foundations 0.1.1 → 0.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/README.md +68 -227
- package/dist/core/index.css +7 -7
- package/dist/main.css +462 -289
- package/dist/react/index.js +1 -0
- package/dist/react/switch.js +45 -0
- package/dist/tokens/css/{color.dark.tokens.css → appearance-(modes).tokens.mode-dark.css} +2 -2
- package/dist/tokens/css/{color.light.tokens.css → appearance-(modes).tokens.mode-light.css} +3 -3
- package/dist/tokens/css/{component.tokens.css → components-(ui).tokens.css} +70 -54
- package/dist/tokens/css/{primitives.tokens.css → core-(primitives).tokens.css} +21 -21
- package/dist/tokens/css/{semantic.tokens.css → semantics-(roles).tokens.css} +7 -6
- package/dist/tokens/css/{brand-a.tokens.css → themes-(brands).tokens.brand-a.css} +11 -11
- package/dist/tokens/css/{brand-b.tokens.css → themes-(brands).tokens.brand-b.css} +10 -10
- package/dist/tokens/json/appearance-(modes).tokens.mode-dark.json +182 -0
- package/dist/tokens/json/appearance-(modes).tokens.mode-light.json +182 -0
- package/dist/tokens/json/components-(ui).tokens.json +739 -0
- package/dist/tokens/json/{primitives.tokens.json → core-(primitives).tokens.json} +766 -772
- package/dist/tokens/json/semantics-(roles).tokens.json +203 -0
- package/dist/tokens/json/themes-(brands).tokens.brand-a.json +115 -0
- package/dist/tokens/json/themes-(brands).tokens.brand-b.json +115 -0
- package/dist/tokens/tokens.yaml +1068 -847
- package/dist/tokens/ts/{color.dark.tokens.ts → appearance-(modes).tokens.mode-dark.ts} +3 -3
- package/dist/tokens/ts/{color.light.tokens.ts → appearance-(modes).tokens.mode-light.ts} +4 -4
- package/dist/tokens/ts/{component.tokens.ts → components-(ui).tokens.ts} +71 -55
- package/dist/tokens/ts/{primitives.tokens.ts → core-(primitives).tokens.ts} +22 -22
- package/dist/tokens/ts/{semantic.tokens.ts → semantics-(roles).tokens.ts} +7 -6
- package/dist/tokens/ts/{brand-a.tokens.ts → themes-(brands).tokens.brand-a.ts} +13 -13
- package/dist/tokens/ts/{brand-b.tokens.ts → themes-(brands).tokens.brand-b.ts} +12 -12
- package/dist/ui/index.css +1 -0
- package/dist/ui/patterns/button.css +1 -0
- package/dist/ui/patterns/switch.css +155 -0
- package/docs/agentic/assistant-behavior-rules.md +16 -0
- package/docs/agentic/skills/README.md +51 -0
- package/docs/agentic/skills/design-ops-specialist/SKILL.md +60 -0
- package/docs/agentic/skills/design-system-architect/SKILL.md +106 -0
- package/docs/agentic/team-ai-playbook.md +226 -0
- package/docs/foundations/foundation-010-implementation-and-pipeline-workflow.md +82 -0
- package/docs/foundations/foundation-011-branching-and-release-governance.md +42 -0
- package/docs/foundations/foundation-012-minimal-markup-and-composition.md +42 -0
- package/package.json +24 -12
- package/dist/tokens/json/brand-a.tokens.json +0 -192
- package/dist/tokens/json/brand-b.tokens.json +0 -192
- package/dist/tokens/json/color.dark.tokens.json +0 -364
- package/dist/tokens/json/color.light.tokens.json +0 -364
- package/dist/tokens/json/component.tokens.json +0 -1101
- package/dist/tokens/json/semantic.tokens.json +0 -206
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
|
|
3
|
+
"Color": {
|
|
4
|
+
"Text": {
|
|
5
|
+
"Default": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$value": {
|
|
8
|
+
"$ref": "Color/Neutral/800"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"Inverse": {
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$value": {
|
|
14
|
+
"$ref": "Color/Neutral/000"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"Disabled": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": {
|
|
20
|
+
"$ref": "Color/Neutral/600"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"Brand": {
|
|
24
|
+
"$type": "color",
|
|
25
|
+
"$value": {
|
|
26
|
+
"$ref": "Brand/Color/Primary"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"Subtle": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$value": {
|
|
32
|
+
"$ref": "Brand/Color/Subtle"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"Strong": {
|
|
36
|
+
"$type": "color",
|
|
37
|
+
"$value": {
|
|
38
|
+
"$ref": "Color/Neutral/1000"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"Danger": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$value": {
|
|
44
|
+
"$ref": "Brand/Color/Functional/Danger"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"Success": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": {
|
|
50
|
+
"$ref": "Brand/Color/Functional/Success"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"Fill": {
|
|
55
|
+
"Surface": {
|
|
56
|
+
"$type": "color",
|
|
57
|
+
"$value": {
|
|
58
|
+
"$ref": "Color/Neutral/000"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"Disabled": {
|
|
62
|
+
"$type": "color",
|
|
63
|
+
"$value": {
|
|
64
|
+
"$ref": "Color/Neutral/300"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"Hover": {
|
|
68
|
+
"$type": "color",
|
|
69
|
+
"$value": {
|
|
70
|
+
"$ref": "Color/Neutral/Alpha/500"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"Brand": {
|
|
74
|
+
"$type": "color",
|
|
75
|
+
"$value": {
|
|
76
|
+
"$ref": "Brand/Color/Primary"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"Subtle": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": {
|
|
82
|
+
"$ref": "Brand/Color/Subtle Light"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"Active": {
|
|
86
|
+
"$type": "color",
|
|
87
|
+
"$value": {
|
|
88
|
+
"$ref": "Brand/Color/Accent"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"Danger": {
|
|
92
|
+
"$type": "color",
|
|
93
|
+
"$value": {
|
|
94
|
+
"$ref": "Brand/Color/Functional/Danger"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"Success": {
|
|
98
|
+
"$type": "color",
|
|
99
|
+
"$value": {
|
|
100
|
+
"$ref": "Brand/Color/Functional/Success"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"Border": {
|
|
105
|
+
"Default": {
|
|
106
|
+
"$type": "color",
|
|
107
|
+
"$value": {
|
|
108
|
+
"$ref": "Color/Neutral/800"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"Subtle": {
|
|
112
|
+
"$type": "color",
|
|
113
|
+
"$value": {
|
|
114
|
+
"$ref": "Brand/Color/Subtle"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"Strong": {
|
|
118
|
+
"$type": "color",
|
|
119
|
+
"$value": {
|
|
120
|
+
"$ref": "Color/Neutral/1000"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"Brand": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": {
|
|
126
|
+
"$ref": "Brand/Color/Primary"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"Disabled": {
|
|
130
|
+
"$type": "color",
|
|
131
|
+
"$value": {
|
|
132
|
+
"$ref": "Color/Neutral/500"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"Danger": {
|
|
136
|
+
"$type": "color",
|
|
137
|
+
"$value": {
|
|
138
|
+
"colorSpace": "srgb",
|
|
139
|
+
"components": [
|
|
140
|
+
1,
|
|
141
|
+
0,
|
|
142
|
+
0
|
|
143
|
+
],
|
|
144
|
+
"alpha": 1,
|
|
145
|
+
"hex": "#FF0000"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"Overlay": {
|
|
150
|
+
"Backdrop": {
|
|
151
|
+
"$type": "color",
|
|
152
|
+
"$value": {
|
|
153
|
+
"$ref": "Color/Neutral/Alpha/400"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"Hover": {
|
|
157
|
+
"$type": "color",
|
|
158
|
+
"$value": {
|
|
159
|
+
"$ref": "Color/Neutral/Alpha/200"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"Active": {
|
|
163
|
+
"$type": "color",
|
|
164
|
+
"$value": {
|
|
165
|
+
"$ref": "Color/Neutral/Alpha/400"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"Selected": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$value": {
|
|
171
|
+
"$ref": "Color/Neutral/Alpha/600"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"Focus": {
|
|
176
|
+
"$type": "color",
|
|
177
|
+
"$value": {
|
|
178
|
+
"$ref": "Brand/Color/Primary"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|