@tanrei/cli 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 +77 -2
- package/bin/tanrei.js +14 -0
- package/dist/cli.js +6617 -0
- package/dist/studio/THIRD_PARTY_LICENSES.md +949 -0
- package/dist/studio/assets/css-Buuc00hS.js +1 -0
- package/dist/studio/assets/dart-CL60Wo_p.js +1 -0
- package/dist/studio/assets/highlight-hwWnuPS8.js +4 -0
- package/dist/studio/assets/index-BByvFAbB.js +26376 -0
- package/dist/studio/assets/index-CTe7Eja3.css +1 -0
- package/dist/studio/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/studio/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/studio/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/studio/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/studio/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/studio/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/studio/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/studio/assets/javascript-DSMm3SZC.js +1 -0
- package/dist/studio/assets/json-CUC6w7Wi.js +1 -0
- package/dist/studio/assets/kotlin-8HB26Eaz.js +1 -0
- package/dist/studio/assets/markup-5VTZgibJ.js +1 -0
- package/dist/studio/assets/material-symbols-outlined-latin-full-normal-Cu9fI30F.woff2 +0 -0
- package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.woff2 +0 -0
- package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
- package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
- package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
- package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
- package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
- package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
- package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
- package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
- package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
- package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
- package/dist/studio/assets/shell-BX8EJGse.js +1 -0
- package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
- package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
- package/dist/studio/index.html +24 -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/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 +32 -3
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"tree-view": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows things that hold other things, to any depth, as rows that open and close: the folders and files of a project, the tiers, groups and tokens of a design system, the categories of a catalogue, the parts of a document. Some of these trees are only read and opened; in others one row is chosen, or several; some are a few rows in a page of text and some are hundreds of rows in a tool; some rows carry a glyph, a note after their name or a short value at their end, some are unavailable, and some fetch what they hold when they are first opened.",
|
|
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
|
+
"label.color": "color",
|
|
24
|
+
"supporting-text.color": "color",
|
|
25
|
+
"trailing-text.color": "color",
|
|
26
|
+
"icon.color": "color",
|
|
27
|
+
"chevron.color": "color",
|
|
28
|
+
"state-layer.color": "color"
|
|
29
|
+
},
|
|
30
|
+
"perComponent": {
|
|
31
|
+
"opacity": "number"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"dev.tanrei.axes": {
|
|
35
|
+
"condition": {
|
|
36
|
+
"default": "unselected",
|
|
37
|
+
"from": "states"
|
|
38
|
+
},
|
|
39
|
+
"density": {
|
|
40
|
+
"default": "regular",
|
|
41
|
+
"values": [
|
|
42
|
+
"regular",
|
|
43
|
+
"compact"
|
|
44
|
+
],
|
|
45
|
+
"members": [
|
|
46
|
+
"container.height",
|
|
47
|
+
"container.padding-block",
|
|
48
|
+
"container.padding-inline",
|
|
49
|
+
"container.gap",
|
|
50
|
+
"level.indent",
|
|
51
|
+
"label.typescale",
|
|
52
|
+
"icon.size",
|
|
53
|
+
"chevron.size"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dev.tanrei.llm": {
|
|
58
|
+
"usage": "Everything a tree view reads: per density (regular, compact) a row's least height, paddings, gap, the indent of one level, the label's text style and the sizes of the glyph and the chevron; the text styles of the note after a label and of the value at a row's end; the row's corners; the guide line; the motion of a press and of opening and closing; and for each condition (unselected, selected) the colors of a row's container, label, supporting text, trailing text, icon, chevron and state layer in each state.",
|
|
59
|
+
"rules": [
|
|
60
|
+
"A tree view shows a hierarchy whose items open and close, and lets a person choose in it where the product asks. A hierarchy of places to go is a navigation drawer: a drawer navigates, a tree reveals or selects. Content folded under a row is an accordion. Rows of one level are a list.",
|
|
61
|
+
"One tab stop: the arrow keys move through the rows that are shown, the arrow toward the end of the line opens a parent or steps into it, the arrow toward the start closes it or steps out. Do not add tab stops inside a row.",
|
|
62
|
+
"The chevron stands at the start of a row and is the only mark of open and closed; a leaf keeps the chevron's room empty, so that names of one level begin on one line.",
|
|
63
|
+
"An item is chosen by its value. An item without a value cannot be chosen: a press on its row opens or closes it. The chevron always opens and closes and never chooses.",
|
|
64
|
+
"selection none is the read-only tree: a figure of a file system in a page of text, a structure to look through. Its leaves answer nothing; its parents still open and close.",
|
|
65
|
+
"The selected fill is the quiet selection (secondary-container), the same in a list and in a drawer. Never use the primary fill or the accent for it: primary is the one chosen now among actions, and the accent is the keyboard focus ring alone.",
|
|
66
|
+
"A row holds no control: no link, button or field. A word such as a tag or a count is the trailing slot or the trailing text.",
|
|
67
|
+
"The tree shows what it is given. Filtering, sorting, searching and fetching are the product's: it gives the tree the items that match and opens the parents that hold them.",
|
|
68
|
+
"compact is for a tool used with a pointer and for a small tree inside text. Touch always gets rows of the touch target.",
|
|
69
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into the row; it aliases the condition's label color.",
|
|
70
|
+
"Restyle through these tokens in a layer; never draw nested lists with chevrons by hand."
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"container": {
|
|
75
|
+
"height": {
|
|
76
|
+
"$type": "dimension",
|
|
77
|
+
"$description": "A row's least height, per density: the box that carries hover, focus, press and the selected fill. Regular is a navigation drawer's row and the touch target. Compact is a table's compact row, for a tool used with a pointer and for a small tree inside text; for touch a row is never lower than the touch target, whatever this says (TRV-26). A minimum: a row grows with a label that wraps and with enlarged text.",
|
|
78
|
+
"regular": {
|
|
79
|
+
"$value": {
|
|
80
|
+
"value": 48,
|
|
81
|
+
"unit": "px"
|
|
82
|
+
},
|
|
83
|
+
"$extensions": {
|
|
84
|
+
"dev.tanrei.derive": {
|
|
85
|
+
"fn": "mul",
|
|
86
|
+
"of": "{tanrei.dial.size.unit}",
|
|
87
|
+
"by": 12
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"compact": {
|
|
92
|
+
"$value": {
|
|
93
|
+
"value": 32,
|
|
94
|
+
"unit": "px"
|
|
95
|
+
},
|
|
96
|
+
"$extensions": {
|
|
97
|
+
"dev.tanrei.derive": {
|
|
98
|
+
"fn": "mul",
|
|
99
|
+
"of": "{tanrei.dial.size.unit}",
|
|
100
|
+
"by": 8
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"padding-block": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$description": "Above the first line and below the last line of a row's text, per density. With one line of the label it gives the height or leaves room; it holds the room when the label wraps or the text is enlarged.",
|
|
108
|
+
"regular": {
|
|
109
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
110
|
+
},
|
|
111
|
+
"compact": {
|
|
112
|
+
"$value": "{tanrei.sys.space.space75}"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"padding-inline": {
|
|
116
|
+
"$type": "dimension",
|
|
117
|
+
"$description": "Before the chevron's box and after the last part of a row, per density, inside the row's container.",
|
|
118
|
+
"regular": {
|
|
119
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
120
|
+
},
|
|
121
|
+
"compact": {
|
|
122
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"gap": {
|
|
126
|
+
"$type": "dimension",
|
|
127
|
+
"$description": "Between the chevron's box, the icon, the text, the trailing content and the trailing text of a row, per density. Regular is a navigation drawer row's gap.",
|
|
128
|
+
"regular": {
|
|
129
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
130
|
+
},
|
|
131
|
+
"compact": {
|
|
132
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"shape": {
|
|
136
|
+
"$type": "dimension",
|
|
137
|
+
"$value": "{tanrei.sys.shape.corner.small}",
|
|
138
|
+
"$description": "The corners of a row's container, which its selected fill, its state layer and its focus indicator follow: a navigation drawer row's and a menu item's."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"level": {
|
|
142
|
+
"$extensions": {
|
|
143
|
+
"dev.tanrei.vocabulary": {
|
|
144
|
+
"rationale": "One product shows how deep an item lies by how far in its row begins, and a dense tree steps in less than a roomy one. How far one level steps is the tree's own measure: it is not the space inside a row, and a product may step a tree of files in by less than the groups of its drawer.",
|
|
145
|
+
"since": "0.1.0"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"indent": {
|
|
149
|
+
"$type": "dimension",
|
|
150
|
+
"$description": "How much further from the start edge a row's container begins for each level below the first, per density: the chevron's box and one gap, so that a child's chevron stands under its parent's icon or label.",
|
|
151
|
+
"regular": {
|
|
152
|
+
"$value": "{tanrei.sys.space.space400}"
|
|
153
|
+
},
|
|
154
|
+
"compact": {
|
|
155
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"label": {
|
|
160
|
+
"typescale": {
|
|
161
|
+
"$description": "The label's text style, per density. Regular is a list item's headline; compact is one step smaller, a table's compact cell.",
|
|
162
|
+
"regular": {
|
|
163
|
+
"$type": "typography",
|
|
164
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
165
|
+
},
|
|
166
|
+
"compact": {
|
|
167
|
+
"$type": "typography",
|
|
168
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"supporting-text": {
|
|
173
|
+
"$extensions": {
|
|
174
|
+
"dev.tanrei.vocabulary": {
|
|
175
|
+
"rationale": "One product says a few words about some items after their names (after \"tokens/\": \"the source of truth, edited by hand\"), quieter than the names, so that the names still read down the tree as one column.",
|
|
176
|
+
"since": "0.1.0"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"typescale": {
|
|
180
|
+
"$type": "typography",
|
|
181
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
182
|
+
"$description": "The note after the label, in both densities: the size of the compact label, at a regular weight."
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"trailing-text": {
|
|
186
|
+
"$extensions": {
|
|
187
|
+
"dev.tanrei.vocabulary": {
|
|
188
|
+
"rationale": "One product puts a count or the present value at the end of some rows (the number of tokens in a group, the size of a file, the value of a token), quieter than the name so that the names still lead the eye.",
|
|
189
|
+
"since": "0.1.0"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"typescale": {
|
|
193
|
+
"$type": "typography",
|
|
194
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
195
|
+
"$description": "The short value at the end of a row, in both densities: a navigation drawer row's trailing text."
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"icon": {
|
|
199
|
+
"size": {
|
|
200
|
+
"$type": "dimension",
|
|
201
|
+
"$description": "The box of the glyph before the label, per density: no taller than one line of the label, so that it sits on the first line without making the row taller.",
|
|
202
|
+
"regular": {
|
|
203
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
204
|
+
},
|
|
205
|
+
"compact": {
|
|
206
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"chevron": {
|
|
211
|
+
"$extensions": {
|
|
212
|
+
"dev.tanrei.vocabulary": {
|
|
213
|
+
"rationale": "One product draws the mark that says a row opens at a size of its own, so that it reads as a mark and not as a second icon; the accordion and the navigation drawer make the same distinction.",
|
|
214
|
+
"since": "0.1.0"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"size": {
|
|
218
|
+
"$type": "dimension",
|
|
219
|
+
"$description": "The chevron's box at the start of a row, per density; a leaf keeps the box empty. Regular is the size of a navigation drawer group's chevron.",
|
|
220
|
+
"regular": {
|
|
221
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
222
|
+
},
|
|
223
|
+
"compact": {
|
|
224
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"guide": {
|
|
229
|
+
"$extensions": {
|
|
230
|
+
"dev.tanrei.vocabulary": {
|
|
231
|
+
"rationale": "One product draws a line down from an open parent beside what it holds, in a deep tree where the indent alone no longer shows which rows belong together, and draws none in a shallow one. The line is the tree's own: a system may draw it apart from its dividers.",
|
|
232
|
+
"since": "0.1.0"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"color": {
|
|
236
|
+
"$type": "color",
|
|
237
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
238
|
+
"$description": "The guide line of a tree whose guides is true: the one hairline. Decorative: the hierarchy is told by the indent and, to assistive technology, by the structure."
|
|
239
|
+
},
|
|
240
|
+
"width": {
|
|
241
|
+
"$type": "dimension",
|
|
242
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"unselected": {
|
|
246
|
+
"container": {
|
|
247
|
+
"color": {
|
|
248
|
+
"$type": "color",
|
|
249
|
+
"$value": {
|
|
250
|
+
"colorSpace": "srgb",
|
|
251
|
+
"components": [
|
|
252
|
+
0,
|
|
253
|
+
0,
|
|
254
|
+
0
|
|
255
|
+
],
|
|
256
|
+
"alpha": 0,
|
|
257
|
+
"hex": "#000000"
|
|
258
|
+
},
|
|
259
|
+
"$extensions": {
|
|
260
|
+
"dev.tanrei.derive": {
|
|
261
|
+
"fixed": "A row that is not selected draws no fill: it is a row on the surface the tree stands on; hover, focus and press mix into it."
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"label": {
|
|
267
|
+
"color": {
|
|
268
|
+
"$type": "color",
|
|
269
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
270
|
+
"$description": "The label: the text color of the surface the tree stands on, as a list item's headline."
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"supporting-text": {
|
|
274
|
+
"color": {
|
|
275
|
+
"$type": "color",
|
|
276
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"trailing-text": {
|
|
280
|
+
"color": {
|
|
281
|
+
"$type": "color",
|
|
282
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"icon": {
|
|
286
|
+
"color": {
|
|
287
|
+
"$type": "color",
|
|
288
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"chevron": {
|
|
292
|
+
"color": {
|
|
293
|
+
"$type": "color",
|
|
294
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
295
|
+
"$description": "The chevron: a mark, quieter than the label, in the color a navigation drawer and an accordion draw theirs in."
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"state-layer": {
|
|
299
|
+
"color": {
|
|
300
|
+
"$type": "color",
|
|
301
|
+
"$value": "{tanrei.comp.tree-view.unselected.label.color}",
|
|
302
|
+
"$description": "What hover, focus and press mix into the row: the label's color."
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"selected": {
|
|
307
|
+
"container": {
|
|
308
|
+
"color": {
|
|
309
|
+
"$type": "color",
|
|
310
|
+
"$value": "{tanrei.sys.color.secondary-container}",
|
|
311
|
+
"$description": "The quiet selection: the fill of a selected list item and of a selected destination in a navigation drawer."
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"label": {
|
|
315
|
+
"color": {
|
|
316
|
+
"$type": "color",
|
|
317
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"supporting-text": {
|
|
321
|
+
"color": {
|
|
322
|
+
"$type": "color",
|
|
323
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
324
|
+
"$description": "On the selected fill every part takes the fill's own content color, which is held to contrast on it; the secondary text color is held only on surfaces."
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"trailing-text": {
|
|
328
|
+
"color": {
|
|
329
|
+
"$type": "color",
|
|
330
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"icon": {
|
|
334
|
+
"color": {
|
|
335
|
+
"$type": "color",
|
|
336
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"chevron": {
|
|
340
|
+
"color": {
|
|
341
|
+
"$type": "color",
|
|
342
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"state-layer": {
|
|
346
|
+
"color": {
|
|
347
|
+
"$type": "color",
|
|
348
|
+
"$value": "{tanrei.comp.tree-view.selected.label.color}",
|
|
349
|
+
"$description": "What hover, focus and press mix into a selected row: its label's color."
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"motion": {
|
|
354
|
+
"state-duration": {
|
|
355
|
+
"$type": "duration",
|
|
356
|
+
"$value": "{tanrei.sys.motion.duration.short3}",
|
|
357
|
+
"$description": "How long a state change of a row takes."
|
|
358
|
+
},
|
|
359
|
+
"state-easing": {
|
|
360
|
+
"$type": "cubicBezier",
|
|
361
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
362
|
+
},
|
|
363
|
+
"feedback-duration": {
|
|
364
|
+
"$type": "duration",
|
|
365
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
366
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
367
|
+
},
|
|
368
|
+
"disclosure-duration": {
|
|
369
|
+
"$type": "duration",
|
|
370
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-spatial.duration}",
|
|
371
|
+
"$description": "How long a parent takes to open or close: its rows revealed or hidden, what follows moving, and its chevron turning. The name and the value of a navigation drawer group's and an accordion's.",
|
|
372
|
+
"$extensions": {
|
|
373
|
+
"dev.tanrei.vocabulary": {
|
|
374
|
+
"rationale": "One product opens a level of a tree as a small local change, faster or slower than it answers a press; and it may time a tree in a tool, where a person opens many levels in a row, apart from a group of its drawer.",
|
|
375
|
+
"since": "0.1.0"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"disclosure-easing": {
|
|
380
|
+
"$type": "cubicBezier",
|
|
381
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-spatial.easing}",
|
|
382
|
+
"$extensions": {
|
|
383
|
+
"dev.tanrei.vocabulary": {
|
|
384
|
+
"rationale": "The curve of disclosure-duration.",
|
|
385
|
+
"since": "0.1.0"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"dial": {
|
|
4
|
+
"$description": "Dials: the few numbers a whole system is derived from. Change one and every token derived from it follows on every platform; tokens marked fixed do not. Color seeds are not dials — they are palette declarations in tokens/systems/.",
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.llm": {
|
|
7
|
+
"usage": "Seven numbers the whole system is derived from. To make everything larger, roomier, rounder, bolder or slower, change a dial in your layer file instead of editing the tokens derived from it.",
|
|
8
|
+
"rules": [
|
|
9
|
+
"Set a dial with {\"$value\": …, \"reason\": \"…\"} in a layer; never in component code.",
|
|
10
|
+
"A color is not a dial: declare or re-seed a palette under \"palettes\".",
|
|
11
|
+
"Changing space.unit without size.unit can make controls too small for their padding; the build reports it."
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"type": {
|
|
16
|
+
"base": {
|
|
17
|
+
"$type": "dimension",
|
|
18
|
+
"$value": {
|
|
19
|
+
"value": 16,
|
|
20
|
+
"unit": "px"
|
|
21
|
+
},
|
|
22
|
+
"$extensions": {
|
|
23
|
+
"dev.tanrei.vocabulary": {
|
|
24
|
+
"rationale": "One product sets its overall text size once (readability, audience, brand).",
|
|
25
|
+
"since": "0.1.0"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"contrast": {
|
|
30
|
+
"$type": "number",
|
|
31
|
+
"$value": 1,
|
|
32
|
+
"$extensions": {
|
|
33
|
+
"dev.tanrei.vocabulary": {
|
|
34
|
+
"rationale": "One product decides how far headings stand apart from body text. Applied as an exponent on each text size coefficient, so 1 leaves the ramp unchanged.",
|
|
35
|
+
"since": "0.1.0"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"space": {
|
|
41
|
+
"unit": {
|
|
42
|
+
"$type": "dimension",
|
|
43
|
+
"$value": {
|
|
44
|
+
"value": 8,
|
|
45
|
+
"unit": "px"
|
|
46
|
+
},
|
|
47
|
+
"$extensions": {
|
|
48
|
+
"dev.tanrei.vocabulary": {
|
|
49
|
+
"rationale": "One product turns overall spacing up or down (airy marketing pages, dense tools).",
|
|
50
|
+
"since": "0.1.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"size": {
|
|
56
|
+
"unit": {
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$value": {
|
|
59
|
+
"value": 4,
|
|
60
|
+
"unit": "px"
|
|
61
|
+
},
|
|
62
|
+
"$extensions": {
|
|
63
|
+
"dev.tanrei.vocabulary": {
|
|
64
|
+
"rationale": "One product sets the scale of control heights, icon sizes and hit targets together.",
|
|
65
|
+
"since": "0.1.0"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"shape": {
|
|
71
|
+
"unit": {
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$value": {
|
|
74
|
+
"value": 2,
|
|
75
|
+
"unit": "px"
|
|
76
|
+
},
|
|
77
|
+
"$extensions": {
|
|
78
|
+
"dev.tanrei.vocabulary": {
|
|
79
|
+
"rationale": "One product decides how round it is, everywhere at once.",
|
|
80
|
+
"since": "0.1.0"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"stroke": {
|
|
86
|
+
"unit": {
|
|
87
|
+
"$type": "dimension",
|
|
88
|
+
"$value": {
|
|
89
|
+
"value": 1,
|
|
90
|
+
"unit": "px"
|
|
91
|
+
},
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"dev.tanrei.vocabulary": {
|
|
94
|
+
"rationale": "One product sets the weight of its borders, rings and focus indicators.",
|
|
95
|
+
"since": "0.1.0"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"motion": {
|
|
101
|
+
"unit": {
|
|
102
|
+
"$type": "duration",
|
|
103
|
+
"$value": {
|
|
104
|
+
"value": 50,
|
|
105
|
+
"unit": "ms"
|
|
106
|
+
},
|
|
107
|
+
"$extensions": {
|
|
108
|
+
"dev.tanrei.vocabulary": {
|
|
109
|
+
"rationale": "One product is quicker or calmer overall.",
|
|
110
|
+
"since": "0.1.0"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "m3-expressive-like is m3-like plus the five button sizes of Material 3 Expressive. Only what it adds is measured here, against androidx's size tokens; everything it inherits is measured by m3-like.fidelity.json.",
|
|
3
|
+
"system": "m3-expressive-like",
|
|
4
|
+
"reference": "reference/androidx-material3-buttons.json",
|
|
5
|
+
"scope": "The five button sizes: height, leading and trailing space, icon size, icon-to-label space, outline width and container shape.",
|
|
6
|
+
"sizes": {
|
|
7
|
+
"objects": {
|
|
8
|
+
"ButtonXSmallTokens": "xsmall",
|
|
9
|
+
"ButtonSmallTokens": "small",
|
|
10
|
+
"ButtonMediumTokens": "medium",
|
|
11
|
+
"ButtonLargeTokens": "large",
|
|
12
|
+
"ButtonXLargeTokens": "xlarge"
|
|
13
|
+
},
|
|
14
|
+
"map": [
|
|
15
|
+
{
|
|
16
|
+
"ref": "ContainerHeight",
|
|
17
|
+
"tanrei": "tanrei.comp.button.container.height.{size}"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"ref": "LeadingSpace",
|
|
21
|
+
"tanrei": "tanrei.comp.button.container.padding-inline-start.{size}"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"ref": "TrailingSpace",
|
|
25
|
+
"tanrei": "tanrei.comp.button.container.padding-inline-end.{size}"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"ref": "IconSize",
|
|
29
|
+
"tanrei": "tanrei.comp.button.icon.size.{size}"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"ref": "IconLabelSpace",
|
|
33
|
+
"tanrei": "tanrei.comp.button.container.gap.{size}"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"ref": "OutlinedOutlineWidth",
|
|
37
|
+
"tanrei": "tanrei.comp.button.outline.width.{size}"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"ref": "ContainerShapeRound",
|
|
41
|
+
"tanrei": "tanrei.comp.button.container.shape",
|
|
42
|
+
"kind": "shape"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"unmapped": [
|
|
46
|
+
{
|
|
47
|
+
"ref": "ContainerShapeSquare",
|
|
48
|
+
"gap": "button-shape-option"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"ref": "SelectedContainerShapeRound",
|
|
52
|
+
"gap": "button-shape-option"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"ref": "SelectedContainerShapeSquare",
|
|
56
|
+
"gap": "button-shape-option"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"ref": "PressedContainerShape",
|
|
60
|
+
"gap": "per-size-state-shape"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"evidence": {
|
|
65
|
+
"tanrei.comp.button.size.xsmall": "androidx.ButtonXSmallTokens",
|
|
66
|
+
"tanrei.comp.button.size.xlarge": "androidx.ButtonXLargeTokens"
|
|
67
|
+
}
|
|
68
|
+
}
|