@aitrien/motifspec 1.13.0 → 1.13.3
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/CHANGELOG.md +275 -257
- package/LICENSE +21 -21
- package/README.md +128 -150
- package/dist/backdrop.html +1 -1
- package/dist/chroma.css +36 -36
- package/dist/codex.css +1145 -1145
- package/dist/codex.js +126 -126
- package/dist/contrast.md +101 -101
- package/dist/fonts.css +3 -3
- package/dist/icons.svg +18 -18
- package/dist/plate.html +1 -1
- package/dist/plate.js +292 -292
- package/dist/theme-init.js +1 -1
- package/dist/tokens.css +466 -466
- package/dist/tokens.js +3330 -3330
- package/dist/tokens.json +3330 -3330
- package/docs/components/_template.md +37 -37
- package/docs/components/accession-label.md +106 -106
- package/docs/components/backdrop.md +83 -83
- package/docs/components/button-and-link.md +87 -87
- package/docs/components/callout.md +75 -75
- package/docs/components/code-block.md +109 -109
- package/docs/components/data-table.md +73 -73
- package/docs/components/figure.md +68 -68
- package/docs/components/heading-anchor.md +76 -76
- package/docs/components/icon.md +63 -63
- package/docs/components/ornament.md +77 -77
- package/docs/components/pagination.md +78 -78
- package/docs/components/post-list-item.md +91 -91
- package/docs/components/project-card.md +82 -82
- package/docs/components/prose.md +122 -122
- package/docs/components/site-footer.md +99 -99
- package/docs/components/site-header.md +133 -133
- package/docs/components/specimen-plate.md +92 -92
- package/docs/components/table-of-contents.md +83 -83
- package/docs/components/tag.md +70 -70
- package/docs/components/tooltip.md +67 -67
- package/docs/hugo.md +132 -120
- package/docs/syntax-highlighting.md +55 -55
- package/docs/templates.md +21 -30
- package/fonts/OFL-jetbrains-mono.txt +93 -93
- package/fonts/OFL-national-park.txt +93 -93
- package/fonts/OFL-yarndings-12.txt +93 -93
- package/icons/LICENSE +202 -202
- package/icons/manifest.json +75 -75
- package/layouts/_markup/render-blockquote.html +30 -30
- package/layouts/_markup/render-codeblock.html +18 -18
- package/layouts/_markup/render-heading.html +2 -2
- package/layouts/_markup/render-image.html +14 -14
- package/layouts/_markup/render-link.html +14 -14
- package/layouts/_markup/render-table.html +31 -31
- package/layouts/_partials/motifspec/accession/id.html +2 -2
- package/layouts/_partials/motifspec/accession/label.html +18 -18
- package/layouts/_partials/motifspec/accession/status.html +2 -2
- package/layouts/_partials/motifspec/article.html +24 -24
- package/layouts/_partials/motifspec/back-link.html +2 -2
- package/layouts/_partials/motifspec/body-end.html +5 -5
- package/layouts/_partials/motifspec/body-start.html +5 -5
- package/layouts/_partials/motifspec/figure.html +14 -14
- package/layouts/_partials/motifspec/filed-under.html +5 -5
- package/layouts/_partials/motifspec/h2s.html +7 -7
- package/layouts/_partials/motifspec/head.html +15 -15
- package/layouts/_partials/motifspec/pagination-entries.html +34 -34
- package/layouts/_partials/motifspec/pagination-pages.html +30 -30
- package/layouts/_partials/motifspec/post-list-item.html +15 -15
- package/layouts/_partials/motifspec/project-card.html +23 -23
- package/layouts/_partials/motifspec/section-heading.html +3 -3
- package/layouts/_partials/motifspec/site-header.html +27 -27
- package/layouts/_partials/motifspec/table-of-contents.html +21 -21
- package/layouts/_partials/motifspec/tag-filter.html +22 -22
- package/layouts/_partials/motifspec/tags.html +8 -8
- package/layouts/_partials/motifspec/tokens.html +9 -9
- package/package.json +68 -68
- package/scripts/check.mjs +153 -153
- package/scripts/lib.mjs +176 -176
- package/tokens/README.md +3 -3
- package/tokens/border.json +63 -63
- package/tokens/color.json +1902 -1902
- package/tokens/motion.json +207 -207
- package/tokens/radius.json +53 -53
- package/tokens/size.json +378 -378
- package/tokens/space.json +289 -289
- package/tokens/typography.json +859 -859
package/tokens/motion.json
CHANGED
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
{
|
|
2
|
-
"primitive": {
|
|
3
|
-
"motion": {
|
|
4
|
-
"duration": {
|
|
5
|
-
"$type": "duration",
|
|
6
|
-
"0": {
|
|
7
|
-
"$value": {
|
|
8
|
-
"value": 0,
|
|
9
|
-
"unit": "ms"
|
|
10
|
-
},
|
|
11
|
-
"$extensions": {
|
|
12
|
-
"codex.tier": "primitive"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"1": {
|
|
16
|
-
"$value": {
|
|
17
|
-
"value": 120,
|
|
18
|
-
"unit": "ms"
|
|
19
|
-
},
|
|
20
|
-
"$extensions": {
|
|
21
|
-
"codex.tier": "primitive"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"2": {
|
|
25
|
-
"$value": {
|
|
26
|
-
"value": 200,
|
|
27
|
-
"unit": "ms"
|
|
28
|
-
},
|
|
29
|
-
"$extensions": {
|
|
30
|
-
"codex.tier": "primitive"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"3": {
|
|
34
|
-
"$value": {
|
|
35
|
-
"value": 320,
|
|
36
|
-
"unit": "ms"
|
|
37
|
-
},
|
|
38
|
-
"$extensions": {
|
|
39
|
-
"codex.tier": "primitive"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"4": {
|
|
43
|
-
"$value": {
|
|
44
|
-
"value": 1600,
|
|
45
|
-
"unit": "ms"
|
|
46
|
-
},
|
|
47
|
-
"$extensions": {
|
|
48
|
-
"codex.tier": "primitive"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"5": {
|
|
52
|
-
"$value": {
|
|
53
|
-
"value": 3200,
|
|
54
|
-
"unit": "ms"
|
|
55
|
-
},
|
|
56
|
-
"$extensions": {
|
|
57
|
-
"codex.tier": "primitive"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"6": {
|
|
61
|
-
"$value": {
|
|
62
|
-
"value": 60000,
|
|
63
|
-
"unit": "ms"
|
|
64
|
-
},
|
|
65
|
-
"$extensions": {
|
|
66
|
-
"codex.tier": "primitive"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"easing": {
|
|
71
|
-
"$type": "cubicBezier",
|
|
72
|
-
"out-strong": {
|
|
73
|
-
"$value": [
|
|
74
|
-
0.2,
|
|
75
|
-
0,
|
|
76
|
-
0,
|
|
77
|
-
1
|
|
78
|
-
],
|
|
79
|
-
"$extensions": {
|
|
80
|
-
"codex.tier": "primitive"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"decelerate": {
|
|
84
|
-
"$value": [
|
|
85
|
-
0,
|
|
86
|
-
0,
|
|
87
|
-
0.2,
|
|
88
|
-
1
|
|
89
|
-
],
|
|
90
|
-
"$extensions": {
|
|
91
|
-
"codex.tier": "primitive"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"accelerate": {
|
|
95
|
-
"$value": [
|
|
96
|
-
0.4,
|
|
97
|
-
0,
|
|
98
|
-
1,
|
|
99
|
-
1
|
|
100
|
-
],
|
|
101
|
-
"$extensions": {
|
|
102
|
-
"codex.tier": "primitive"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"linear": {
|
|
106
|
-
"$value": [
|
|
107
|
-
0,
|
|
108
|
-
0,
|
|
109
|
-
1,
|
|
110
|
-
1
|
|
111
|
-
],
|
|
112
|
-
"$extensions": {
|
|
113
|
-
"codex.tier": "primitive"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"in-out": {
|
|
117
|
-
"$value": [
|
|
118
|
-
0.45,
|
|
119
|
-
0,
|
|
120
|
-
0.55,
|
|
121
|
-
1
|
|
122
|
-
],
|
|
123
|
-
"$extensions": {
|
|
124
|
-
"codex.tier": "primitive"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"distance": {
|
|
129
|
-
"$type": "dimension",
|
|
130
|
-
"1": {
|
|
131
|
-
"$value": {
|
|
132
|
-
"value": 0.125,
|
|
133
|
-
"unit": "rem"
|
|
134
|
-
},
|
|
135
|
-
"$extensions": {
|
|
136
|
-
"codex.tier": "primitive"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"motion": {
|
|
143
|
-
"duration": {
|
|
144
|
-
"$type": "duration",
|
|
145
|
-
"instant": {
|
|
146
|
-
"$value": "{primitive.motion.duration.0}",
|
|
147
|
-
"$description": "Theme changes, focus rings, and every duration under prefers-reduced-motion."
|
|
148
|
-
},
|
|
149
|
-
"fast": {
|
|
150
|
-
"$value": "{primitive.motion.duration.1}",
|
|
151
|
-
"$description": "Hover and press feedback: colour, border, the button-arrow nudge."
|
|
152
|
-
},
|
|
153
|
-
"base": {
|
|
154
|
-
"$value": "{primitive.motion.duration.2}",
|
|
155
|
-
"$description": "Disclosures (details, TOC) and the active-section marker."
|
|
156
|
-
},
|
|
157
|
-
"slow": {
|
|
158
|
-
"$value": "{primitive.motion.duration.3}",
|
|
159
|
-
"$description": "One-off confirmations such as a copied state settling. Rare."
|
|
160
|
-
},
|
|
161
|
-
"plate": {
|
|
162
|
-
"$value": "{primitive.motion.duration.4}",
|
|
163
|
-
"$description": "The specimen plate's single draw-in on load. Decoration only; never for content."
|
|
164
|
-
},
|
|
165
|
-
"drift": {
|
|
166
|
-
"$value": "{primitive.motion.duration.6}",
|
|
167
|
-
"$description": "Time the contour terrain (the backdrop, or the specimen plate) takes to drift one noise unit, so its lines reshape slowly and continuously. The only looping motion in the system: one contour field per page, with a visible pause control, stopped under prefers-reduced-motion."
|
|
168
|
-
},
|
|
169
|
-
"pulse": {
|
|
170
|
-
"$value": "{primitive.motion.duration.5}",
|
|
171
|
-
"$description": "One full cycle of the specimen plate's outward pulse. The only looping motion in the system; it must have a visible pause control and stop under prefers-reduced-motion.",
|
|
172
|
-
"$deprecated": "Unused since the contour plate; removed in 2.0.0."
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"easing": {
|
|
176
|
-
"$type": "cubicBezier",
|
|
177
|
-
"standard": {
|
|
178
|
-
"$value": "{primitive.motion.easing.out-strong}",
|
|
179
|
-
"$description": "Default for state changes."
|
|
180
|
-
},
|
|
181
|
-
"enter": {
|
|
182
|
-
"$value": "{primitive.motion.easing.decelerate}",
|
|
183
|
-
"$description": "Elements appearing: disclosures opening, a toast arriving."
|
|
184
|
-
},
|
|
185
|
-
"exit": {
|
|
186
|
-
"$value": "{primitive.motion.easing.accelerate}",
|
|
187
|
-
"$description": "Elements leaving."
|
|
188
|
-
},
|
|
189
|
-
"linear": {
|
|
190
|
-
"$value": "{primitive.motion.easing.linear}",
|
|
191
|
-
"$description": "Staggered decoration (the plate's contour draw-in) and progress only. The plate's drift is linear too."
|
|
192
|
-
},
|
|
193
|
-
"pulse": {
|
|
194
|
-
"$value": "{primitive.motion.easing.in-out}",
|
|
195
|
-
"$description": "Symmetric ease for looping decoration (the plate pulse), so growth and shrink feel even. Never for state changes.",
|
|
196
|
-
"$deprecated": "Unused since the contour plate; removed in 2.0.0."
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"distance": {
|
|
200
|
-
"$type": "dimension",
|
|
201
|
-
"nudge": {
|
|
202
|
-
"$value": "{primitive.motion.distance.1}",
|
|
203
|
-
"$description": "The only allowed translation: a button arrow moving forward on hover. Text never moves."
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"primitive": {
|
|
3
|
+
"motion": {
|
|
4
|
+
"duration": {
|
|
5
|
+
"$type": "duration",
|
|
6
|
+
"0": {
|
|
7
|
+
"$value": {
|
|
8
|
+
"value": 0,
|
|
9
|
+
"unit": "ms"
|
|
10
|
+
},
|
|
11
|
+
"$extensions": {
|
|
12
|
+
"codex.tier": "primitive"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"1": {
|
|
16
|
+
"$value": {
|
|
17
|
+
"value": 120,
|
|
18
|
+
"unit": "ms"
|
|
19
|
+
},
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"codex.tier": "primitive"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"2": {
|
|
25
|
+
"$value": {
|
|
26
|
+
"value": 200,
|
|
27
|
+
"unit": "ms"
|
|
28
|
+
},
|
|
29
|
+
"$extensions": {
|
|
30
|
+
"codex.tier": "primitive"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"3": {
|
|
34
|
+
"$value": {
|
|
35
|
+
"value": 320,
|
|
36
|
+
"unit": "ms"
|
|
37
|
+
},
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"codex.tier": "primitive"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"4": {
|
|
43
|
+
"$value": {
|
|
44
|
+
"value": 1600,
|
|
45
|
+
"unit": "ms"
|
|
46
|
+
},
|
|
47
|
+
"$extensions": {
|
|
48
|
+
"codex.tier": "primitive"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"5": {
|
|
52
|
+
"$value": {
|
|
53
|
+
"value": 3200,
|
|
54
|
+
"unit": "ms"
|
|
55
|
+
},
|
|
56
|
+
"$extensions": {
|
|
57
|
+
"codex.tier": "primitive"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"6": {
|
|
61
|
+
"$value": {
|
|
62
|
+
"value": 60000,
|
|
63
|
+
"unit": "ms"
|
|
64
|
+
},
|
|
65
|
+
"$extensions": {
|
|
66
|
+
"codex.tier": "primitive"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"easing": {
|
|
71
|
+
"$type": "cubicBezier",
|
|
72
|
+
"out-strong": {
|
|
73
|
+
"$value": [
|
|
74
|
+
0.2,
|
|
75
|
+
0,
|
|
76
|
+
0,
|
|
77
|
+
1
|
|
78
|
+
],
|
|
79
|
+
"$extensions": {
|
|
80
|
+
"codex.tier": "primitive"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"decelerate": {
|
|
84
|
+
"$value": [
|
|
85
|
+
0,
|
|
86
|
+
0,
|
|
87
|
+
0.2,
|
|
88
|
+
1
|
|
89
|
+
],
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"codex.tier": "primitive"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"accelerate": {
|
|
95
|
+
"$value": [
|
|
96
|
+
0.4,
|
|
97
|
+
0,
|
|
98
|
+
1,
|
|
99
|
+
1
|
|
100
|
+
],
|
|
101
|
+
"$extensions": {
|
|
102
|
+
"codex.tier": "primitive"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"linear": {
|
|
106
|
+
"$value": [
|
|
107
|
+
0,
|
|
108
|
+
0,
|
|
109
|
+
1,
|
|
110
|
+
1
|
|
111
|
+
],
|
|
112
|
+
"$extensions": {
|
|
113
|
+
"codex.tier": "primitive"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"in-out": {
|
|
117
|
+
"$value": [
|
|
118
|
+
0.45,
|
|
119
|
+
0,
|
|
120
|
+
0.55,
|
|
121
|
+
1
|
|
122
|
+
],
|
|
123
|
+
"$extensions": {
|
|
124
|
+
"codex.tier": "primitive"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"distance": {
|
|
129
|
+
"$type": "dimension",
|
|
130
|
+
"1": {
|
|
131
|
+
"$value": {
|
|
132
|
+
"value": 0.125,
|
|
133
|
+
"unit": "rem"
|
|
134
|
+
},
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"codex.tier": "primitive"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"motion": {
|
|
143
|
+
"duration": {
|
|
144
|
+
"$type": "duration",
|
|
145
|
+
"instant": {
|
|
146
|
+
"$value": "{primitive.motion.duration.0}",
|
|
147
|
+
"$description": "Theme changes, focus rings, and every duration under prefers-reduced-motion."
|
|
148
|
+
},
|
|
149
|
+
"fast": {
|
|
150
|
+
"$value": "{primitive.motion.duration.1}",
|
|
151
|
+
"$description": "Hover and press feedback: colour, border, the button-arrow nudge."
|
|
152
|
+
},
|
|
153
|
+
"base": {
|
|
154
|
+
"$value": "{primitive.motion.duration.2}",
|
|
155
|
+
"$description": "Disclosures (details, TOC) and the active-section marker."
|
|
156
|
+
},
|
|
157
|
+
"slow": {
|
|
158
|
+
"$value": "{primitive.motion.duration.3}",
|
|
159
|
+
"$description": "One-off confirmations such as a copied state settling. Rare."
|
|
160
|
+
},
|
|
161
|
+
"plate": {
|
|
162
|
+
"$value": "{primitive.motion.duration.4}",
|
|
163
|
+
"$description": "The specimen plate's single draw-in on load. Decoration only; never for content."
|
|
164
|
+
},
|
|
165
|
+
"drift": {
|
|
166
|
+
"$value": "{primitive.motion.duration.6}",
|
|
167
|
+
"$description": "Time the contour terrain (the backdrop, or the specimen plate) takes to drift one noise unit, so its lines reshape slowly and continuously. The only looping motion in the system: one contour field per page, with a visible pause control, stopped under prefers-reduced-motion."
|
|
168
|
+
},
|
|
169
|
+
"pulse": {
|
|
170
|
+
"$value": "{primitive.motion.duration.5}",
|
|
171
|
+
"$description": "One full cycle of the specimen plate's outward pulse. The only looping motion in the system; it must have a visible pause control and stop under prefers-reduced-motion.",
|
|
172
|
+
"$deprecated": "Unused since the contour plate; removed in 2.0.0."
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"easing": {
|
|
176
|
+
"$type": "cubicBezier",
|
|
177
|
+
"standard": {
|
|
178
|
+
"$value": "{primitive.motion.easing.out-strong}",
|
|
179
|
+
"$description": "Default for state changes."
|
|
180
|
+
},
|
|
181
|
+
"enter": {
|
|
182
|
+
"$value": "{primitive.motion.easing.decelerate}",
|
|
183
|
+
"$description": "Elements appearing: disclosures opening, a toast arriving."
|
|
184
|
+
},
|
|
185
|
+
"exit": {
|
|
186
|
+
"$value": "{primitive.motion.easing.accelerate}",
|
|
187
|
+
"$description": "Elements leaving."
|
|
188
|
+
},
|
|
189
|
+
"linear": {
|
|
190
|
+
"$value": "{primitive.motion.easing.linear}",
|
|
191
|
+
"$description": "Staggered decoration (the plate's contour draw-in) and progress only. The plate's drift is linear too."
|
|
192
|
+
},
|
|
193
|
+
"pulse": {
|
|
194
|
+
"$value": "{primitive.motion.easing.in-out}",
|
|
195
|
+
"$description": "Symmetric ease for looping decoration (the plate pulse), so growth and shrink feel even. Never for state changes.",
|
|
196
|
+
"$deprecated": "Unused since the contour plate; removed in 2.0.0."
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"distance": {
|
|
200
|
+
"$type": "dimension",
|
|
201
|
+
"nudge": {
|
|
202
|
+
"$value": "{primitive.motion.distance.1}",
|
|
203
|
+
"$description": "The only allowed translation: a button arrow moving forward on hover. Text never moves."
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
package/tokens/radius.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"primitive": {
|
|
3
|
-
"radius": {
|
|
4
|
-
"$type": "dimension",
|
|
5
|
-
"0": {
|
|
6
|
-
"$value": {
|
|
7
|
-
"value": 0,
|
|
8
|
-
"unit": "px"
|
|
9
|
-
},
|
|
10
|
-
"$extensions": {
|
|
11
|
-
"codex.tier": "primitive"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"1": {
|
|
15
|
-
"$value": {
|
|
16
|
-
"value": 2,
|
|
17
|
-
"unit": "px"
|
|
18
|
-
},
|
|
19
|
-
"$extensions": {
|
|
20
|
-
"codex.tier": "primitive"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"full": {
|
|
24
|
-
"$value": {
|
|
25
|
-
"value": 9999,
|
|
26
|
-
"unit": "px"
|
|
27
|
-
},
|
|
28
|
-
"$extensions": {
|
|
29
|
-
"codex.tier": "primitive"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"radius": {
|
|
35
|
-
"$type": "dimension",
|
|
36
|
-
"none": {
|
|
37
|
-
"$value": "{primitive.radius.0}",
|
|
38
|
-
"$description": "Default for every structural object: cards, labels, tags, tables, code, figures, callouts."
|
|
39
|
-
},
|
|
40
|
-
"control": {
|
|
41
|
-
"$value": "{primitive.radius.0}",
|
|
42
|
-
"$description": "Non-button controls: text inputs, selects and keyboard keys. Square, to match structure; kept separate so form controls can change without touching cards."
|
|
43
|
-
},
|
|
44
|
-
"pill": {
|
|
45
|
-
"$value": "{primitive.radius.full}",
|
|
46
|
-
"$description": "Buttons and icon-only controls, and nothing else: cx-button (primary, secondary, disabled), the code copy button, the theme toggle and heading anchors. The one rounded shape in the system, so a pill always means something you can press. Never on cards, tags, labels, tooltips, nav items or inputs."
|
|
47
|
-
},
|
|
48
|
-
"round": {
|
|
49
|
-
"$value": "{primitive.radius.full}",
|
|
50
|
-
"$description": "Status dots and the toggle thumb only. Never on text containers."
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"primitive": {
|
|
3
|
+
"radius": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"0": {
|
|
6
|
+
"$value": {
|
|
7
|
+
"value": 0,
|
|
8
|
+
"unit": "px"
|
|
9
|
+
},
|
|
10
|
+
"$extensions": {
|
|
11
|
+
"codex.tier": "primitive"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"1": {
|
|
15
|
+
"$value": {
|
|
16
|
+
"value": 2,
|
|
17
|
+
"unit": "px"
|
|
18
|
+
},
|
|
19
|
+
"$extensions": {
|
|
20
|
+
"codex.tier": "primitive"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"full": {
|
|
24
|
+
"$value": {
|
|
25
|
+
"value": 9999,
|
|
26
|
+
"unit": "px"
|
|
27
|
+
},
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"codex.tier": "primitive"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"radius": {
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"none": {
|
|
37
|
+
"$value": "{primitive.radius.0}",
|
|
38
|
+
"$description": "Default for every structural object: cards, labels, tags, tables, code, figures, callouts."
|
|
39
|
+
},
|
|
40
|
+
"control": {
|
|
41
|
+
"$value": "{primitive.radius.0}",
|
|
42
|
+
"$description": "Non-button controls: text inputs, selects and keyboard keys. Square, to match structure; kept separate so form controls can change without touching cards."
|
|
43
|
+
},
|
|
44
|
+
"pill": {
|
|
45
|
+
"$value": "{primitive.radius.full}",
|
|
46
|
+
"$description": "Buttons and icon-only controls, and nothing else: cx-button (primary, secondary, disabled), the code copy button, the theme toggle and heading anchors. The one rounded shape in the system, so a pill always means something you can press. Never on cards, tags, labels, tooltips, nav items or inputs."
|
|
47
|
+
},
|
|
48
|
+
"round": {
|
|
49
|
+
"$value": "{primitive.radius.full}",
|
|
50
|
+
"$description": "Status dots and the toggle thumb only. Never on text containers."
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|