@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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"./shared-DaQcXrQr.js";var u=`/(?![/*\\s])(?:[^/\\\\\\n]|\\\\.)+/[a-z]*`,d=`[A-Za-z_$][\\w$.:-]*`,f=l(`any|bigint|boolean|never|number|object|string|symbol|unknown`),p=[{match:`"`,role:`string`,push:`double`},{match:`'`,role:`string`,push:`single`},{match:"`",role:`string`,push:`template`}],m={match:`\\{`,role:`punctuation`,push:`main`};function h(h,g){let _=[{match:`(<)(${d})(?=[\\s/>])`,role:[`punctuation`,`tag`],push:`tag`},{match:`<>`,role:`punctuation`,push:`children`}];return{states:{main:[{match:`(\\n[ \\t]*)(${u})`,role:[``,`string`]},{match:`[^\\S\\n]+|\\n`},o,c,...p,{match:`([(,;:\\[])(\\s*)(${u})`,role:[`punctuation`,``,`string`]},{match:`([=!&|?+\\-*%<>~^]+)(\\s*)(${u})`,role:[``,``,`string`]},{match:`(return|typeof|case|do|else|in|of|void|delete|throw|yield|await)(\\s*)(${u})`,role:[`keyword`,``,`string`]},...g?_:[],t(`n?`),{match:`@[A-Za-z_$][\\w$.]*`,role:`keyword`},{match:`\\.\\.\\.`},...h?[{match:`(\\??\\.)([A-Z][\\w$]*)(<)`,role:[`punctuation`,`type`,``],push:`generic`},{match:`(\\??\\.)(#?${n})(<)(?=[^<>()]{0,60}>\\s*\\()`,role:[`punctuation`,`function`,``],push:`generic`}]:[],{match:`(\\??\\.)(#?${n})(?=\\s*\\()`,role:[`punctuation`,`function`]},{match:`(\\??\\.)(#?${n})`,role:[`punctuation`,`property`]},{match:`(function)(?![\\w$])(\\s*\\*?\\s*)(${n})?`,role:[`keyword`,``,`function`]},{match:`(class|extends|instanceof|new${h?`|interface|enum|namespace|implements`:``})(\\s+)(${n})`,role:[`keyword`,``,`type`]},...h?[{match:`(type)(\\s+)(${n})(?=\\s*[=<])`,role:[`keyword`,``,`type`]}]:[],{match:l(`true|false|null|undefined|NaN|Infinity`),role:`constant`},i,{match:l(`async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|export|extends|finally|for|function|if|import|in|instanceof|let|new|return|static|super|switch|this|throw|try|typeof|var|void|while|with|yield${h?`|abstract|declare|enum|implements|interface|keyof|namespace|override|private|protected|public|readonly|satisfies`:``}`),role:`keyword`},...h?[{match:f,role:`type`},{match:`(${n})(<)(?=[^<>()]{0,60}>\\s*\\()`,role:[`function`,``],push:`generic`},{match:`([A-Z][\\w$]*)(<)`,role:[`type`,``],push:`generic`}]:[],{match:`${n}(?=\\s*\\()`,role:`function`},{match:`(?:as|from|get|of|set${h?`|asserts|infer|is|out|type`:``})(?=\\s+[\\w$\\[{'"*\`])`,role:`keyword`},{match:`[A-Z][\\w$]*`,role:`type`},{match:n},m,{match:`\\}`,role:`punctuation`,pop:!0},...e,{match:`[=+\\-*/%!&|^~?<>]+`}],comment:s(),double:r(`"`),single:r(`'`),template:[{match:"[^`\\\\$]+",role:`string`},{match:`\\\\[\\s\\S]`,role:`constant`},{match:`\\$\\{`,role:`punctuation`,push:`main`},{match:"`",role:`string`,pop:!0},{match:`\\$`,role:`string`}],generic:[a,{match:`>`,pop:!0},{match:`<`,push:`generic`},{match:`=>|[|&?]+`},{match:`[,:.\\[\\]()]+`,role:`punctuation`},{match:l(`extends|keyof|typeof|infer|in|readonly|is|new|void`),role:`keyword`},{match:l(`true|false|null|undefined`),role:`constant`},...p,t(),m,{match:n,role:`type`},{match:`(?=[\\s\\S])`,pop:!0}],tag:[a,{match:`[A-Za-z_$][\\w$:-]*`,role:`property`},{match:`=`,role:`punctuation`},{match:`"[^"]*"?|'[^']*'?`,role:`string`},m,{match:`/>`,role:`punctuation`,pop:!0},{match:`>`,role:`punctuation`,next:`children`}],children:[{match:`(</)(${d})?(\\s*>)`,role:[`punctuation`,`tag`,`punctuation`],pop:!0},{match:`(<)(${d})`,role:[`punctuation`,`tag`],push:`tag`},{match:`<>`,role:`punctuation`,push:`children`},m,{match:`&[#\\w]+;`,role:`constant`},{match:`[^<{&]+`}]}}}var g=h(!1,!1),_=h(!1,!0);export{g as javascript,_ as jsx,h as script};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e,o as t,r as n,s as r,t as i,u as a}from"./shared-DaQcXrQr.js";var o={states:{main:[t,{match:`"(?:[^"\\\\\\n]|\\\\.)*"(?=\\s*:)`,role:`property`},{match:`"`,role:`string`,push:`string`},{match:`-?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?`,role:`constant`},{match:a(`true|false|null`),role:`constant`},{match:`[{}\\[\\],:]+`,role:`punctuation`},n,i],string:e(`"`),comment:r()}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,c as t,l as n,n as r,o as i,r as a,s as o,t as s,u as c}from"./shared-DaQcXrQr.js";var l=`[A-Za-z_]\\w*`,u=[{match:`\\$\\{`,role:`punctuation`,push:`main`},{match:`\\$${l}`}],d={states:{main:[i,a,s,{match:`"""`,role:`string`,push:`raw`},{match:`"`,role:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|\\\\.)*'?`,role:`string`},t(`[fFLuU]*`),{match:`@[A-Za-z_][\\w:.]*`,role:`keyword`},{match:`(\\??\\.|::)(${l})(?=\\s*[({])`,role:[`punctuation`,`function`]},{match:`(\\??\\.|::)(${l})`,role:[`punctuation`,`property`]},{match:`(package|import)([ \\t]+)([\\w.*]+)`,role:[`keyword`,``,``]},{match:`(fun)(\\s+)(${l})(?=\\s*[(<])`,role:[`keyword`,``,`function`]},{match:`(class|interface|object|typealias)(\\s+)(${l})`,role:[`keyword`,``,`type`]},{match:c(`true|false|null`),role:`constant`},{match:c(`abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|do|else|enum|expect|external|final|finally|for|fun|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|super|suspend|tailrec|this|throw|try|typealias|val|var|vararg|when|where|while`),role:`keyword`},{match:`(?:data|value)(?=\\s+(?:class|object))`,role:`keyword`},r,{match:`[A-Z]\\w*`,role:`type`},{match:`${l}(?=\\s*[({])`,role:`function`},{match:l},{match:`\\{`,role:`punctuation`,push:`main`},{match:`\\}`,role:`punctuation`,pop:!0},...e,{match:`[=+\\-*/%!&|^~?<>]+`}],comment:o(!0),string:n(`"`,u,`$`),raw:[{match:`[^"$]+`,role:`string`},...u,{match:`"""`,role:`string`,pop:!0},{match:`["$]`,role:`string`}]}};export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`[A-Za-z_][\\w:.-]*`,t=e=>[{match:`\\s+`},{match:`[^\\s"'<>/=]+`,role:`property`},{match:`(=)(\\s*)([^\\s"'<>=\`]+)`,role:[`punctuation`,``,`string`]},{match:`=`,role:`punctuation`},{match:`"[^"]*"?|'[^']*'?`,role:`string`},{match:`/>`,role:`punctuation`,pop:!0},e,{match:`/`},{match:`(?=<)`,pop:!0}],n=e=>[{match:`(?=</${e}(?![\\w:.-]))`,pop:!0},{match:`[^<]+|<`}],r={ignoreCase:!0,states:{main:[{match:`<!--`,role:`comment`,push:`comment`},{match:`<!\\[CDATA\\[`,role:`punctuation`,push:`cdata`},{match:`<[!?][^>]*>?`,role:`keyword`},{match:`(<)(script)(?![\\w:.-])`,role:[`punctuation`,`tag`],push:`script-tag`},{match:`(<)(style)(?![\\w:.-])`,role:[`punctuation`,`tag`],push:`style-tag`},{match:`(</?)(${e})`,role:[`punctuation`,`tag`],push:`tag`},{match:`&[#\\w]+;`,role:`constant`},{match:`[^<&]+|[<&]`}],comment:[{match:`-->`,role:`comment`,pop:!0},{match:`[^-]+|-`,role:`comment`}],cdata:[{match:`\\]\\]>`,role:`punctuation`,pop:!0},{match:`[^\\]]+|\\]`}],tag:t({match:`>`,role:`punctuation`,pop:!0}),"script-tag":t({match:`>`,role:`punctuation`,next:`script`}),"style-tag":t({match:`>`,role:`punctuation`,next:`style`}),script:n(`script`),style:n(`style`)}};export{r as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=e=>`(?:${e})(?![\\w$])`,t=`[A-Za-z_$][\\w$]*`,n={match:`[A-Z][A-Z\\d]*_[A-Z\\d_]*(?![\\w$])`,role:`constant`},r=[{match:`[()\\[\\],;:]+`,role:`punctuation`},{match:`\\.`,role:`punctuation`}],i={match:`\\s+`},a={match:`//[^\\n]*`,role:`comment`},o={match:`/\\*`,role:`comment`,push:`comment`},s=(e=!1)=>[...e?[o]:[],{match:`\\*/`,role:`comment`,pop:!0},{match:`[^*/]+|[*/]`,role:`comment`}],c=(e,t=[],n=``)=>[{match:`[^${e}\\\\\\n${n}]+`,role:`string`},...t,{match:`\\\\[\\s\\S]`,role:`constant`},{match:e,role:`string`,pop:!0},{match:`\\n`,pop:!0},...n?[{match:`[${n}]`,role:`string`}]:[]],l=(e=``)=>({match:`(?:0[xX][\\da-fA-F_]+|0[bB][01_]+|0[oO][0-7_]+|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:[eE][+-]?\\d+)?)${e}(?![\\w$])`,role:`constant`});export{r as a,l as c,t as i,c as l,n,i as o,a as r,s,o as t,e as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`\\$\\{[^}\\n]*\\}?|\\$[A-Za-z_]\\w*|\\$[\\d@*#?$!-]`,t=[{match:`[ \\t]+`},{match:`\\\\\\n?`},{match:`#[^\\n]*`,role:`comment`},{match:`'[^']*'?`,role:`string`},{match:`\\$?"`,role:`string`,push:`double`},{match:"`[^`]*`?",role:`string`},{match:`\\$\\(|\\(`,role:`punctuation`,push:`command`},{match:`\\)`,role:`punctuation`,pop:!0},{match:e}],n={states:{command:[{match:`\\n+`},...t,{match:`(?:if|then|else|elif|fi|do|done|while|until|esac|time)(?![\\w.-])`,role:`keyword`},{match:`(?:for|case|in|function|select|return|exit|export|local|readonly|declare|typeset|unset|source|alias|break|continue|shift|eval|exec|trap|set)(?![\\w.-])`,role:`keyword`,next:`arguments`},{match:`([A-Za-z_][\\w-]*)(\\(\\))`,role:[`function`,`punctuation`]},{match:`([A-Za-z_]\\w*)(\\+?=)`,role:[``,``],next:`arguments`},{match:`[;&|!{}]+`},{match:`[^\\s|&;()<>"'\`$#=]+`,role:`function`,next:`arguments`},{match:`[<>=]+`}],arguments:[{match:`\\n`,next:`command`},...t,{match:`;;?`,role:`punctuation`,next:`command`},{match:`\\|\\|?|&&`,next:`command`},{match:`in(?![\\w.-])`,role:`keyword`},{match:`--?[A-Za-z][\\w-]*`,role:`property`},{match:`\\d+(?![\\w.:/-])`,role:`constant`},{match:`[<>&=]+`},{match:`[^\\s|&;()<>"'\`$=]+`}],double:[{match:'[^"\\\\$`]+',role:`string`},{match:`\\\\[\\s\\S]`,role:`constant`},{match:`\\$\\(`,role:`punctuation`,push:`command`},{match:e},{match:`"`,role:`string`,pop:!0},{match:"[$`]",role:`string`}]}};export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,l as t,n,o as r,r as i,s as a,t as o,u as s}from"./shared-DaQcXrQr.js";var c=`[A-Za-z_]\\w*`,l={match:`\\\\\\(`,role:`punctuation`,push:`main`},u={states:{main:[r,i,o,{match:`"""`,role:`string`,push:`text`},{match:`"`,role:`string`,push:`string`},e(),{match:`[@#][A-Za-z_]\\w*`,role:`keyword`},{match:`(\\.)(${c})(?=\\s*\\()`,role:[`punctuation`,`function`]},{match:`(\\.)(${c})`,role:[`punctuation`,`property`]},{match:`(func)(\\s+)(${c})`,role:[`keyword`,``,`function`]},{match:`(class|struct|enum|protocol|extension|actor|typealias|associatedtype|import)(\\s+)(${c})`,role:[`keyword`,``,`type`]},{match:s(`true|false|nil`),role:`constant`},{match:s(`actor|any|as|associatedtype|async|await|borrowing|break|case|catch|class|consuming|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|let|macro|mutating|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|self|Self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|var|weak|where|while|willSet`),role:`keyword`},n,{match:`[A-Z]\\w*`,role:`type`},{match:`${c}(?=\\s*\\()`,role:`function`},{match:c},{match:`\\(`,role:`punctuation`,push:`main`},{match:`\\)`,role:`punctuation`,pop:!0},{match:`[{}\\[\\],;:]+`,role:`punctuation`},{match:`\\.`,role:`punctuation`},{match:`[=+\\-*/%!&|^~?<>]+`}],comment:a(!0),string:t(`"`,[l]),text:[{match:`[^"\\\\]+`,role:`string`},l,{match:`\\\\[\\s\\S]`,role:`constant`},{match:`"""`,role:`string`,pop:!0},{match:`"`,role:`string`}]}};export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{script as e}from"./javascript-DSMm3SZC.js";var t=e(!0,!1),n=e(!0,!0);export{n as tsx,t as typescript};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<meta name="color-scheme" content="light dark" />
|
|
7
|
+
<meta name="referrer" content="no-referrer" />
|
|
8
|
+
<title>Tanrei Theme Studio</title>
|
|
9
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='4' fill='%23111'/%3E%3Ccircle cx='8' cy='8' r='3' fill='%23fff'/%3E%3C/svg%3E" />
|
|
10
|
+
<script type="module" crossorigin src="./assets/index-BByvFAbB.js"></script>
|
|
11
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CTe7Eja3.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<header class="app-bar">
|
|
15
|
+
<a class="app-brand" href="./"><span class="app-mark" aria-hidden="true"></span><bdi class="app-name" dir="ltr">Tanrei <span>Theme Studio</span></bdi></a>
|
|
16
|
+
<p class="app-session" id="session" aria-live="polite"></p>
|
|
17
|
+
<div class="app-tools">
|
|
18
|
+
<tanrei-select class="app-language" id="lang" size="small" label="Language" label-hidden></tanrei-select>
|
|
19
|
+
<tanrei-button class="app-tool" id="theme" variant="outlined" size="small">Dark</tanrei-button>
|
|
20
|
+
</div>
|
|
21
|
+
</header>
|
|
22
|
+
<main id="studio"></main>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Single source for naming. Every generated artifact derives names from here; never hardcode them elsewhere. Checked by `pnpm validate`.",
|
|
3
|
+
"name": "Tanrei",
|
|
4
|
+
"namespace": "tanrei",
|
|
5
|
+
"version": "0.1.0-next.0",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"public": "chnotchy/tanrei"
|
|
9
|
+
},
|
|
10
|
+
"packages": {
|
|
11
|
+
"npmScope": "@tanrei",
|
|
12
|
+
"swiftPackage": "Tanrei",
|
|
13
|
+
"mavenGroup": "io.github.chnotchy",
|
|
14
|
+
"mavenArtifactPrefix": "tanrei",
|
|
15
|
+
"pubPackage": "tanrei"
|
|
16
|
+
},
|
|
17
|
+
"web": {
|
|
18
|
+
"cssPrefix": "--tanrei",
|
|
19
|
+
"tagPrefix": "tanrei"
|
|
20
|
+
},
|
|
21
|
+
"platforms": ["web", "swiftui", "compose", "flutter", "react-native"],
|
|
22
|
+
"statuses": ["planned", "lagging", "alpha", "beta", "stable", "deprecated"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# tokens/ — local rules
|
|
2
|
+
|
|
3
|
+
- Format: DTCG 2025.10. `$type` on groups, object values for `dimension`/`duration`/`color`, aliases in braces. The resolver is `tanrei.resolver.json`; pin `$schema` to `/schemas/2025.10/`.
|
|
4
|
+
- Tiers, in reference order: `dial` (the few numbers everything is derived from) < `ref` (raw options) < `sys` (decisions; names are public API) < `comp` (a component's bindings). A token may reference its own tier or a lower one.
|
|
5
|
+
- **Every token's value is one of three kinds**: an **alias** (`"{tanrei.sys…}"`, re-pointable); **derived** — a rule in `$extensions["dev.tanrei.derive"]` such as `{ "fn": "mul", "of": "{tanrei.dial.space.unit}", "by": 1.75 }`, written next to the literal `$value` it produces at the dial defaults (the build fails if they disagree); or **fixed** — `{ "fixed": "<why no dial should move this>" }`. A bare literal is rejected.
|
|
6
|
+
- **Every token needs a one-product rationale** in `$extensions["dev.tanrei.vocabulary"].rationale`, on the token or inherited from its group: why might *one product* need this distinction? "Material has it" and "Button uses it" are not reasons.
|
|
7
|
+
- `vocabulary.lock.json` is generated. If it changes, the vocabulary changed — say so in the PR and the changeset.
|
|
8
|
+
- `generated/` is produced from `systems/<id>.system.json` by `@tanrei/token-engine`. Never edit it. To change colors, change that system's palette declarations or role rules (and bump `specVersion` for meaningful role-table changes).
|
|
9
|
+
- `systems/` holds design-system layers. A layer changes values; it cannot add token ids except through its `vocabulary` extensions. New vocabulary must pass the one-product test.
|
|
10
|
+
- **The root layer (`systems/tanrei.system.json`) sets generated values only**: palettes, color roles, per-state component tokens, and component colors valued by a color rule — what lands in `generated/`. The default system is the documents here as they are written, so every other default is changed in its own document (`dial/`, `ref/`, `sys/`, `comp/`), and a new core token is written there too, with its rationale. A line for such a token under the root layer's `tokens`, or a declaration under its `vocabulary` that is not a color role, would reach every system that extends the root and never the default system: `pnpm validate` and `pnpm generate` refuse it and name the document. Vocabulary extensions (a layer's `vocabulary`, each with a rationale, additive only) belong to the layers above the root.
|
|
11
|
+
- `icon-sets/<id>.icon-set.json` holds what an icon set's font cannot tell: the glyph names mirrored in right-to-left, validated by `schema/icon-set.schema.json`. It is data, not a token; a system gets the file whose `families` holds its icon family. The list is regenerated from its `source`, never edited by hand.
|
|
12
|
+
- Units are px (= dp = pt = logical px) and ms. Letter spacing is px at the style's own size; emitters convert (em on the web).
|
|
13
|
+
- A new component token file must be added to the `comp` set in the resolver, or it does not exist.
|
|
14
|
+
- **A group of `comp/` is a component of `specs/inventory.json`, or a set several components read** (such as `comp.input-box`, the box of the text input, the select, the combobox, the number input and the color input). Such a set names its readers (`dev.tanrei.shared.readers`, two or more) and is no component; no reader's own group may repeat one of its names, but those the set lists under `alsoIn` for a part of the reader's own. `validate` holds both (`validateSharedSets`). A value of the set is written once — in the document and in a layer — and a prop bound to one of its axes lists the values its component offers.
|
|
15
|
+
- After any edit: `pnpm validate && pnpm generate`, then build the platform packages — the generated Swift/Kotlin/Dart must compile.
|