@tanrei/mcp 0.0.0-stage → 0.1.0-next.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/LICENSE +202 -0
- package/NOTICE +58 -0
- package/README.md +135 -2
- package/bin/tanrei-mcp.js +15 -0
- package/dist/server.js +3008 -0
- package/dist/vocabulary/docs/governance/mimicry-gaps.json +592 -0
- package/dist/vocabulary/tanrei.config.json +23 -0
- package/dist/vocabulary/tokens/AGENTS.md +15 -0
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +436 -0
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +211 -0
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +187 -0
- package/dist/vocabulary/tokens/comp/badge.tokens.json +100 -0
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +256 -0
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +118 -0
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +582 -0
- package/dist/vocabulary/tokens/comp/button.tokens.json +1102 -0
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +490 -0
- package/dist/vocabulary/tokens/comp/callout.tokens.json +754 -0
- package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +409 -0
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +309 -0
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +591 -0
- package/dist/vocabulary/tokens/comp/chip.tokens.json +665 -0
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +459 -0
- package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +587 -0
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +39 -0
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +766 -0
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +181 -0
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +280 -0
- package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
- package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
- package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
- package/dist/vocabulary/tokens/comp/fab-menu.tokens.json +509 -0
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +191 -0
- package/dist/vocabulary/tokens/comp/field.tokens.json +279 -0
- package/dist/vocabulary/tokens/comp/figure.tokens.json +215 -0
- package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
- package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
- package/dist/vocabulary/tokens/comp/file-upload.tokens.json +35 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +297 -0
- package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +938 -0
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +192 -0
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +301 -0
- package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +447 -0
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +345 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +919 -0
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +228 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +479 -0
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +770 -0
- package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +254 -0
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +231 -0
- package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/popover.tokens.json +292 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/prose.tokens.json +267 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +417 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +675 -0
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +360 -0
- package/dist/vocabulary/tokens/comp/select.tokens.json +553 -0
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +285 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +111 -0
- package/dist/vocabulary/tokens/comp/slider.tokens.json +435 -0
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1334 -0
- package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +349 -0
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +404 -0
- package/dist/vocabulary/tokens/comp/table.tokens.json +442 -0
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +970 -0
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +57 -0
- package/dist/vocabulary/tokens/comp/tag.tokens.json +527 -0
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +243 -0
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +155 -0
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +415 -0
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +393 -0
- package/dist/vocabulary/tokens/dial/dial.tokens.json +117 -0
- package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +68 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +178 -0
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +67 -0
- package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
- package/dist/vocabulary/tokens/generated/m3-expressive-like/fidelity.json +99 -0
- package/dist/vocabulary/tokens/generated/m3-like/fidelity.json +24 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +278 -0
- package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
- package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
- package/dist/vocabulary/tokens/schema/system.schema.json +570 -0
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +119 -0
- package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
- package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
- package/dist/vocabulary/tokens/sys/measure.tokens.json +358 -0
- package/dist/vocabulary/tokens/sys/motion.tokens.json +949 -0
- package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
- package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
- package/dist/vocabulary/tokens/sys/state.tokens.json +70 -0
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +640 -0
- package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +83 -0
- package/dist/vocabulary/tokens/systems/m3-like.system.json +855 -0
- package/dist/vocabulary/tokens/systems/tanrei.system.json +409 -0
- package/dist/vocabulary/tokens/tanrei.resolver.json +358 -0
- package/dist/vocabulary/tokens/vocabulary.lock.json +7052 -0
- package/package.json +36 -3
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"segmented-button": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product lets people pick one or several of a few related options (a range, a view, days of the week) from a joined row of segments, at the heights of its buttons, some segments with icons or icon-only, some disabled.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"unselected",
|
|
13
|
+
"selected"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"container.elevation": "shadow",
|
|
24
|
+
"label.color": "color",
|
|
25
|
+
"icon.color": "color",
|
|
26
|
+
"state-layer.color": "color"
|
|
27
|
+
},
|
|
28
|
+
"perComponent": {
|
|
29
|
+
"opacity": "number",
|
|
30
|
+
"container.shape": "dimension"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"dev.tanrei.llm": {
|
|
34
|
+
"usage": "Everything a segmented button reads: the set (fill, outline, outer corners, inner padding), the dividers between segments, per size a segment's height, paddings, gap, label style, icon and check sizes, the corners where segments meet, the motion, and for each condition (unselected, selected) the colors and elevation of a segment in each state.",
|
|
35
|
+
"rules": [
|
|
36
|
+
"Use a segmented button to choose among two to five options of one setting; use a button group for actions and tabs for views.",
|
|
37
|
+
"Selected must differ from unselected by more than color: the default shows a check; a system that sets check.size to 0 must raise or fill the selected segment so that it stands apart.",
|
|
38
|
+
"The set's outline and dividers keep their colors in every state, so a disabled segment keeps a visible boundary.",
|
|
39
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
40
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into a segment; it aliases that condition's label color.",
|
|
41
|
+
"Heights are minimums: a height must hold 2 × padding-block + one label line, and the build reports it when it does not."
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"dev.tanrei.axes": {
|
|
45
|
+
"size": {
|
|
46
|
+
"default": "medium",
|
|
47
|
+
"values": [
|
|
48
|
+
"small",
|
|
49
|
+
"medium",
|
|
50
|
+
"large"
|
|
51
|
+
],
|
|
52
|
+
"members": [
|
|
53
|
+
"container.height",
|
|
54
|
+
"container.padding-inline",
|
|
55
|
+
"container.padding-block",
|
|
56
|
+
"container.gap",
|
|
57
|
+
"label.typescale",
|
|
58
|
+
"icon.size",
|
|
59
|
+
"check.size"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"condition": {
|
|
63
|
+
"default": "unselected",
|
|
64
|
+
"from": "states"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"set": {
|
|
69
|
+
"color": {
|
|
70
|
+
"$type": "color",
|
|
71
|
+
"$value": {
|
|
72
|
+
"colorSpace": "srgb",
|
|
73
|
+
"components": [
|
|
74
|
+
0,
|
|
75
|
+
0,
|
|
76
|
+
0
|
|
77
|
+
],
|
|
78
|
+
"alpha": 0,
|
|
79
|
+
"hex": "#000000"
|
|
80
|
+
},
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"dev.tanrei.derive": {
|
|
83
|
+
"fixed": "The default set has no fill of its own; the surface behind it shows through. A system with a track (a filled set with the selection floating in it) values it."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"$description": "The fill behind the segments."
|
|
87
|
+
},
|
|
88
|
+
"shape": {
|
|
89
|
+
"$type": "dimension",
|
|
90
|
+
"$value": "{tanrei.sys.shape.corner.small}",
|
|
91
|
+
"$description": "The set's outer corners, and so the first and last segments' outer corners."
|
|
92
|
+
},
|
|
93
|
+
"padding": {
|
|
94
|
+
"$type": "dimension",
|
|
95
|
+
"$value": "{tanrei.sys.space.space0}",
|
|
96
|
+
"$description": "The inset of the segments from the set's edge: 0 joins them to the outline; a system whose selection floats inside a track insets them."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"outline": {
|
|
100
|
+
"color": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "{tanrei.sys.color.outline}",
|
|
103
|
+
"$description": "The border around the set: a functional 3:1 boundary, as an outlined button's."
|
|
104
|
+
},
|
|
105
|
+
"width": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"divider": {
|
|
111
|
+
"color": {
|
|
112
|
+
"$type": "color",
|
|
113
|
+
"$value": "{tanrei.sys.color.outline}",
|
|
114
|
+
"$description": "The line between two segments, the same as the outline by default so the set reads as one outlined shape cut into segments."
|
|
115
|
+
},
|
|
116
|
+
"width": {
|
|
117
|
+
"$type": "dimension",
|
|
118
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"container": {
|
|
122
|
+
"shape": {
|
|
123
|
+
"$type": "dimension",
|
|
124
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
125
|
+
"$description": "The corners where a segment meets its neighbours (the outer corners of the end segments follow set.shape)."
|
|
126
|
+
},
|
|
127
|
+
"height": {
|
|
128
|
+
"$type": "dimension",
|
|
129
|
+
"$description": "Minimum height of the set and of every segment, per size.",
|
|
130
|
+
"small": {
|
|
131
|
+
"$value": {
|
|
132
|
+
"value": 32,
|
|
133
|
+
"unit": "px"
|
|
134
|
+
},
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"dev.tanrei.derive": {
|
|
137
|
+
"fn": "mul",
|
|
138
|
+
"of": "{tanrei.dial.size.unit}",
|
|
139
|
+
"by": 8
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"medium": {
|
|
144
|
+
"$value": {
|
|
145
|
+
"value": 36,
|
|
146
|
+
"unit": "px"
|
|
147
|
+
},
|
|
148
|
+
"$extensions": {
|
|
149
|
+
"dev.tanrei.derive": {
|
|
150
|
+
"fn": "mul",
|
|
151
|
+
"of": "{tanrei.dial.size.unit}",
|
|
152
|
+
"by": 9
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"large": {
|
|
157
|
+
"$value": {
|
|
158
|
+
"value": 40,
|
|
159
|
+
"unit": "px"
|
|
160
|
+
},
|
|
161
|
+
"$extensions": {
|
|
162
|
+
"dev.tanrei.derive": {
|
|
163
|
+
"fn": "mul",
|
|
164
|
+
"of": "{tanrei.dial.size.unit}",
|
|
165
|
+
"by": 10
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"padding-inline": {
|
|
171
|
+
"$type": "dimension",
|
|
172
|
+
"$description": "Space between a segment's content and its sides, per size.",
|
|
173
|
+
"small": {
|
|
174
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
175
|
+
},
|
|
176
|
+
"medium": {
|
|
177
|
+
"$value": "{tanrei.sys.space.space175}"
|
|
178
|
+
},
|
|
179
|
+
"large": {
|
|
180
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"padding-block": {
|
|
184
|
+
"$type": "dimension",
|
|
185
|
+
"$description": "Vertical padding, per size. Heights are minimums, so this shows only when a label wraps or text is enlarged.",
|
|
186
|
+
"small": {
|
|
187
|
+
"$value": "{tanrei.sys.space.space75}"
|
|
188
|
+
},
|
|
189
|
+
"medium": {
|
|
190
|
+
"$value": "{tanrei.sys.space.space75}"
|
|
191
|
+
},
|
|
192
|
+
"large": {
|
|
193
|
+
"$value": "{tanrei.sys.space.space75}"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"gap": {
|
|
197
|
+
"$type": "dimension",
|
|
198
|
+
"$description": "Space between the leading glyph and the label, per size.",
|
|
199
|
+
"small": {
|
|
200
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
201
|
+
},
|
|
202
|
+
"medium": {
|
|
203
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
204
|
+
},
|
|
205
|
+
"large": {
|
|
206
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"label": {
|
|
211
|
+
"typescale": {
|
|
212
|
+
"$type": "typography",
|
|
213
|
+
"$description": "The label's text style, per size.",
|
|
214
|
+
"small": {
|
|
215
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
216
|
+
},
|
|
217
|
+
"medium": {
|
|
218
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
219
|
+
},
|
|
220
|
+
"large": {
|
|
221
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"icon": {
|
|
226
|
+
"size": {
|
|
227
|
+
"$type": "dimension",
|
|
228
|
+
"$description": "The icon box, per size.",
|
|
229
|
+
"small": {
|
|
230
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
231
|
+
},
|
|
232
|
+
"medium": {
|
|
233
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
234
|
+
},
|
|
235
|
+
"large": {
|
|
236
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"check": {
|
|
241
|
+
"size": {
|
|
242
|
+
"$type": "dimension",
|
|
243
|
+
"$description": "The check's box, per size. 0 draws no check and reserves no room for it (a system whose selected segment is told apart by its fill and elevation).",
|
|
244
|
+
"small": {
|
|
245
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
246
|
+
},
|
|
247
|
+
"medium": {
|
|
248
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
249
|
+
},
|
|
250
|
+
"large": {
|
|
251
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"unselected": {
|
|
256
|
+
"container": {
|
|
257
|
+
"color": {
|
|
258
|
+
"$type": "color",
|
|
259
|
+
"$value": {
|
|
260
|
+
"colorSpace": "srgb",
|
|
261
|
+
"components": [
|
|
262
|
+
0,
|
|
263
|
+
0,
|
|
264
|
+
0
|
|
265
|
+
],
|
|
266
|
+
"alpha": 0,
|
|
267
|
+
"hex": "#000000"
|
|
268
|
+
},
|
|
269
|
+
"$extensions": {
|
|
270
|
+
"dev.tanrei.derive": {
|
|
271
|
+
"fixed": "An unselected segment has no fill; the set shows through."
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"elevation": {
|
|
276
|
+
"$type": "shadow",
|
|
277
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"label": {
|
|
281
|
+
"color": {
|
|
282
|
+
"$type": "color",
|
|
283
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"icon": {
|
|
287
|
+
"color": {
|
|
288
|
+
"$type": "color",
|
|
289
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
290
|
+
"$description": "The icon, and the check of a selected segment."
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"state-layer": {
|
|
294
|
+
"color": {
|
|
295
|
+
"$type": "color",
|
|
296
|
+
"$value": "{tanrei.comp.segmented-button.unselected.label.color}",
|
|
297
|
+
"$description": "The color hover, focus and press mix into the segment: its label color."
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"selected": {
|
|
302
|
+
"container": {
|
|
303
|
+
"color": {
|
|
304
|
+
"$type": "color",
|
|
305
|
+
"$value": "{tanrei.sys.color.secondary-container}"
|
|
306
|
+
},
|
|
307
|
+
"elevation": {
|
|
308
|
+
"$type": "shadow",
|
|
309
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"label": {
|
|
313
|
+
"color": {
|
|
314
|
+
"$type": "color",
|
|
315
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"icon": {
|
|
319
|
+
"color": {
|
|
320
|
+
"$type": "color",
|
|
321
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
322
|
+
"$description": "The icon, and the check of a selected segment."
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"state-layer": {
|
|
326
|
+
"color": {
|
|
327
|
+
"$type": "color",
|
|
328
|
+
"$value": "{tanrei.comp.segmented-button.selected.label.color}",
|
|
329
|
+
"$description": "The color hover, focus and press mix into the segment: its label color."
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"motion": {
|
|
334
|
+
"state-duration": {
|
|
335
|
+
"$type": "duration",
|
|
336
|
+
"$value": "{tanrei.sys.motion.duration.short3}"
|
|
337
|
+
},
|
|
338
|
+
"state-easing": {
|
|
339
|
+
"$type": "cubicBezier",
|
|
340
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
341
|
+
},
|
|
342
|
+
"feedback-duration": {
|
|
343
|
+
"$type": "duration",
|
|
344
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
345
|
+
"$description": "How long the ripple takes to spread."
|
|
346
|
+
},
|
|
347
|
+
"selection-duration": {
|
|
348
|
+
"$type": "duration",
|
|
349
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-effects.duration}",
|
|
350
|
+
"$description": "The check appearing or leaving and the segment changing to or from the selected colors."
|
|
351
|
+
},
|
|
352
|
+
"selection-easing": {
|
|
353
|
+
"$type": "cubicBezier",
|
|
354
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-effects.easing}"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|