@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,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"system": "m3-expressive-like",
|
|
3
|
+
"reference": {
|
|
4
|
+
"name": "androidx.compose.material3 button size tokens",
|
|
5
|
+
"source": "https://github.com/androidx/androidx/tree/androidx-main/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens",
|
|
6
|
+
"version": "v0_11_0",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"description": "Material 3 Expressive: the five button sizes (XSmall … XLarge)."
|
|
9
|
+
},
|
|
10
|
+
"scope": "The five button sizes: height, leading and trailing space, icon size, icon-to-label space, outline width and container shape.",
|
|
11
|
+
"total": 55,
|
|
12
|
+
"equal": 35,
|
|
13
|
+
"covered": 0,
|
|
14
|
+
"different": [],
|
|
15
|
+
"unmapped": [
|
|
16
|
+
{
|
|
17
|
+
"ref": "ContainerShapeSquare",
|
|
18
|
+
"gap": "button-shape-option"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"ref": "PressedContainerShape",
|
|
22
|
+
"gap": "per-size-state-shape"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"ref": "SelectedContainerShapeRound",
|
|
26
|
+
"gap": "button-shape-option"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"ref": "SelectedContainerShapeSquare",
|
|
30
|
+
"gap": "button-shape-option"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"ref": "ContainerShapeSquare",
|
|
34
|
+
"gap": "button-shape-option"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"ref": "PressedContainerShape",
|
|
38
|
+
"gap": "per-size-state-shape"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"ref": "SelectedContainerShapeRound",
|
|
42
|
+
"gap": "button-shape-option"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"ref": "SelectedContainerShapeSquare",
|
|
46
|
+
"gap": "button-shape-option"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"ref": "ContainerShapeSquare",
|
|
50
|
+
"gap": "button-shape-option"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"ref": "PressedContainerShape",
|
|
54
|
+
"gap": "per-size-state-shape"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"ref": "SelectedContainerShapeRound",
|
|
58
|
+
"gap": "button-shape-option"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"ref": "SelectedContainerShapeSquare",
|
|
62
|
+
"gap": "button-shape-option"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"ref": "ContainerShapeSquare",
|
|
66
|
+
"gap": "button-shape-option"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"ref": "PressedContainerShape",
|
|
70
|
+
"gap": "per-size-state-shape"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"ref": "SelectedContainerShapeRound",
|
|
74
|
+
"gap": "button-shape-option"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"ref": "SelectedContainerShapeSquare",
|
|
78
|
+
"gap": "button-shape-option"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"ref": "ContainerShapeSquare",
|
|
82
|
+
"gap": "button-shape-option"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"ref": "PressedContainerShape",
|
|
86
|
+
"gap": "per-size-state-shape"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"ref": "SelectedContainerShapeRound",
|
|
90
|
+
"gap": "button-shape-option"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"ref": "SelectedContainerShapeSquare",
|
|
94
|
+
"gap": "button-shape-option"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"unaccounted": [],
|
|
98
|
+
"fidelity": 0.636
|
|
99
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"system": "m3-like",
|
|
3
|
+
"reference": {
|
|
4
|
+
"name": "material-web",
|
|
5
|
+
"source": "https://github.com/material-components/material-web/tree/main/tokens/versions",
|
|
6
|
+
"version": "v0_192",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"description": "Google Material 3, audience 3P, platform Web, dynamic scheme with the baseline palette."
|
|
9
|
+
},
|
|
10
|
+
"scope": "Every color role and every text style the reference publishes, and Button (five variants) at the reference's single size (40px = Tanrei's medium).",
|
|
11
|
+
"total": 288,
|
|
12
|
+
"equal": 273,
|
|
13
|
+
"covered": 14,
|
|
14
|
+
"different": [],
|
|
15
|
+
"unmapped": [
|
|
16
|
+
{
|
|
17
|
+
"ref": "scrim",
|
|
18
|
+
"gap": "scrim-color-and-opacity",
|
|
19
|
+
"note": "m3-like draws black at 32%, the reference's rendered result; the reference token itself is opaque black."
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"unaccounted": [],
|
|
23
|
+
"fidelity": 0.996
|
|
24
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/icon-set.schema.json",
|
|
3
|
+
"id": "material-symbols",
|
|
4
|
+
"name": "Material Symbols",
|
|
5
|
+
"description": "What Tanrei needs to know about an icon set that its font cannot tell it: which of its glyph names are mirrored in a right-to-left layout. Glyph names stay the product's; this file adds no name and draws nothing.",
|
|
6
|
+
"families": [
|
|
7
|
+
"Material Symbols Rounded",
|
|
8
|
+
"Material Symbols Outlined",
|
|
9
|
+
"Material Symbols Sharp"
|
|
10
|
+
],
|
|
11
|
+
"source": {
|
|
12
|
+
"name": "google/material-design-icons — symbols/android/<name>/materialsymbolsrounded/<name>_24px.xml",
|
|
13
|
+
"url": "https://github.com/google/material-design-icons",
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"revision": "737e3324305806514d7909874fa1818ae1808232",
|
|
16
|
+
"obtained": "2026-10-06",
|
|
17
|
+
"method": "A glyph is listed when its published Android vector drawable carries android:autoMirrored=\"true\". 4150 glyph names were read at this revision; 257 carry the flag. Regenerate the list from the source; never edit it by hand."
|
|
18
|
+
},
|
|
19
|
+
"mirrored": [
|
|
20
|
+
"360",
|
|
21
|
+
"add_to_home_screen",
|
|
22
|
+
"airplane_ticket",
|
|
23
|
+
"airport_shuttle",
|
|
24
|
+
"align_horizontal_left",
|
|
25
|
+
"align_horizontal_right",
|
|
26
|
+
"alt_route",
|
|
27
|
+
"arrow_back",
|
|
28
|
+
"arrow_back_ios",
|
|
29
|
+
"arrow_back_ios_new",
|
|
30
|
+
"arrow_circle_left",
|
|
31
|
+
"arrow_circle_right",
|
|
32
|
+
"arrow_forward",
|
|
33
|
+
"arrow_forward_ios",
|
|
34
|
+
"arrow_left",
|
|
35
|
+
"arrow_left_alt",
|
|
36
|
+
"arrow_menu_close",
|
|
37
|
+
"arrow_menu_open",
|
|
38
|
+
"arrow_outward",
|
|
39
|
+
"arrow_right",
|
|
40
|
+
"arrow_right_alt",
|
|
41
|
+
"arrow_split",
|
|
42
|
+
"article",
|
|
43
|
+
"assignment",
|
|
44
|
+
"assignment_return",
|
|
45
|
+
"assist_walker",
|
|
46
|
+
"assistant_direction",
|
|
47
|
+
"backspace",
|
|
48
|
+
"battery_unknown",
|
|
49
|
+
"bike_lane",
|
|
50
|
+
"brand_awareness",
|
|
51
|
+
"branding_watermark",
|
|
52
|
+
"bubble",
|
|
53
|
+
"call_made",
|
|
54
|
+
"call_merge",
|
|
55
|
+
"call_missed",
|
|
56
|
+
"call_missed_outgoing",
|
|
57
|
+
"call_received",
|
|
58
|
+
"call_split",
|
|
59
|
+
"chat",
|
|
60
|
+
"chat_add_on",
|
|
61
|
+
"chat_display",
|
|
62
|
+
"chat_info",
|
|
63
|
+
"chat_paste_go",
|
|
64
|
+
"chat_paste_go_2",
|
|
65
|
+
"checkbook",
|
|
66
|
+
"chevron_backward",
|
|
67
|
+
"chevron_forward",
|
|
68
|
+
"chevron_left",
|
|
69
|
+
"chevron_right",
|
|
70
|
+
"chrome_reader_mode",
|
|
71
|
+
"clarify",
|
|
72
|
+
"comment",
|
|
73
|
+
"compare_arrows",
|
|
74
|
+
"contact_support",
|
|
75
|
+
"content_copy",
|
|
76
|
+
"contextual_token",
|
|
77
|
+
"contextual_token_add",
|
|
78
|
+
"contrast",
|
|
79
|
+
"desktop_landscape",
|
|
80
|
+
"desktop_landscape_add",
|
|
81
|
+
"desktop_portrait",
|
|
82
|
+
"devices_other",
|
|
83
|
+
"diagonal_line",
|
|
84
|
+
"directions",
|
|
85
|
+
"directions_alt",
|
|
86
|
+
"directions_bike",
|
|
87
|
+
"directions_run",
|
|
88
|
+
"directions_walk",
|
|
89
|
+
"docs",
|
|
90
|
+
"double_arrow",
|
|
91
|
+
"draft",
|
|
92
|
+
"drive_export",
|
|
93
|
+
"drive_file_move",
|
|
94
|
+
"dvr",
|
|
95
|
+
"electric_bike",
|
|
96
|
+
"electric_moped",
|
|
97
|
+
"electric_rickshaw",
|
|
98
|
+
"electric_scooter",
|
|
99
|
+
"emoji_flags",
|
|
100
|
+
"event_note",
|
|
101
|
+
"event_upcoming",
|
|
102
|
+
"exit_to_app",
|
|
103
|
+
"expand_circle_right",
|
|
104
|
+
"featured_play_list",
|
|
105
|
+
"featured_video",
|
|
106
|
+
"feed",
|
|
107
|
+
"filter_arrow_right",
|
|
108
|
+
"fire_truck",
|
|
109
|
+
"flag",
|
|
110
|
+
"flight_land",
|
|
111
|
+
"flight_takeoff",
|
|
112
|
+
"flights_and_hotels",
|
|
113
|
+
"flightsmode",
|
|
114
|
+
"float_landscape_2",
|
|
115
|
+
"float_portrait_2",
|
|
116
|
+
"follow_the_signs",
|
|
117
|
+
"format_align_left",
|
|
118
|
+
"format_align_right",
|
|
119
|
+
"format_indent_decrease",
|
|
120
|
+
"format_indent_increase",
|
|
121
|
+
"format_list_bulleted",
|
|
122
|
+
"format_list_bulleted_add",
|
|
123
|
+
"forward",
|
|
124
|
+
"forward_to_inbox",
|
|
125
|
+
"funicular",
|
|
126
|
+
"gondola_lift",
|
|
127
|
+
"grading",
|
|
128
|
+
"handheld_controller",
|
|
129
|
+
"help",
|
|
130
|
+
"help_center",
|
|
131
|
+
"highlight_mouse_cursor",
|
|
132
|
+
"horizontal_align_left",
|
|
133
|
+
"horizontal_align_right",
|
|
134
|
+
"hotel",
|
|
135
|
+
"hotel_class",
|
|
136
|
+
"import_spark",
|
|
137
|
+
"ink_highlighter_move",
|
|
138
|
+
"input",
|
|
139
|
+
"keyboard_arrow_left",
|
|
140
|
+
"keyboard_arrow_right",
|
|
141
|
+
"keyboard_backspace",
|
|
142
|
+
"keyboard_double_arrow_left",
|
|
143
|
+
"keyboard_double_arrow_right",
|
|
144
|
+
"keyboard_return",
|
|
145
|
+
"keyboard_tab",
|
|
146
|
+
"keyboard_tab_rtl",
|
|
147
|
+
"label",
|
|
148
|
+
"label_important",
|
|
149
|
+
"last_page",
|
|
150
|
+
"library_books",
|
|
151
|
+
"light_group",
|
|
152
|
+
"line_curve",
|
|
153
|
+
"list",
|
|
154
|
+
"list_alt",
|
|
155
|
+
"lists",
|
|
156
|
+
"live_help",
|
|
157
|
+
"local_shipping",
|
|
158
|
+
"local_shipping_spark",
|
|
159
|
+
"login",
|
|
160
|
+
"logout",
|
|
161
|
+
"manage_search",
|
|
162
|
+
"menu_book",
|
|
163
|
+
"menu_open",
|
|
164
|
+
"merge_type",
|
|
165
|
+
"missed_video_call",
|
|
166
|
+
"mobile_arrow_right",
|
|
167
|
+
"mobile_arrow_up_right",
|
|
168
|
+
"mobile_camera_front",
|
|
169
|
+
"mobile_camera_rear",
|
|
170
|
+
"mobile_screen_share",
|
|
171
|
+
"mobile_share",
|
|
172
|
+
"monitoring",
|
|
173
|
+
"moped",
|
|
174
|
+
"more",
|
|
175
|
+
"move_item",
|
|
176
|
+
"move_location",
|
|
177
|
+
"moving",
|
|
178
|
+
"moving_ministry",
|
|
179
|
+
"multiline_chart",
|
|
180
|
+
"navigate_before",
|
|
181
|
+
"navigate_next",
|
|
182
|
+
"news",
|
|
183
|
+
"newsmode",
|
|
184
|
+
"next_plan",
|
|
185
|
+
"next_week",
|
|
186
|
+
"no_sound",
|
|
187
|
+
"not_listed_location",
|
|
188
|
+
"note_add",
|
|
189
|
+
"notes",
|
|
190
|
+
"offline_share",
|
|
191
|
+
"open_in_new",
|
|
192
|
+
"open_in_phone",
|
|
193
|
+
"outbox_alt",
|
|
194
|
+
"pedal_bike",
|
|
195
|
+
"phone_callback",
|
|
196
|
+
"phone_forwarded",
|
|
197
|
+
"phone_missed",
|
|
198
|
+
"picture_in_picture",
|
|
199
|
+
"picture_in_picture_alt",
|
|
200
|
+
"picture_in_picture_large",
|
|
201
|
+
"picture_in_picture_medium",
|
|
202
|
+
"picture_in_picture_mobile",
|
|
203
|
+
"picture_in_picture_small",
|
|
204
|
+
"plane_contrails",
|
|
205
|
+
"position_top_right",
|
|
206
|
+
"prompt_suggestion",
|
|
207
|
+
"queue_music",
|
|
208
|
+
"read_more",
|
|
209
|
+
"receipt_long",
|
|
210
|
+
"redo",
|
|
211
|
+
"replace_audio",
|
|
212
|
+
"replace_image",
|
|
213
|
+
"replace_video",
|
|
214
|
+
"reply",
|
|
215
|
+
"reply_all",
|
|
216
|
+
"rotate_left",
|
|
217
|
+
"rotate_right",
|
|
218
|
+
"rtt",
|
|
219
|
+
"run_circle",
|
|
220
|
+
"schedule_send",
|
|
221
|
+
"scooter",
|
|
222
|
+
"screen_share",
|
|
223
|
+
"segment",
|
|
224
|
+
"send",
|
|
225
|
+
"send_and_archive",
|
|
226
|
+
"send_money",
|
|
227
|
+
"send_to_mobile",
|
|
228
|
+
"settings_backup_restore",
|
|
229
|
+
"shield_question",
|
|
230
|
+
"short_text",
|
|
231
|
+
"show_chart",
|
|
232
|
+
"side_navigation",
|
|
233
|
+
"single_arrow",
|
|
234
|
+
"snowmobile",
|
|
235
|
+
"sort",
|
|
236
|
+
"speaker_notes",
|
|
237
|
+
"stairs_2",
|
|
238
|
+
"star_half",
|
|
239
|
+
"sticky_note",
|
|
240
|
+
"sticky_note_2",
|
|
241
|
+
"stop_screen_share",
|
|
242
|
+
"subject",
|
|
243
|
+
"subway_walk",
|
|
244
|
+
"swipe_left_2",
|
|
245
|
+
"swipe_right_2",
|
|
246
|
+
"switch_access_2",
|
|
247
|
+
"switch_access_3",
|
|
248
|
+
"text_ad",
|
|
249
|
+
"text_compare",
|
|
250
|
+
"text_snippet",
|
|
251
|
+
"text_to_speech",
|
|
252
|
+
"thermostat",
|
|
253
|
+
"toc",
|
|
254
|
+
"tooltip_2",
|
|
255
|
+
"transition_push",
|
|
256
|
+
"transition_slide",
|
|
257
|
+
"trending_down",
|
|
258
|
+
"trending_flat",
|
|
259
|
+
"trending_up",
|
|
260
|
+
"tv_next",
|
|
261
|
+
"two_wheeler",
|
|
262
|
+
"undo",
|
|
263
|
+
"video_camera_back_add",
|
|
264
|
+
"videocam",
|
|
265
|
+
"view_list",
|
|
266
|
+
"view_quilt",
|
|
267
|
+
"view_sidebar",
|
|
268
|
+
"volume_down",
|
|
269
|
+
"volume_down_alt",
|
|
270
|
+
"volume_mute",
|
|
271
|
+
"volume_off",
|
|
272
|
+
"volume_up",
|
|
273
|
+
"walk_bike",
|
|
274
|
+
"watch_arrow",
|
|
275
|
+
"wrap_text",
|
|
276
|
+
"wysiwyg"
|
|
277
|
+
]
|
|
278
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"ref": {
|
|
4
|
+
"typeface": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product may set display text, running text and code in different families, draws its icons from one icon font, and uses a few named weights.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "The font stacks and weights the type scale is built from. Components never reference these; they use sys.typescale roles.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"Re-point a stack in a layer to change the typeface everywhere.",
|
|
14
|
+
"Fonts are referenced by name and are not bundled: make sure the product ships or loads them.",
|
|
15
|
+
"`icon` is the icon font; draw an icon with sys.icon.weight and sys.icon.fill — never with a text weight."
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"brand": {
|
|
20
|
+
"$type": "fontFamily",
|
|
21
|
+
"$value": [
|
|
22
|
+
"Inter",
|
|
23
|
+
"Noto Sans JP",
|
|
24
|
+
"Noto Sans",
|
|
25
|
+
"system-ui",
|
|
26
|
+
"sans-serif"
|
|
27
|
+
],
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"dev.tanrei.derive": {
|
|
30
|
+
"fixed": "A font family is a choice, not a quantity."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"$description": "Display and headline text. Inter for Latin, Noto Sans JP for Japanese, Noto Sans for other scripts; a product adds the Noto family of each further script it ships (Noto Sans KR, SC, TC, Arabic, Devanagari, Thai…)."
|
|
34
|
+
},
|
|
35
|
+
"plain": {
|
|
36
|
+
"$type": "fontFamily",
|
|
37
|
+
"$value": [
|
|
38
|
+
"Inter",
|
|
39
|
+
"Noto Sans JP",
|
|
40
|
+
"Noto Sans",
|
|
41
|
+
"system-ui",
|
|
42
|
+
"sans-serif"
|
|
43
|
+
],
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"dev.tanrei.derive": {
|
|
46
|
+
"fixed": "A font family is a choice, not a quantity."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"$description": "Running text and labels. Inter for Latin, Noto Sans JP for Japanese, Noto Sans for other scripts."
|
|
50
|
+
},
|
|
51
|
+
"mono": {
|
|
52
|
+
"$type": "fontFamily",
|
|
53
|
+
"$value": [
|
|
54
|
+
"Roboto Mono",
|
|
55
|
+
"Noto Sans JP",
|
|
56
|
+
"ui-monospace",
|
|
57
|
+
"monospace"
|
|
58
|
+
],
|
|
59
|
+
"$extensions": {
|
|
60
|
+
"dev.tanrei.derive": {
|
|
61
|
+
"fixed": "A font family is a choice, not a quantity."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"$description": "Code. Roboto Mono, with Noto Sans JP for Japanese inside code."
|
|
65
|
+
},
|
|
66
|
+
"icon": {
|
|
67
|
+
"$type": "fontFamily",
|
|
68
|
+
"$description": "The icon font. Material Symbols Rounded: a variable font whose weight and fill are set from sys.icon.",
|
|
69
|
+
"$value": [
|
|
70
|
+
"Material Symbols Rounded"
|
|
71
|
+
],
|
|
72
|
+
"$extensions": {
|
|
73
|
+
"dev.tanrei.derive": {
|
|
74
|
+
"fixed": "A font family is a choice, not a quantity."
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"weight": {
|
|
79
|
+
"$type": "fontWeight",
|
|
80
|
+
"regular": {
|
|
81
|
+
"$value": 400,
|
|
82
|
+
"$extensions": {
|
|
83
|
+
"dev.tanrei.derive": {
|
|
84
|
+
"fixed": "A font weight is a choice, not a quantity."
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"book": {
|
|
89
|
+
"$value": 450,
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"dev.tanrei.derive": {
|
|
92
|
+
"fixed": "A font weight is a choice, not a quantity."
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"medium": {
|
|
97
|
+
"$value": 500,
|
|
98
|
+
"$extensions": {
|
|
99
|
+
"dev.tanrei.derive": {
|
|
100
|
+
"fixed": "A font weight is a choice, not a quantity."
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"semibold": {
|
|
105
|
+
"$value": 600,
|
|
106
|
+
"$extensions": {
|
|
107
|
+
"dev.tanrei.derive": {
|
|
108
|
+
"fixed": "A font weight is a choice, not a quantity."
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://tanrei.chnotchy.com/schemas/icon-set.schema.json",
|
|
4
|
+
"title": "Tanrei icon set",
|
|
5
|
+
"description": "Facts about one icon set that its font files do not carry. One file per icon set: tokens/icon-sets/<id>.icon-set.json. A design system uses the file whose `families` holds the first family of its sys.icon.family.unselected; a system whose icon set has no file mirrors no glyph by itself.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"id",
|
|
10
|
+
"name",
|
|
11
|
+
"families",
|
|
12
|
+
"mirrored"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"$schema": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
21
|
+
"description": "Must equal the file name: <id>.icon-set.json"
|
|
22
|
+
},
|
|
23
|
+
"name": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"description": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"families": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"minItems": 1,
|
|
32
|
+
"uniqueItems": true,
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "The font family names this file describes, as a system writes them in ref.typeface.icon or sys.icon.family.*. A family belongs to one icon-set file only."
|
|
37
|
+
},
|
|
38
|
+
"source": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": [
|
|
42
|
+
"name",
|
|
43
|
+
"url",
|
|
44
|
+
"license",
|
|
45
|
+
"revision",
|
|
46
|
+
"obtained",
|
|
47
|
+
"method"
|
|
48
|
+
],
|
|
49
|
+
"description": "Where the list came from, so that it can be regenerated and attributed. Required for a set Tanrei ships; a product's own set may omit it.",
|
|
50
|
+
"properties": {
|
|
51
|
+
"name": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"url": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"license": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"revision": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"obtained": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
66
|
+
},
|
|
67
|
+
"method": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"mirrored": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"uniqueItems": true,
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "^[a-z0-9_]+$"
|
|
78
|
+
},
|
|
79
|
+
"description": "The glyph names that are mirrored left to right in a right-to-left layout, sorted. Every other name of the set is drawn as it is in every layout direction."
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|