@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,248 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"app-shell": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product frames its pages the same way everywhere: a header, its navigation, the content, sometimes an aside, a footer. It shows that frame in a wide window and in a narrow one, gives its reading pages a limited width and its working pages all of it, and lets a keyboard pass the frame in one step.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything an app shell reads: the frame's fill and the text color it hands down; the two window widths that part the three window classes (compact, medium, expanded); the gutter of each class; the main region's readable width and its space above and below; the aside's width, inset and its distance from the main content when stacked; the footer's space above and below; how touching regions are parted and the hairline that parts them; and the box the skip link is shown in.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"The shell places regions and draws none of their content. The header is an app bar, the navigation a navigation drawer, the aside the product's content or a side sheet, the bottom bar a navigation bar: each keeps its own tokens.",
|
|
14
|
+
"breakpoint.medium and breakpoint.expanded are widths of the window, not sizes of anything drawn. They alias the system's window classes (sys.breakpoint), as a responsive navigation drawer's do; never set one without the other, and set the drawer's with them.",
|
|
15
|
+
"A gutter is the distance between the frame and the content of the main region, of a stacked aside and of the footer. One per window class; nothing else in the shell changes size with the class.",
|
|
16
|
+
"main.max-width limits what is read. A page that is worked in (a table, an editor) sets mainWidth to full instead of raising the token.",
|
|
17
|
+
"separation follows the system's choice; set it here only to part this one component differently.",
|
|
18
|
+
"The shell has no states, no motion and no elevation of its own. The skip link's box is the one raised thing, and only while the link has keyboard focus.",
|
|
19
|
+
"There is no token for the header's height, the navigation's width or the footer's layout: they belong to what the product puts there."
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"container": {
|
|
24
|
+
"color": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{tanrei.sys.color.surface}",
|
|
27
|
+
"$description": "The frame's fill: what shows wherever no region draws a fill of its own, and under the system insets.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"dev.tanrei.vocabulary": {
|
|
30
|
+
"rationale": "One product sets its pages on its surface color and may set an app's frame on a dimmer one, so that the panes in it read as raised.",
|
|
31
|
+
"since": "0.1.0"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"content": {
|
|
37
|
+
"color": {
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
40
|
+
"$description": "The text color the frame hands to what it holds, as the inherited foreground. Prose and plain content bring none of their own.",
|
|
41
|
+
"$extensions": {
|
|
42
|
+
"dev.tanrei.vocabulary": {
|
|
43
|
+
"rationale": "Whatever the frame's fill is, text placed straight on it must be readable on it; the pair is set together.",
|
|
44
|
+
"since": "0.1.0"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"breakpoint": {
|
|
50
|
+
"$type": "dimension",
|
|
51
|
+
"$extensions": {
|
|
52
|
+
"dev.tanrei.vocabulary": {
|
|
53
|
+
"rationale": "One product has one set of window classes: the width from which its navigation leaves the layout and the width from which there is room for a third column are the same on every page, and it sets them where they suit its own content.",
|
|
54
|
+
"since": "0.1.0"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"medium": {
|
|
58
|
+
"$value": "{tanrei.sys.breakpoint.medium}",
|
|
59
|
+
"$description": "The window width from which the class is medium. Below it the window is compact: one column, the navigation over the content, a navigation bar at the bottom where the product gives one."
|
|
60
|
+
},
|
|
61
|
+
"expanded": {
|
|
62
|
+
"$value": "{tanrei.sys.breakpoint.expanded}",
|
|
63
|
+
"$description": "The window width from which the class is expanded: the navigation and the aside stand beside the main content."
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"gutter": {
|
|
67
|
+
"$type": "dimension",
|
|
68
|
+
"$description": "The inset of the main region's content, of a stacked aside and of the footer's content from the start and the end of their region, per window class.",
|
|
69
|
+
"$extensions": {
|
|
70
|
+
"dev.tanrei.vocabulary": {
|
|
71
|
+
"rationale": "One product keeps its content closer to the edge of a phone than to the edge of a desktop window: a narrow window has no width to spend on margins, and a wide one looks crowded without them.",
|
|
72
|
+
"since": "0.1.0"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"compact": {
|
|
76
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
77
|
+
},
|
|
78
|
+
"medium": {
|
|
79
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
80
|
+
},
|
|
81
|
+
"expanded": {
|
|
82
|
+
"$value": "{tanrei.sys.space.space400}"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"main": {
|
|
86
|
+
"max-width": {
|
|
87
|
+
"$type": "dimension",
|
|
88
|
+
"$value": {
|
|
89
|
+
"value": 768,
|
|
90
|
+
"unit": "px"
|
|
91
|
+
},
|
|
92
|
+
"$description": "The greatest width of the main region's content while mainWidth is contained: the prose's measure at the default text size with room for the blocks that are wider than text (a table, a code block, a figure).",
|
|
93
|
+
"$extensions": {
|
|
94
|
+
"dev.tanrei.derive": {
|
|
95
|
+
"fn": "mul",
|
|
96
|
+
"of": "{tanrei.dial.size.unit}",
|
|
97
|
+
"by": 192
|
|
98
|
+
},
|
|
99
|
+
"dev.tanrei.vocabulary": {
|
|
100
|
+
"rationale": "One product limits the width of what is read, whatever the window, and a product with denser or larger text sets the limit to suit it.",
|
|
101
|
+
"since": "0.1.0"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"padding-block": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$value": "{tanrei.sys.space.space400}",
|
|
108
|
+
"$description": "Space above and below the main region's content, and above and below the content of an aside that stands beside it, so that their first lines are level.",
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"dev.tanrei.vocabulary": {
|
|
111
|
+
"rationale": "One product decides how far its content starts below its header and how much room it leaves before the footer.",
|
|
112
|
+
"since": "0.1.0"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"aside": {
|
|
118
|
+
"$extensions": {
|
|
119
|
+
"dev.tanrei.vocabulary": {
|
|
120
|
+
"rationale": "One product shows supporting content beside its main content in a wide window, in a column narrow enough to leave the main content its width, and stacks the two, a clear step apart, where there is no room.",
|
|
121
|
+
"since": "0.1.0"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"width": {
|
|
125
|
+
"$type": "dimension",
|
|
126
|
+
"$value": {
|
|
127
|
+
"value": 240,
|
|
128
|
+
"unit": "px"
|
|
129
|
+
},
|
|
130
|
+
"$description": "The width of the aside beside the main content, its insets included, where what it holds has no width of its own. The navigation drawer's width in the default system, so that the frame is even on both sides.",
|
|
131
|
+
"$extensions": {
|
|
132
|
+
"dev.tanrei.derive": {
|
|
133
|
+
"fn": "mul",
|
|
134
|
+
"of": "{tanrei.dial.size.unit}",
|
|
135
|
+
"by": 60
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"padding-inline": {
|
|
140
|
+
"$type": "dimension",
|
|
141
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
142
|
+
"$description": "Inset of the aside's content from the start and the end of its column while it stands beside the main content."
|
|
143
|
+
},
|
|
144
|
+
"gap": {
|
|
145
|
+
"$type": "dimension",
|
|
146
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
147
|
+
"$description": "Distance between the main content and an aside stacked above or below it. A dividing line, where one is drawn, runs in its middle."
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"footer": {
|
|
151
|
+
"padding-block": {
|
|
152
|
+
"$type": "dimension",
|
|
153
|
+
"$value": "{tanrei.sys.space.space400}",
|
|
154
|
+
"$description": "Space above and below the footer's content.",
|
|
155
|
+
"$extensions": {
|
|
156
|
+
"dev.tanrei.vocabulary": {
|
|
157
|
+
"rationale": "One product sets its footer apart from the end of the content by space, and how much is its own choice.",
|
|
158
|
+
"since": "0.1.0"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"separation": {
|
|
164
|
+
"$type": "number",
|
|
165
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
166
|
+
"$description": "How regions that touch are told apart. divider: a line of outline.width in outline.color above the footer, at the start edge of an aside beside the main content, and between the main content and a stacked aside. gap: no line, the same spaces. Follows the system's choice; the shell's separation prop overrides it (APS-18). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
167
|
+
"$extensions": {
|
|
168
|
+
"dev.tanrei.vocabulary": {
|
|
169
|
+
"rationale": "One product rules its menus and joined buttons with a line and still parts the regions of its page by space alone, or the other way round: a line across a whole page is not the same decision as a line inside a control, so the frame must be able to leave the system's choice.",
|
|
170
|
+
"since": "0.1.0"
|
|
171
|
+
},
|
|
172
|
+
"dev.tanrei.enum": {
|
|
173
|
+
"values": [
|
|
174
|
+
"divider",
|
|
175
|
+
"gap"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"outline": {
|
|
181
|
+
"$extensions": {
|
|
182
|
+
"dev.tanrei.vocabulary": {
|
|
183
|
+
"rationale": "One product may draw the lines of its page frame lighter or heavier than the dividers inside its components, as it may an app bar's or a drawer's edge.",
|
|
184
|
+
"since": "0.1.0"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"color": {
|
|
188
|
+
"$type": "color",
|
|
189
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
190
|
+
"$description": "The color of the lines the shell draws between regions: the system's one hairline."
|
|
191
|
+
},
|
|
192
|
+
"width": {
|
|
193
|
+
"$type": "dimension",
|
|
194
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
195
|
+
"$description": "The thickness of those lines, and of the edge the skip link's box gains in a forced-colors mode."
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"skip-link": {
|
|
199
|
+
"$extensions": {
|
|
200
|
+
"dev.tanrei.vocabulary": {
|
|
201
|
+
"rationale": "One product shows its skip link, when the keyboard reaches it, in a box that stands out from the header it covers, in the product's own shape and at the product's own distance from the corner.",
|
|
202
|
+
"since": "0.1.0"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"container": {
|
|
206
|
+
"color": {
|
|
207
|
+
"$type": "color",
|
|
208
|
+
"$value": "{tanrei.sys.color.surface-container-high}",
|
|
209
|
+
"$description": "The fill of the box the focused skip link is shown in: a raised surface, on which a standard Link is readable."
|
|
210
|
+
},
|
|
211
|
+
"elevation": {
|
|
212
|
+
"$type": "shadow",
|
|
213
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
214
|
+
"$description": "How far the box is raised: above a sticky header and everything else in the frame."
|
|
215
|
+
},
|
|
216
|
+
"shape": {
|
|
217
|
+
"$type": "dimension",
|
|
218
|
+
"$value": "{tanrei.sys.shape.corner.small}",
|
|
219
|
+
"$description": "The box's corners: the corner of a control."
|
|
220
|
+
},
|
|
221
|
+
"padding-inline": {
|
|
222
|
+
"$type": "dimension",
|
|
223
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
224
|
+
"$description": "Inset of the link from the start and the end of the box."
|
|
225
|
+
},
|
|
226
|
+
"padding-block": {
|
|
227
|
+
"$type": "dimension",
|
|
228
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
229
|
+
"$description": "Inset of the link from the top and the bottom of the box: with one line of the label's text style the box reaches the pointer target's height."
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"offset": {
|
|
233
|
+
"$type": "dimension",
|
|
234
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
235
|
+
"$description": "Distance of the box from the top and the start edges of the window, inside the system insets."
|
|
236
|
+
},
|
|
237
|
+
"label": {
|
|
238
|
+
"typescale": {
|
|
239
|
+
"$type": "typography",
|
|
240
|
+
"$value": "{tanrei.sys.typescale.label}",
|
|
241
|
+
"$description": "The text style of the skip link in its box. Its color, underline and focus ring are the Link's own."
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"avatar": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows who something belongs to — the author of a post, the people in a conversation, the owner of a task — by a small picture, and still has something to show when a person has no picture or the picture does not arrive: their initials, or a glyph. It shows a person small beside a line of text, at a row's height in a list, and large at the top of that person's page; it tells a person from a team or a project by the box's shape; and it shows several people as one stack that says how many more there are.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"small",
|
|
15
|
+
"medium",
|
|
16
|
+
"large"
|
|
17
|
+
],
|
|
18
|
+
"members": [
|
|
19
|
+
"container.size",
|
|
20
|
+
"label.typescale",
|
|
21
|
+
"icon.size",
|
|
22
|
+
"group.overlap"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"shape": {
|
|
26
|
+
"default": "circle",
|
|
27
|
+
"values": [
|
|
28
|
+
"circle",
|
|
29
|
+
"square"
|
|
30
|
+
],
|
|
31
|
+
"members": [
|
|
32
|
+
"container.shape"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"dev.tanrei.llm": {
|
|
37
|
+
"usage": "Everything an avatar reads: per size, the side of its box, the text style of its initials, the size of its fallback glyph and how far the avatars of a group overlap; per shape, the box's corners; the quiet fill behind a fallback and a loading picture; the color of the initials and of the glyph; and the gap a group draws around each of its avatars.",
|
|
38
|
+
"rules": [
|
|
39
|
+
"An avatar stands for a person, or for a team, a project or another thing people act as. It is a picture, not a control: it takes no press and no focus and has no states. An avatar that goes somewhere or opens something is placed inside a link or a Button, which draws the states.",
|
|
40
|
+
"Give label the name it stands for. Beside a visible name set decorative, so the name is not read twice; alone, the label is its accessible name.",
|
|
41
|
+
"The avatar does not make initials from a name: writing systems and naming orders differ. The product gives initials; with neither a picture nor initials a glyph is drawn.",
|
|
42
|
+
"Every fallback has the same quiet fill and content color. Do not color avatars per person: a color that means nothing is not in the system.",
|
|
43
|
+
"A circle is a person; a square is something that is not one person (a team, a project, an organisation, a bot).",
|
|
44
|
+
"A dot or a count on an avatar is a badge wrapped around it, and means what a badge means everywhere: something is waiting.",
|
|
45
|
+
"Several avatars shown as one stack are a group: the group gives the size and the shape, and counts the ones it does not draw.",
|
|
46
|
+
"container.size is the box's exact side, not a minimum: an avatar does not grow with enlarged text, as a glyph's box does not.",
|
|
47
|
+
"Restyle through these tokens in a layer; never draw a round picture or a monogram by hand."
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"container": {
|
|
52
|
+
"size": {
|
|
53
|
+
"$type": "dimension",
|
|
54
|
+
"$description": "The side of the avatar's square box, per size. Small stands beside one line of text (a byline, a table cell) and is the size a chip gives an avatar; medium is the size a list row gives a leading avatar; large heads a person's own page or card and is the size a list row gives a leading image. An exact side, not a minimum.",
|
|
55
|
+
"small": {
|
|
56
|
+
"$value": {
|
|
57
|
+
"value": 24,
|
|
58
|
+
"unit": "px"
|
|
59
|
+
},
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"dev.tanrei.derive": {
|
|
62
|
+
"fn": "mul",
|
|
63
|
+
"of": "{tanrei.dial.size.unit}",
|
|
64
|
+
"by": 6
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"medium": {
|
|
69
|
+
"$value": {
|
|
70
|
+
"value": 40,
|
|
71
|
+
"unit": "px"
|
|
72
|
+
},
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"dev.tanrei.derive": {
|
|
75
|
+
"fn": "mul",
|
|
76
|
+
"of": "{tanrei.dial.size.unit}",
|
|
77
|
+
"by": 10
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"large": {
|
|
82
|
+
"$value": {
|
|
83
|
+
"value": 56,
|
|
84
|
+
"unit": "px"
|
|
85
|
+
},
|
|
86
|
+
"$extensions": {
|
|
87
|
+
"dev.tanrei.derive": {
|
|
88
|
+
"fn": "mul",
|
|
89
|
+
"of": "{tanrei.dial.size.unit}",
|
|
90
|
+
"by": 14
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"shape": {
|
|
96
|
+
"$type": "dimension",
|
|
97
|
+
"$description": "The box's corners, per shape, never larger than half its side. What the picture is clipped to.",
|
|
98
|
+
"circle": {
|
|
99
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
100
|
+
},
|
|
101
|
+
"square": {
|
|
102
|
+
"$value": "{tanrei.sys.shape.corner.small}"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"color": {
|
|
106
|
+
"$type": "color",
|
|
107
|
+
"$value": "{tanrei.sys.color.surface-container-highest}",
|
|
108
|
+
"$description": "The fill behind the initials, behind the glyph, behind a picture that is still loading and behind the transparent parts of a picture: the quiet tone a list row puts behind its leading avatar. The same for every person."
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"label": {
|
|
112
|
+
"typescale": {
|
|
113
|
+
"$type": "typography",
|
|
114
|
+
"$description": "The text style of the initials, per size: a label style small enough for two letters to stand in the box with room at their sides.",
|
|
115
|
+
"small": {
|
|
116
|
+
"$value": "{tanrei.sys.typescale.caption}"
|
|
117
|
+
},
|
|
118
|
+
"medium": {
|
|
119
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
120
|
+
},
|
|
121
|
+
"large": {
|
|
122
|
+
"$value": "{tanrei.sys.typescale.heading-3}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"color": {
|
|
126
|
+
"$type": "color",
|
|
127
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
128
|
+
"$description": "The color of the initials and of a group's count: secondary content on the quiet fill."
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"icon": {
|
|
132
|
+
"size": {
|
|
133
|
+
"$type": "dimension",
|
|
134
|
+
"$description": "The box of the fallback glyph, per size: a step of the icon scale that leaves the glyph a clear margin inside the avatar.",
|
|
135
|
+
"small": {
|
|
136
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
137
|
+
},
|
|
138
|
+
"medium": {
|
|
139
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
140
|
+
},
|
|
141
|
+
"large": {
|
|
142
|
+
"$value": "{tanrei.sys.icon.large}"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"color": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
148
|
+
"$description": "The color of the fallback glyph: the initials' color."
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"group": {
|
|
152
|
+
"$extensions": {
|
|
153
|
+
"dev.tanrei.vocabulary": {
|
|
154
|
+
"rationale": "One product shows the people of one thing — the reviewers of a change, the members of a channel, the authors of a page — in the room of two or three avatars, and says how many more there are.",
|
|
155
|
+
"since": "0.1.0"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"overlap": {
|
|
159
|
+
"$type": "dimension",
|
|
160
|
+
"$description": "How far each avatar of a group lies over the one before it, per size: a quarter of the box's side in the default system, so three quarters of every face stays in view.",
|
|
161
|
+
"small": {
|
|
162
|
+
"$value": "{tanrei.sys.space.space75}"
|
|
163
|
+
},
|
|
164
|
+
"medium": {
|
|
165
|
+
"$value": "{tanrei.sys.space.space125}"
|
|
166
|
+
},
|
|
167
|
+
"large": {
|
|
168
|
+
"$value": "{tanrei.sys.space.space175}"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"outline": {
|
|
172
|
+
"width": {
|
|
173
|
+
"$type": "dimension",
|
|
174
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
175
|
+
"$description": "The width of the gap a group draws around each of its avatars, outside the avatar's edge, so two pictures that overlap are read as two."
|
|
176
|
+
},
|
|
177
|
+
"color": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": "{tanrei.sys.color.surface}",
|
|
180
|
+
"$description": "The color of that gap: the surface the group sits on, as a badge's outline is. A product that places a group on another surface sets that surface's color here for that place."
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"badge": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product marks icons, navigation items and avatars with a dot when something is new and with a small count when it knows how many.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a badge reads: the dot's size and offset, the count pill's minimum height, padding, offset, shape and colors, the number's text style, and the outline that separates the badge from its anchor.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A badge decorates an anchor; always give it a label that reads well after the anchor's own name (\"3 unread\").",
|
|
14
|
+
"Use the dot for \"something is new\" and a count for \"how many\"; a count of 0 hides the badge.",
|
|
15
|
+
"container.height is a minimum: the pill grows with enlarged text.",
|
|
16
|
+
"Restyle through these tokens in a layer; never position a badge by hand."
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"dot": {
|
|
21
|
+
"size": {
|
|
22
|
+
"$type": "dimension",
|
|
23
|
+
"$value": {
|
|
24
|
+
"value": 6,
|
|
25
|
+
"unit": "px"
|
|
26
|
+
},
|
|
27
|
+
"$description": "The diameter of the dot shown when there is no count.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"dev.tanrei.derive": {
|
|
30
|
+
"fn": "mul",
|
|
31
|
+
"of": "{tanrei.dial.size.unit}",
|
|
32
|
+
"by": 1.5
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"offset": {
|
|
37
|
+
"$type": "dimension",
|
|
38
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
39
|
+
"$description": "How far the dot's center sits inside the anchor's top-end corner, on both axes."
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"container": {
|
|
43
|
+
"height": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$value": {
|
|
46
|
+
"value": 16,
|
|
47
|
+
"unit": "px"
|
|
48
|
+
},
|
|
49
|
+
"$description": "The count pill's minimum height; also its minimum width, so a single digit sits in a circle.",
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"dev.tanrei.derive": {
|
|
52
|
+
"fn": "mul",
|
|
53
|
+
"of": "{tanrei.dial.size.unit}",
|
|
54
|
+
"by": 4
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"padding-inline": {
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
61
|
+
},
|
|
62
|
+
"offset": {
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$value": "{tanrei.sys.space.space0}",
|
|
65
|
+
"$description": "How far the center of the pill's leading circle (a container.height square at its start) sits inside the anchor's top-end corner, on both axes. A longer count grows toward the end, away from the anchor."
|
|
66
|
+
},
|
|
67
|
+
"shape": {
|
|
68
|
+
"$type": "dimension",
|
|
69
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
70
|
+
},
|
|
71
|
+
"color": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"label": {
|
|
77
|
+
"color": {
|
|
78
|
+
"$type": "color",
|
|
79
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
80
|
+
},
|
|
81
|
+
"typescale": {
|
|
82
|
+
"$type": "typography",
|
|
83
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"outline": {
|
|
87
|
+
"color": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
90
|
+
},
|
|
91
|
+
"width": {
|
|
92
|
+
"$type": "dimension",
|
|
93
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
94
|
+
"$description": "Drawn outside the container (dot or pill), so it does not change the badge's size or where it sits."
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|