@tanrei/mcp 0.1.0-next.0 → 0.1.0-next.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.
- package/NOTICE +4 -5
- package/README.md +21 -6
- package/bin/tanrei-mcp.js +3 -3
- package/dist/server.js +2218 -711
- package/dist/vocabulary/docs/governance/mimicry-gaps.json +95 -21
- package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
- package/dist/vocabulary/specs/accordion.spec.json +1 -0
- package/dist/vocabulary/specs/app-bar.spec.json +1 -0
- package/dist/vocabulary/specs/app-shell.spec.json +1 -0
- package/dist/vocabulary/specs/avatar.spec.json +1 -0
- package/dist/vocabulary/specs/badge.spec.json +1 -0
- package/dist/vocabulary/specs/bottom-sheet.spec.json +1 -0
- package/dist/vocabulary/specs/breadcrumbs.spec.json +1 -0
- package/dist/vocabulary/specs/button-group.spec.json +1 -0
- package/dist/vocabulary/specs/button-with-menu.spec.json +1 -0
- package/dist/vocabulary/specs/button.spec.json +1 -0
- package/dist/vocabulary/specs/calendar.spec.json +1 -0
- package/dist/vocabulary/specs/callout.spec.json +1 -0
- package/dist/vocabulary/specs/card.spec.json +1 -0
- package/dist/vocabulary/specs/carousel.spec.json +1 -0
- package/dist/vocabulary/specs/chat-composer.spec.json +1 -0
- package/dist/vocabulary/specs/checkbox-group.spec.json +1 -0
- package/dist/vocabulary/specs/checkbox.spec.json +1 -0
- package/dist/vocabulary/specs/chip-field.spec.json +1 -0
- package/dist/vocabulary/specs/chip.spec.json +1 -0
- package/dist/vocabulary/specs/code-block.spec.json +1 -0
- package/dist/vocabulary/specs/color-field.spec.json +1 -0
- package/dist/vocabulary/specs/color-input.spec.json +1 -0
- package/dist/vocabulary/specs/combobox-field.spec.json +1 -0
- package/dist/vocabulary/specs/combobox.spec.json +1 -0
- package/dist/vocabulary/specs/component.schema.json +1 -0
- package/dist/vocabulary/specs/copy-button.spec.json +1 -0
- package/dist/vocabulary/specs/date-time-picker.spec.json +1 -0
- package/dist/vocabulary/specs/description-list.spec.json +1 -0
- package/dist/vocabulary/specs/dialog.spec.json +1 -0
- package/dist/vocabulary/specs/divider.spec.json +1 -0
- package/dist/vocabulary/specs/drop-zone.spec.json +1 -0
- package/dist/vocabulary/specs/embedded-text-input.spec.json +1 -0
- package/dist/vocabulary/specs/empty-state.spec.json +1 -0
- package/dist/vocabulary/specs/fab-menu.spec.json +1 -0
- package/dist/vocabulary/specs/field-group.spec.json +1 -0
- package/dist/vocabulary/specs/field.spec.json +1 -0
- package/dist/vocabulary/specs/figure.spec.json +1 -0
- package/dist/vocabulary/specs/file-item.spec.json +1 -0
- package/dist/vocabulary/specs/file-picker.spec.json +1 -0
- package/dist/vocabulary/specs/file-upload.spec.json +1 -0
- package/dist/vocabulary/specs/handle.spec.json +1 -0
- package/dist/vocabulary/specs/image-preview.spec.json +1 -0
- package/dist/vocabulary/specs/inline-code.spec.json +1 -0
- package/dist/vocabulary/specs/inventory.json +1 -0
- package/dist/vocabulary/specs/keyboard-shortcut.spec.json +1 -0
- package/dist/vocabulary/specs/link-card.spec.json +1 -0
- package/dist/vocabulary/specs/link.spec.json +1 -0
- package/dist/vocabulary/specs/list-row.spec.json +1 -0
- package/dist/vocabulary/specs/list.spec.json +1 -0
- package/dist/vocabulary/specs/loading-indicator.spec.json +1 -0
- package/dist/vocabulary/specs/main-action-button.spec.json +1 -0
- package/dist/vocabulary/specs/marquee-text.spec.json +1 -0
- package/dist/vocabulary/specs/menu.spec.json +1 -0
- package/dist/vocabulary/specs/menubar.spec.json +1 -0
- package/dist/vocabulary/specs/meter.spec.json +1 -0
- package/dist/vocabulary/specs/modal-layer.spec.json +1 -0
- package/dist/vocabulary/specs/navigation-bar.spec.json +1 -0
- package/dist/vocabulary/specs/navigation-drawer.spec.json +1 -0
- package/dist/vocabulary/specs/number-field.spec.json +1 -0
- package/dist/vocabulary/specs/number-input.spec.json +1 -0
- package/dist/vocabulary/specs/number-ticker.spec.json +1 -0
- package/dist/vocabulary/specs/one-time-code-field.spec.json +1 -0
- package/dist/vocabulary/specs/one-time-code-input.spec.json +1 -0
- package/dist/vocabulary/specs/page-header.spec.json +1 -0
- package/dist/vocabulary/specs/pagination.spec.json +1 -0
- package/dist/vocabulary/specs/popover.spec.json +1 -0
- package/dist/vocabulary/specs/previous-next-links.spec.json +1 -0
- package/dist/vocabulary/specs/progress-indicator.spec.json +1 -0
- package/dist/vocabulary/specs/prose.spec.json +1 -0
- package/dist/vocabulary/specs/radio-button.spec.json +1 -0
- package/dist/vocabulary/specs/radio-group.spec.json +1 -0
- package/dist/vocabulary/specs/rating.spec.json +1 -0
- package/dist/vocabulary/specs/resizable-frame.spec.json +1 -0
- package/dist/vocabulary/specs/scroll-area.spec.json +1 -0
- package/dist/vocabulary/specs/search.spec.json +1 -0
- package/dist/vocabulary/specs/segmented-button.spec.json +1 -0
- package/dist/vocabulary/specs/select-field.spec.json +1 -0
- package/dist/vocabulary/specs/select.spec.json +1 -0
- package/dist/vocabulary/specs/side-sheet.spec.json +1 -0
- package/dist/vocabulary/specs/size-transition.spec.json +1 -0
- package/dist/vocabulary/specs/skeleton.spec.json +1 -0
- package/dist/vocabulary/specs/slider-field.spec.json +1 -0
- package/dist/vocabulary/specs/slider.spec.json +1 -0
- package/dist/vocabulary/specs/snackbar.spec.json +1 -0
- package/dist/vocabulary/specs/split-view.spec.json +1 -0
- package/dist/vocabulary/specs/stepper.spec.json +1 -0
- package/dist/vocabulary/specs/steps.spec.json +1 -0
- package/dist/vocabulary/specs/swatch.spec.json +1 -0
- package/dist/vocabulary/specs/switch.spec.json +1 -0
- package/dist/vocabulary/specs/tab-view.spec.json +1 -0
- package/dist/vocabulary/specs/table-of-contents.spec.json +1 -0
- package/dist/vocabulary/specs/table.spec.json +1 -0
- package/dist/vocabulary/specs/tabs.spec.json +1 -0
- package/dist/vocabulary/specs/tag-group.spec.json +1 -0
- package/dist/vocabulary/specs/tag.spec.json +1 -0
- package/dist/vocabulary/specs/text-field.spec.json +1 -0
- package/dist/vocabulary/specs/text-input.spec.json +1 -0
- package/dist/vocabulary/specs/timeline.spec.json +1 -0
- package/dist/vocabulary/specs/toolbar.spec.json +1 -0
- package/dist/vocabulary/specs/tooltip.spec.json +1 -0
- package/dist/vocabulary/specs/tree-view.spec.json +1 -0
- package/dist/vocabulary/tanrei.config.json +2 -1
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
- package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
- package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
- package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
- package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
- package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
- package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
- package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
- package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
- package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
- package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
- package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
- package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
- package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
- package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
- package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
- package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
- package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
- package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
- package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
- package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
- package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
- package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
- package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
- package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
- package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
- package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
- package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
- package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
- package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
- package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
- package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
- package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
- package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
- package/dist/vocabulary/tokens/generated/cupertino/components.json +1749 -0
- package/dist/vocabulary/tokens/generated/cupertino/fidelity.json +162 -0
- package/dist/vocabulary/tokens/generated/m3-like/components.json +1761 -0
- package/dist/vocabulary/tokens/generated/m3-like/fidelity.json +182 -12
- package/dist/vocabulary/tokens/generated/tanrei/components.json +1764 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
- package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
- package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
- package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
- package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
- package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
- package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
- package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
- package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
- package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
- package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
- package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
- package/package.json +22 -6
- package/dist/vocabulary/tokens/AGENTS.md +0 -15
- package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
- package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
- package/dist/vocabulary/tokens/generated/m3-expressive-like/fidelity.json +0 -99
- package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
- package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "How the m3-like preset is measured against its reference. Every reference token of a covered component is either MAPPED to something Tanrei resolves — and must then be equal — or listed under `unmapped` with the mimicry gap that explains it. `{variant}` and `{state}` are filled from the tables below. Kinds: equal (default) · level (the reference names an elevation level; Tanrei's token must alias the level of the same name) · state-layer (the reference gives a layer color and opacity; Tanrei's state color must equal that layer composited over the resting container) · with-opacity (a color and a separate opacity token; Tanrei's token is that color with its alpha multiplied).",
|
|
2
|
+
"$comment": "How the m3-like preset is measured against its reference. Every reference token of a covered component is either MAPPED to something Tanrei resolves — and must then be equal — or listed under `unmapped` with the mimicry gap that explains it. `{variant}` and `{state}` are filled from the tables below. Kinds: equal (default) · level (the reference names an elevation level; Tanrei's token must alias the level of the same name) · state-layer (the reference gives a layer color and opacity; Tanrei's state color must equal that layer composited over the resting container) · with-opacity (a color and a separate opacity token; Tanrei's token is that color with its alpha multiplied). Sizes: the androidx snapshot is keyed by size (one token object per size; `{size}` is the Tanrei size it maps to). Where material-web's older single-size button disagrees with it, the androidx value is current Material 3, and the material-web token says `superseded-by`.",
|
|
3
3
|
"system": "m3-like",
|
|
4
|
-
"reference":
|
|
5
|
-
|
|
4
|
+
"reference": [
|
|
5
|
+
"reference/material-web.json",
|
|
6
|
+
"reference/androidx-material3.json"
|
|
7
|
+
],
|
|
8
|
+
"scope": "Every color role and every text style material-web publishes, and Button (five variants) at its single size (40px, Material's default, = Tanrei's medium); from androidx, the five button sizes, the five icon button sizes (height, spaces, icon size, outline width, shape) and the loading indicator; and the size of the Buttons a host draws itself (close buttons, bar controls, a snackbar's and a picker's actions), by the size the reference's own component gives them.",
|
|
6
9
|
"colors": {
|
|
7
10
|
"$comment": "md.sys.color.<role> is compared with tanrei.sys.color.<role> in light and dark. `rename` lists roles whose Tanrei name differs.",
|
|
8
11
|
"rename": {},
|
|
@@ -40,6 +43,193 @@
|
|
|
40
43
|
"heading-6": "label"
|
|
41
44
|
}
|
|
42
45
|
},
|
|
46
|
+
"sizes": [
|
|
47
|
+
{
|
|
48
|
+
"$comment": "Button, at each of the five sizes, mapped by role: Material's small (40dp) is the size a button takes by default, as Tanrei's medium is, so its extra small, small and medium are Tanrei's small, medium and large, and its large and extra large are the two sizes m3-like adds above them.",
|
|
49
|
+
"objects": {
|
|
50
|
+
"ButtonXSmallTokens": "small",
|
|
51
|
+
"ButtonSmallTokens": "medium",
|
|
52
|
+
"ButtonMediumTokens": "large",
|
|
53
|
+
"ButtonLargeTokens": "xlarge",
|
|
54
|
+
"ButtonXLargeTokens": "xxlarge"
|
|
55
|
+
},
|
|
56
|
+
"map": [
|
|
57
|
+
{
|
|
58
|
+
"ref": "ContainerHeight",
|
|
59
|
+
"tanrei": "tanrei.comp.button.container.height.{size}"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"ref": "LeadingSpace",
|
|
63
|
+
"tanrei": "tanrei.comp.button.container.padding-inline-start.{size}"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"ref": "TrailingSpace",
|
|
67
|
+
"tanrei": "tanrei.comp.button.container.padding-inline-end.{size}"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"ref": "IconSize",
|
|
71
|
+
"tanrei": "tanrei.comp.button.icon.size.{size}"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"ref": "IconLabelSpace",
|
|
75
|
+
"tanrei": "tanrei.comp.button.container.gap.{size}"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"ref": "OutlinedOutlineWidth",
|
|
79
|
+
"tanrei": "tanrei.comp.button.outline.width.{size}"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"ref": "ContainerShapeRound",
|
|
83
|
+
"tanrei": "tanrei.comp.button.container.shape",
|
|
84
|
+
"kind": "shape"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"unmapped": [
|
|
88
|
+
{
|
|
89
|
+
"ref": "ContainerShapeSquare",
|
|
90
|
+
"gap": "button-shape-option"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"ref": "SelectedContainerShapeRound",
|
|
94
|
+
"gap": "button-shape-option"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"ref": "SelectedContainerShapeSquare",
|
|
98
|
+
"gap": "button-shape-option"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"ref": "PressedContainerShape",
|
|
102
|
+
"gap": "per-size-state-shape"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"$comment": "The icon button (Tanrei's icon-only Button) at each of the five sizes. Its default width is its height: the default space on each side of the glyph, twice, plus the glyph. Narrow is the glyph and padding-inline-narrow on each side; wide is container.width-wide.",
|
|
108
|
+
"objects": {
|
|
109
|
+
"XSmallIconButtonTokens": "small",
|
|
110
|
+
"SmallIconButtonTokens": "medium",
|
|
111
|
+
"MediumIconButtonTokens": "large",
|
|
112
|
+
"LargeIconButtonTokens": "xlarge",
|
|
113
|
+
"XLargeIconButtonTokens": "xxlarge"
|
|
114
|
+
},
|
|
115
|
+
"map": [
|
|
116
|
+
{
|
|
117
|
+
"ref": "ContainerHeight",
|
|
118
|
+
"tanrei": "tanrei.comp.button.container.height.{size}"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"ref": "IconSize",
|
|
122
|
+
"tanrei": "tanrei.comp.button.icon.size-without-label.{size}"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"ref": "DefaultLeadingSpace",
|
|
126
|
+
"tanrei": "tanrei.comp.button.container.height.{size}",
|
|
127
|
+
"kind": "across",
|
|
128
|
+
"glyph": "IconSize"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"ref": "DefaultTrailingSpace",
|
|
132
|
+
"covered-by": "DefaultLeadingSpace"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"ref": "UniformLeadingSpace",
|
|
136
|
+
"tanrei": "tanrei.comp.button.container.height.{size}",
|
|
137
|
+
"kind": "across",
|
|
138
|
+
"glyph": "IconSize",
|
|
139
|
+
"note": "The large icon button names its default space Uniform."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"ref": "UniformTrailingSpace",
|
|
143
|
+
"covered-by": "UniformLeadingSpace"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"ref": "NarrowLeadingSpace",
|
|
147
|
+
"tanrei": "tanrei.comp.button.container.padding-inline-narrow.{size}"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"ref": "NarrowTrailingSpace",
|
|
151
|
+
"covered-by": "NarrowLeadingSpace"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"ref": "WideLeadingSpace",
|
|
155
|
+
"tanrei": "tanrei.comp.button.container.width-wide.{size}",
|
|
156
|
+
"kind": "across",
|
|
157
|
+
"glyph": "IconSize"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"ref": "WideTrailingSpace",
|
|
161
|
+
"covered-by": "WideLeadingSpace"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"ref": "OutlinedOutlineWidth",
|
|
165
|
+
"tanrei": "tanrei.comp.button.outline.width.{size}"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"ref": "ContainerShapeRound",
|
|
169
|
+
"tanrei": "tanrei.comp.button.container.shape",
|
|
170
|
+
"kind": "shape"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"unmapped": [
|
|
174
|
+
{
|
|
175
|
+
"ref": "ContainerShapeSquare",
|
|
176
|
+
"gap": "button-shape-option"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"ref": "SelectedContainerShapeRound",
|
|
180
|
+
"gap": "button-shape-option"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"ref": "SelectedContainerShapeSquare",
|
|
184
|
+
"gap": "button-shape-option"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"ref": "PressedContainerShape",
|
|
188
|
+
"gap": "per-size-state-shape"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"$comment": "The loading indicator, at its one size (Tanrei's medium).",
|
|
194
|
+
"objects": {
|
|
195
|
+
"LoadingIndicatorTokens": "medium"
|
|
196
|
+
},
|
|
197
|
+
"map": [
|
|
198
|
+
{
|
|
199
|
+
"ref": "ActiveSize",
|
|
200
|
+
"tanrei": "tanrei.comp.loading-indicator.indicator.size.{size}"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"ref": "ContainerWidth",
|
|
204
|
+
"tanrei": "tanrei.comp.loading-indicator.container.size.{size}"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"ref": "ContainerHeight",
|
|
208
|
+
"covered-by": "ContainerWidth"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"ref": "ContainerShape",
|
|
212
|
+
"tanrei": "tanrei.comp.loading-indicator.container.shape",
|
|
213
|
+
"kind": "shape"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"ref": "ActiveIndicatorColor",
|
|
217
|
+
"tanrei": "tanrei.comp.loading-indicator.indicator.color",
|
|
218
|
+
"kind": "role"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"ref": "ContainedActiveColor",
|
|
222
|
+
"tanrei": "tanrei.comp.loading-indicator.contained.indicator.color",
|
|
223
|
+
"kind": "role"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"ref": "ContainedContainerColor",
|
|
227
|
+
"tanrei": "tanrei.comp.loading-indicator.contained.container.color",
|
|
228
|
+
"kind": "role"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
],
|
|
43
233
|
"components": {
|
|
44
234
|
"filled-button": "filled",
|
|
45
235
|
"filled-tonal-button": "tonal",
|
|
@@ -157,7 +347,8 @@
|
|
|
157
347
|
},
|
|
158
348
|
{
|
|
159
349
|
"ref": "with-icon-icon-size",
|
|
160
|
-
"
|
|
350
|
+
"superseded-by": "androidx.ButtonSmallTokens.IconSize",
|
|
351
|
+
"note": "material-web (v0_192) draws a button's icon at 18; current Material 3 draws a small button's at 20 (ButtonSmallTokens.IconSize), which m3-like follows."
|
|
161
352
|
},
|
|
162
353
|
{
|
|
163
354
|
"ref": "with-icon-icon-color",
|
|
@@ -174,5 +365,24 @@
|
|
|
174
365
|
"covered-by": "with-icon-{state}-icon-color"
|
|
175
366
|
}
|
|
176
367
|
],
|
|
177
|
-
"unmapped": []
|
|
368
|
+
"unmapped": [],
|
|
369
|
+
"hosts": {
|
|
370
|
+
"$comment": "The Buttons a component draws itself (a close button, a bar's controls, a snackbar's action), by the size the reference's own component gives them. Each Tanrei token names a Button size, which must be the one the `sizes` blocks map the reference object to (Material's default button and default icon button, 40dp, are Tanrei's medium); a plain dimension `tanrei` is compared with the object's ContainerHeight. Each entry is one measurement.",
|
|
371
|
+
"map": [
|
|
372
|
+
{ "tanrei": "tanrei.comp.popover.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
|
|
373
|
+
{ "tanrei": "tanrei.comp.side-sheet.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 side sheet: the close affordance is a standard icon button (m3.material.io/components/side-sheets/specs); androidx: IconButtonDefaults.smallContainerSize()." },
|
|
374
|
+
{ "tanrei": "tanrei.comp.callout.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
|
|
375
|
+
{ "tanrei": "tanrei.comp.bottom-sheet.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
|
|
376
|
+
{ "tanrei": "tanrei.comp.snackbar.close-button.size", "ref": "SmallIconButtonTokens", "source": "androidx Snackbar.kt: the dismiss action is the standard icon button, with no size of its own." },
|
|
377
|
+
{ "tanrei": "tanrei.comp.snackbar.controls.height", "ref": "ButtonSmallTokens", "source": "androidx Snackbar.kt: the action is a TextButton with no size of its own (ButtonDefaults.MinHeight, ButtonSmallTokens.ContainerHeight)." },
|
|
378
|
+
{ "tanrei": "tanrei.comp.image-preview.bar.button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 top app bar: its actions are standard icon buttons (AppBar.kt: an actions slot of standard icon buttons)." },
|
|
379
|
+
{ "tanrei": "tanrei.comp.image-preview.navigation.button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 has no image viewer; its standard icon button (IconButtonDefaults.smallContainerSize()) is the size of every icon action over content." },
|
|
380
|
+
{ "tanrei": "tanrei.comp.date-time-picker.actions.size", "ref": "ButtonSmallTokens", "source": "androidx DatePickerDialog and the time picker dialog samples: the confirm and dismiss actions are TextButtons with no size of their own (ButtonDefaults.MinHeight)." }
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
"evidence": {
|
|
384
|
+
"tanrei.comp.button.size.xlarge": "androidx.ButtonLargeTokens",
|
|
385
|
+
"tanrei.comp.button.size.xxlarge": "androidx.ButtonXLargeTokens",
|
|
386
|
+
"tanrei.comp.fab-menu": "androidx.FabMenuBaselineTokens"
|
|
387
|
+
}
|
|
178
388
|
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "GENERATED by packages/tokens-build/scripts/snapshot-androidx-material3.mjs from androidx.compose.material3 tokens (Copyright The Android Open Source Project, Apache-2.0). Values only; no source text. Do not edit.",
|
|
3
|
+
"reference": {
|
|
4
|
+
"name": "androidx.compose.material3 tokens",
|
|
5
|
+
"source": "https://github.com/androidx/androidx/tree/androidx-main/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens",
|
|
6
|
+
"version": "14_1_0, v0_11_0, v0_7_0",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"description": "Material 3: the five button sizes and the five icon button sizes (XSmall … XLarge), and the loading indicator."
|
|
9
|
+
},
|
|
10
|
+
"tokens": {
|
|
11
|
+
"androidx.ButtonLargeTokens.ContainerHeight": "96dp",
|
|
12
|
+
"androidx.ButtonLargeTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
13
|
+
"androidx.ButtonLargeTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
14
|
+
"androidx.ButtonLargeTokens.IconLabelSpace": "12dp",
|
|
15
|
+
"androidx.ButtonLargeTokens.IconSize": "32dp",
|
|
16
|
+
"androidx.ButtonLargeTokens.LeadingSpace": "48dp",
|
|
17
|
+
"androidx.ButtonLargeTokens.OutlinedOutlineWidth": "2dp",
|
|
18
|
+
"androidx.ButtonLargeTokens.PressedContainerShape": "ShapeKeyTokens.CornerLarge",
|
|
19
|
+
"androidx.ButtonLargeTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
20
|
+
"androidx.ButtonLargeTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
21
|
+
"androidx.ButtonLargeTokens.TrailingSpace": "48dp",
|
|
22
|
+
"androidx.ButtonMediumTokens.ContainerHeight": "56dp",
|
|
23
|
+
"androidx.ButtonMediumTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
24
|
+
"androidx.ButtonMediumTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerLarge",
|
|
25
|
+
"androidx.ButtonMediumTokens.IconLabelSpace": "8dp",
|
|
26
|
+
"androidx.ButtonMediumTokens.IconSize": "24dp",
|
|
27
|
+
"androidx.ButtonMediumTokens.LeadingSpace": "24dp",
|
|
28
|
+
"androidx.ButtonMediumTokens.OutlinedOutlineWidth": "1dp",
|
|
29
|
+
"androidx.ButtonMediumTokens.PressedContainerShape": "ShapeKeyTokens.CornerMedium",
|
|
30
|
+
"androidx.ButtonMediumTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
31
|
+
"androidx.ButtonMediumTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerLarge",
|
|
32
|
+
"androidx.ButtonMediumTokens.TrailingSpace": "24dp",
|
|
33
|
+
"androidx.ButtonSmallTokens.ContainerHeight": "40dp",
|
|
34
|
+
"androidx.ButtonSmallTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
35
|
+
"androidx.ButtonSmallTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
36
|
+
"androidx.ButtonSmallTokens.IconLabelSpace": "8dp",
|
|
37
|
+
"androidx.ButtonSmallTokens.IconSize": "20dp",
|
|
38
|
+
"androidx.ButtonSmallTokens.LeadingSpace": "16dp",
|
|
39
|
+
"androidx.ButtonSmallTokens.OutlinedOutlineWidth": "1dp",
|
|
40
|
+
"androidx.ButtonSmallTokens.PressedContainerShape": "ShapeKeyTokens.CornerSmall",
|
|
41
|
+
"androidx.ButtonSmallTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
42
|
+
"androidx.ButtonSmallTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
43
|
+
"androidx.ButtonSmallTokens.TrailingSpace": "16dp",
|
|
44
|
+
"androidx.ButtonXLargeTokens.ContainerHeight": "136dp",
|
|
45
|
+
"androidx.ButtonXLargeTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
46
|
+
"androidx.ButtonXLargeTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
47
|
+
"androidx.ButtonXLargeTokens.IconLabelSpace": "16dp",
|
|
48
|
+
"androidx.ButtonXLargeTokens.IconSize": "40dp",
|
|
49
|
+
"androidx.ButtonXLargeTokens.LeadingSpace": "64dp",
|
|
50
|
+
"androidx.ButtonXLargeTokens.OutlinedOutlineWidth": "3dp",
|
|
51
|
+
"androidx.ButtonXLargeTokens.PressedContainerShape": "ShapeKeyTokens.CornerLarge",
|
|
52
|
+
"androidx.ButtonXLargeTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
53
|
+
"androidx.ButtonXLargeTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
54
|
+
"androidx.ButtonXLargeTokens.TrailingSpace": "64dp",
|
|
55
|
+
"androidx.ButtonXSmallTokens.ContainerHeight": "32dp",
|
|
56
|
+
"androidx.ButtonXSmallTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
57
|
+
"androidx.ButtonXSmallTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
58
|
+
"androidx.ButtonXSmallTokens.IconLabelSpace": "8dp",
|
|
59
|
+
"androidx.ButtonXSmallTokens.IconSize": "20dp",
|
|
60
|
+
"androidx.ButtonXSmallTokens.LeadingSpace": "16dp",
|
|
61
|
+
"androidx.ButtonXSmallTokens.OutlinedOutlineWidth": "1dp",
|
|
62
|
+
"androidx.ButtonXSmallTokens.PressedContainerShape": "ShapeKeyTokens.CornerSmall",
|
|
63
|
+
"androidx.ButtonXSmallTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
64
|
+
"androidx.ButtonXSmallTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
65
|
+
"androidx.ButtonXSmallTokens.TrailingSpace": "16dp",
|
|
66
|
+
"androidx.LargeIconButtonTokens.ContainerHeight": "96dp",
|
|
67
|
+
"androidx.LargeIconButtonTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
68
|
+
"androidx.LargeIconButtonTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
69
|
+
"androidx.LargeIconButtonTokens.IconSize": "32dp",
|
|
70
|
+
"androidx.LargeIconButtonTokens.NarrowLeadingSpace": "16dp",
|
|
71
|
+
"androidx.LargeIconButtonTokens.NarrowTrailingSpace": "16dp",
|
|
72
|
+
"androidx.LargeIconButtonTokens.OutlinedOutlineWidth": "2dp",
|
|
73
|
+
"androidx.LargeIconButtonTokens.PressedContainerShape": "ShapeKeyTokens.CornerLarge",
|
|
74
|
+
"androidx.LargeIconButtonTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerExtraLarge",
|
|
75
|
+
"androidx.LargeIconButtonTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerFull",
|
|
76
|
+
"androidx.LargeIconButtonTokens.UniformLeadingSpace": "32dp",
|
|
77
|
+
"androidx.LargeIconButtonTokens.UniformTrailingSpace": "32dp",
|
|
78
|
+
"androidx.LargeIconButtonTokens.WideLeadingSpace": "48dp",
|
|
79
|
+
"androidx.LargeIconButtonTokens.WideTrailingSpace": "48dp",
|
|
80
|
+
"androidx.LoadingIndicatorTokens.ActiveIndicatorColor": "ColorSchemeKeyTokens.Primary",
|
|
81
|
+
"androidx.LoadingIndicatorTokens.ActiveSize": "38dp",
|
|
82
|
+
"androidx.LoadingIndicatorTokens.ContainedActiveColor": "ColorSchemeKeyTokens.OnPrimaryContainer",
|
|
83
|
+
"androidx.LoadingIndicatorTokens.ContainedContainerColor": "ColorSchemeKeyTokens.PrimaryContainer",
|
|
84
|
+
"androidx.LoadingIndicatorTokens.ContainerHeight": "48dp",
|
|
85
|
+
"androidx.LoadingIndicatorTokens.ContainerShape": "ShapeKeyTokens.CornerFull",
|
|
86
|
+
"androidx.LoadingIndicatorTokens.ContainerWidth": "48dp",
|
|
87
|
+
"androidx.MediumIconButtonTokens.ContainerHeight": "56dp",
|
|
88
|
+
"androidx.MediumIconButtonTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
89
|
+
"androidx.MediumIconButtonTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerLarge",
|
|
90
|
+
"androidx.MediumIconButtonTokens.DefaultLeadingSpace": "16dp",
|
|
91
|
+
"androidx.MediumIconButtonTokens.DefaultTrailingSpace": "16dp",
|
|
92
|
+
"androidx.MediumIconButtonTokens.IconSize": "24dp",
|
|
93
|
+
"androidx.MediumIconButtonTokens.NarrowLeadingSpace": "12dp",
|
|
94
|
+
"androidx.MediumIconButtonTokens.NarrowTrailingSpace": "12dp",
|
|
95
|
+
"androidx.MediumIconButtonTokens.OutlinedOutlineWidth": "1dp",
|
|
96
|
+
"androidx.MediumIconButtonTokens.PressedContainerShape": "ShapeKeyTokens.CornerMedium",
|
|
97
|
+
"androidx.MediumIconButtonTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerLarge",
|
|
98
|
+
"androidx.MediumIconButtonTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerFull",
|
|
99
|
+
"androidx.MediumIconButtonTokens.WideLeadingSpace": "24dp",
|
|
100
|
+
"androidx.MediumIconButtonTokens.WideTrailingSpace": "24dp",
|
|
101
|
+
"androidx.SmallIconButtonTokens.ContainerHeight": "40dp",
|
|
102
|
+
"androidx.SmallIconButtonTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
103
|
+
"androidx.SmallIconButtonTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
104
|
+
"androidx.SmallIconButtonTokens.DefaultLeadingSpace": "8dp",
|
|
105
|
+
"androidx.SmallIconButtonTokens.DefaultTrailingSpace": "8dp",
|
|
106
|
+
"androidx.SmallIconButtonTokens.IconSize": "24dp",
|
|
107
|
+
"androidx.SmallIconButtonTokens.NarrowLeadingSpace": "4dp",
|
|
108
|
+
"androidx.SmallIconButtonTokens.NarrowTrailingSpace": "4dp",
|
|
109
|
+
"androidx.SmallIconButtonTokens.OutlinedOutlineWidth": "1dp",
|
|
110
|
+
"androidx.SmallIconButtonTokens.PressedContainerShape": "ShapeKeyTokens.CornerSmall",
|
|
111
|
+
"androidx.SmallIconButtonTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerMedium",
|
|
112
|
+
"androidx.SmallIconButtonTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerFull",
|
|
113
|
+
"androidx.SmallIconButtonTokens.WideLeadingSpace": "14dp",
|
|
114
|
+
"androidx.SmallIconButtonTokens.WideTrailingSpace": "14dp",
|
|
115
|
+
"androidx.XLargeIconButtonTokens.ContainerHeight": "136dp",
|
|
116
|
+
"androidx.XLargeIconButtonTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
117
|
+
"androidx.XLargeIconButtonTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerExtraLarge",
|
|
118
|
+
"androidx.XLargeIconButtonTokens.DefaultLeadingSpace": "48dp",
|
|
119
|
+
"androidx.XLargeIconButtonTokens.DefaultTrailingSpace": "48dp",
|
|
120
|
+
"androidx.XLargeIconButtonTokens.IconSize": "40dp",
|
|
121
|
+
"androidx.XLargeIconButtonTokens.NarrowLeadingSpace": "32dp",
|
|
122
|
+
"androidx.XLargeIconButtonTokens.NarrowTrailingSpace": "32dp",
|
|
123
|
+
"androidx.XLargeIconButtonTokens.OutlinedOutlineWidth": "3dp",
|
|
124
|
+
"androidx.XLargeIconButtonTokens.PressedContainerShape": "ShapeKeyTokens.CornerLarge",
|
|
125
|
+
"androidx.XLargeIconButtonTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerExtraLarge",
|
|
126
|
+
"androidx.XLargeIconButtonTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerFull",
|
|
127
|
+
"androidx.XLargeIconButtonTokens.WideLeadingSpace": "72dp",
|
|
128
|
+
"androidx.XLargeIconButtonTokens.WideTrailingSpace": "72dp",
|
|
129
|
+
"androidx.XSmallIconButtonTokens.ContainerHeight": "32dp",
|
|
130
|
+
"androidx.XSmallIconButtonTokens.ContainerShapeRound": "ShapeKeyTokens.CornerFull",
|
|
131
|
+
"androidx.XSmallIconButtonTokens.ContainerShapeSquare": "ShapeKeyTokens.CornerMedium",
|
|
132
|
+
"androidx.XSmallIconButtonTokens.DefaultLeadingSpace": "6dp",
|
|
133
|
+
"androidx.XSmallIconButtonTokens.DefaultTrailingSpace": "6dp",
|
|
134
|
+
"androidx.XSmallIconButtonTokens.IconSize": "20dp",
|
|
135
|
+
"androidx.XSmallIconButtonTokens.NarrowLeadingSpace": "4dp",
|
|
136
|
+
"androidx.XSmallIconButtonTokens.NarrowTrailingSpace": "4dp",
|
|
137
|
+
"androidx.XSmallIconButtonTokens.OutlinedOutlineWidth": "1dp",
|
|
138
|
+
"androidx.XSmallIconButtonTokens.PressedContainerShape": "ShapeKeyTokens.CornerSmall",
|
|
139
|
+
"androidx.XSmallIconButtonTokens.SelectedContainerShapeRound": "ShapeKeyTokens.CornerMedium",
|
|
140
|
+
"androidx.XSmallIconButtonTokens.SelectedContainerShapeSquare": "ShapeKeyTokens.CornerFull",
|
|
141
|
+
"androidx.XSmallIconButtonTokens.WideLeadingSpace": "10dp",
|
|
142
|
+
"androidx.XSmallIconButtonTokens.WideTrailingSpace": "10dp"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "GENERATED by packages/tokens-build/scripts/snapshot-apple-hig.mjs from the render data of Apple's Human Interface Guidelines. Published figures only (sizes in points, weights, sRGB values); no text and no images. Do not edit.",
|
|
3
|
+
"reference": {
|
|
4
|
+
"name": "Apple Human Interface Guidelines",
|
|
5
|
+
"source": "https://developer.apple.com/design/human-interface-guidelines/",
|
|
6
|
+
"version": "read 2026-11-12",
|
|
7
|
+
"license": "Copyright Apple Inc. The figures are recorded as published facts, to measure an independent approximation against; Tanrei is not affiliated with, endorsed by, or sponsored by Apple Inc.",
|
|
8
|
+
"description": "iOS and iPadOS (macOS for the pointer target): control sizes, the text styles at the default Dynamic Type size, the system colors and grays in the light and dark appearances, at the default and the increased contrast.",
|
|
9
|
+
"pages": [
|
|
10
|
+
{
|
|
11
|
+
"url": "https://developer.apple.com/design/human-interface-guidelines/accessibility",
|
|
12
|
+
"data": "https://developer.apple.com/tutorials/data/design/human-interface-guidelines/accessibility.json",
|
|
13
|
+
"changed": "2025-06-09"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"url": "https://developer.apple.com/design/human-interface-guidelines/color",
|
|
17
|
+
"data": "https://developer.apple.com/tutorials/data/design/human-interface-guidelines/color.json",
|
|
18
|
+
"changed": "2025-12-16"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"url": "https://developer.apple.com/design/human-interface-guidelines/typography",
|
|
22
|
+
"data": "https://developer.apple.com/tutorials/data/design/human-interface-guidelines/typography.json",
|
|
23
|
+
"changed": "2025-12-16"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"tokens": {
|
|
28
|
+
"apple.color.blue": {
|
|
29
|
+
"light": "#0088ff",
|
|
30
|
+
"dark": "#0091ff",
|
|
31
|
+
"light-increased-contrast": "#1e6ef4",
|
|
32
|
+
"dark-increased-contrast": "#5cb8ff"
|
|
33
|
+
},
|
|
34
|
+
"apple.color.brown": {
|
|
35
|
+
"light": "#ac7f5e",
|
|
36
|
+
"dark": "#b78a66",
|
|
37
|
+
"light-increased-contrast": "#956d51",
|
|
38
|
+
"dark-increased-contrast": "#dba679"
|
|
39
|
+
},
|
|
40
|
+
"apple.color.cyan": {
|
|
41
|
+
"light": "#00c0e8",
|
|
42
|
+
"dark": "#3cd3fe",
|
|
43
|
+
"light-increased-contrast": "#007eae",
|
|
44
|
+
"dark-increased-contrast": "#6dd9ff"
|
|
45
|
+
},
|
|
46
|
+
"apple.color.gray": {
|
|
47
|
+
"light": "#8e8e93",
|
|
48
|
+
"dark": "#8e8e93",
|
|
49
|
+
"light-increased-contrast": "#6c6c70",
|
|
50
|
+
"dark-increased-contrast": "#aeaeb2"
|
|
51
|
+
},
|
|
52
|
+
"apple.color.gray-2": {
|
|
53
|
+
"light": "#aeaeb2",
|
|
54
|
+
"dark": "#636366",
|
|
55
|
+
"light-increased-contrast": "#8e8e93",
|
|
56
|
+
"dark-increased-contrast": "#7c7c80"
|
|
57
|
+
},
|
|
58
|
+
"apple.color.gray-3": {
|
|
59
|
+
"light": "#c7c7cc",
|
|
60
|
+
"dark": "#48484a",
|
|
61
|
+
"light-increased-contrast": "#aeaeb2",
|
|
62
|
+
"dark-increased-contrast": "#545456"
|
|
63
|
+
},
|
|
64
|
+
"apple.color.gray-4": {
|
|
65
|
+
"light": "#d1d1d6",
|
|
66
|
+
"dark": "#3a3a3c",
|
|
67
|
+
"light-increased-contrast": "#bcbcc0",
|
|
68
|
+
"dark-increased-contrast": "#444446"
|
|
69
|
+
},
|
|
70
|
+
"apple.color.gray-5": {
|
|
71
|
+
"light": "#e5e5ea",
|
|
72
|
+
"dark": "#2c2c2e",
|
|
73
|
+
"light-increased-contrast": "#d8d8dc",
|
|
74
|
+
"dark-increased-contrast": "#363638"
|
|
75
|
+
},
|
|
76
|
+
"apple.color.gray-6": {
|
|
77
|
+
"light": "#f2f2f7",
|
|
78
|
+
"dark": "#1c1c1e",
|
|
79
|
+
"light-increased-contrast": "#ebebf0",
|
|
80
|
+
"dark-increased-contrast": "#242426"
|
|
81
|
+
},
|
|
82
|
+
"apple.color.green": {
|
|
83
|
+
"light": "#34c759",
|
|
84
|
+
"dark": "#30d158",
|
|
85
|
+
"light-increased-contrast": "#008932",
|
|
86
|
+
"dark-increased-contrast": "#4ad968"
|
|
87
|
+
},
|
|
88
|
+
"apple.color.indigo": {
|
|
89
|
+
"light": "#6155f5",
|
|
90
|
+
"dark": "#6d7cff",
|
|
91
|
+
"light-increased-contrast": "#564ade",
|
|
92
|
+
"dark-increased-contrast": "#a7aaff"
|
|
93
|
+
},
|
|
94
|
+
"apple.color.mint": {
|
|
95
|
+
"light": "#00c8b3",
|
|
96
|
+
"dark": "#00dac3",
|
|
97
|
+
"light-increased-contrast": "#008575",
|
|
98
|
+
"dark-increased-contrast": "#54dfcb"
|
|
99
|
+
},
|
|
100
|
+
"apple.color.orange": {
|
|
101
|
+
"light": "#ff8d28",
|
|
102
|
+
"dark": "#ff9230",
|
|
103
|
+
"light-increased-contrast": "#c55300",
|
|
104
|
+
"dark-increased-contrast": "#ffa056"
|
|
105
|
+
},
|
|
106
|
+
"apple.color.pink": {
|
|
107
|
+
"light": "#ff2d55",
|
|
108
|
+
"dark": "#ff375f",
|
|
109
|
+
"light-increased-contrast": "#e7124d",
|
|
110
|
+
"dark-increased-contrast": "#ff8ac4"
|
|
111
|
+
},
|
|
112
|
+
"apple.color.purple": {
|
|
113
|
+
"light": "#cb30e0",
|
|
114
|
+
"dark": "#db34f2",
|
|
115
|
+
"light-increased-contrast": "#b02fc2",
|
|
116
|
+
"dark-increased-contrast": "#ea8dff"
|
|
117
|
+
},
|
|
118
|
+
"apple.color.red": {
|
|
119
|
+
"light": "#ff383c",
|
|
120
|
+
"dark": "#ff4245",
|
|
121
|
+
"light-increased-contrast": "#e9152d",
|
|
122
|
+
"dark-increased-contrast": "#ff6165"
|
|
123
|
+
},
|
|
124
|
+
"apple.color.teal": {
|
|
125
|
+
"light": "#00c3d0",
|
|
126
|
+
"dark": "#00d2e0",
|
|
127
|
+
"light-increased-contrast": "#008198",
|
|
128
|
+
"dark-increased-contrast": "#3bddec"
|
|
129
|
+
},
|
|
130
|
+
"apple.color.yellow": {
|
|
131
|
+
"light": "#ffcc00",
|
|
132
|
+
"dark": "#ffd600",
|
|
133
|
+
"light-increased-contrast": "#a16a00",
|
|
134
|
+
"dark-increased-contrast": "#fedf43"
|
|
135
|
+
},
|
|
136
|
+
"apple.target.ios.default": "44pt",
|
|
137
|
+
"apple.target.ios.minimum": "28pt",
|
|
138
|
+
"apple.target.macos.default": "28pt",
|
|
139
|
+
"apple.target.macos.minimum": "20pt",
|
|
140
|
+
"apple.typescale.body-emphasized-weight": 600,
|
|
141
|
+
"apple.typescale.body-line-height": "22pt",
|
|
142
|
+
"apple.typescale.body-size": "17pt",
|
|
143
|
+
"apple.typescale.body-tracking": "-0.43pt",
|
|
144
|
+
"apple.typescale.body-weight": 400,
|
|
145
|
+
"apple.typescale.callout-emphasized-weight": 600,
|
|
146
|
+
"apple.typescale.callout-line-height": "21pt",
|
|
147
|
+
"apple.typescale.callout-size": "16pt",
|
|
148
|
+
"apple.typescale.callout-tracking": "-0.31pt",
|
|
149
|
+
"apple.typescale.callout-weight": 400,
|
|
150
|
+
"apple.typescale.caption-1-emphasized-weight": 600,
|
|
151
|
+
"apple.typescale.caption-1-line-height": "16pt",
|
|
152
|
+
"apple.typescale.caption-1-size": "12pt",
|
|
153
|
+
"apple.typescale.caption-1-tracking": "0pt",
|
|
154
|
+
"apple.typescale.caption-1-weight": 400,
|
|
155
|
+
"apple.typescale.caption-2-emphasized-weight": 600,
|
|
156
|
+
"apple.typescale.caption-2-line-height": "13pt",
|
|
157
|
+
"apple.typescale.caption-2-size": "11pt",
|
|
158
|
+
"apple.typescale.caption-2-tracking": "0.06pt",
|
|
159
|
+
"apple.typescale.caption-2-weight": 400,
|
|
160
|
+
"apple.typescale.footnote-emphasized-weight": 600,
|
|
161
|
+
"apple.typescale.footnote-line-height": "18pt",
|
|
162
|
+
"apple.typescale.footnote-size": "13pt",
|
|
163
|
+
"apple.typescale.footnote-tracking": "-0.08pt",
|
|
164
|
+
"apple.typescale.footnote-weight": 400,
|
|
165
|
+
"apple.typescale.headline-emphasized-weight": 600,
|
|
166
|
+
"apple.typescale.headline-line-height": "22pt",
|
|
167
|
+
"apple.typescale.headline-size": "17pt",
|
|
168
|
+
"apple.typescale.headline-tracking": "-0.43pt",
|
|
169
|
+
"apple.typescale.headline-weight": 600,
|
|
170
|
+
"apple.typescale.large-title-emphasized-weight": 700,
|
|
171
|
+
"apple.typescale.large-title-line-height": "41pt",
|
|
172
|
+
"apple.typescale.large-title-size": "34pt",
|
|
173
|
+
"apple.typescale.large-title-tracking": "0.4pt",
|
|
174
|
+
"apple.typescale.large-title-weight": 400,
|
|
175
|
+
"apple.typescale.subhead-emphasized-weight": 600,
|
|
176
|
+
"apple.typescale.subhead-line-height": "20pt",
|
|
177
|
+
"apple.typescale.subhead-size": "15pt",
|
|
178
|
+
"apple.typescale.subhead-tracking": "-0.23pt",
|
|
179
|
+
"apple.typescale.subhead-weight": 400,
|
|
180
|
+
"apple.typescale.title-1-emphasized-weight": 700,
|
|
181
|
+
"apple.typescale.title-1-line-height": "34pt",
|
|
182
|
+
"apple.typescale.title-1-size": "28pt",
|
|
183
|
+
"apple.typescale.title-1-tracking": "0.38pt",
|
|
184
|
+
"apple.typescale.title-1-weight": 400,
|
|
185
|
+
"apple.typescale.title-2-emphasized-weight": 700,
|
|
186
|
+
"apple.typescale.title-2-line-height": "28pt",
|
|
187
|
+
"apple.typescale.title-2-size": "22pt",
|
|
188
|
+
"apple.typescale.title-2-tracking": "-0.26pt",
|
|
189
|
+
"apple.typescale.title-2-weight": 400,
|
|
190
|
+
"apple.typescale.title-3-emphasized-weight": 600,
|
|
191
|
+
"apple.typescale.title-3-line-height": "25pt",
|
|
192
|
+
"apple.typescale.title-3-size": "20pt",
|
|
193
|
+
"apple.typescale.title-3-tracking": "-0.45pt",
|
|
194
|
+
"apple.typescale.title-3-weight": 400
|
|
195
|
+
}
|
|
196
|
+
}
|