@tanrei/cli 0.0.0-stage → 0.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +57 -0
- package/README.md +96 -2
- package/bin/tanrei.js +14 -0
- package/dist/cli.js +8275 -0
- package/dist/studio/THIRD_PARTY_LICENSES.md +1047 -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-DO0QW7yz.js +4 -0
- package/dist/studio/assets/index-CmKf0KHF.css +1 -0
- package/dist/studio/assets/index-CtN9tpay.js +6232 -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-CbWsDl0D.woff2 +0 -0
- package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.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 +33 -0
- package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
- package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
- package/dist/vocabulary/tanrei.config.json +24 -0
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +459 -0
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +199 -0
- package/dist/vocabulary/tokens/comp/badge.tokens.json +101 -0
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +326 -0
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +140 -0
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +810 -0
- package/dist/vocabulary/tokens/comp/button.tokens.json +1355 -0
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +500 -0
- package/dist/vocabulary/tokens/comp/callout.tokens.json +510 -0
- package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +469 -0
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +587 -0
- package/dist/vocabulary/tokens/comp/chip.tokens.json +716 -0
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +473 -0
- package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +756 -0
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +56 -0
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +797 -0
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +203 -0
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +340 -0
- package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
- package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -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/field-group.tokens.json +211 -0
- package/dist/vocabulary/tokens/comp/field.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/figure.tokens.json +269 -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 +30 -0
- package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +327 -0
- package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +1073 -0
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +328 -0
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +418 -0
- package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +1124 -0
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +279 -0
- package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
- package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +448 -0
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +1126 -0
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
- package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +246 -0
- package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +233 -0
- package/dist/vocabulary/tokens/comp/popover.tokens.json +363 -0
- package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/prose.tokens.json +283 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +413 -0
- package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
- package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +761 -0
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +414 -0
- package/dist/vocabulary/tokens/comp/select.tokens.json +687 -0
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +332 -0
- package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +114 -0
- package/dist/vocabulary/tokens/comp/slider.tokens.json +436 -0
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1160 -0
- package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
- package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
- package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
- package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +350 -0
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +429 -0
- package/dist/vocabulary/tokens/comp/table.tokens.json +553 -0
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +1058 -0
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +68 -0
- package/dist/vocabulary/tokens/comp/tag.tokens.json +551 -0
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +96 -0
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +239 -0
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +270 -0
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +391 -0
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +478 -0
- package/dist/vocabulary/tokens/dial/dial.tokens.json +137 -0
- package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +388 -0
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
- package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
- package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +279 -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 +859 -0
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +184 -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 +442 -0
- package/dist/vocabulary/tokens/sys/motion.tokens.json +1421 -0
- package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -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 +83 -0
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
- package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +859 -0
- package/dist/vocabulary/tokens/systems/m3-like/comp/fab-menu.tokens.json +499 -0
- package/dist/vocabulary/tokens/systems/m3-like.system.json +1181 -0
- package/dist/vocabulary/tokens/systems/tanrei.system.json +707 -0
- package/dist/vocabulary/tokens/tanrei.resolver.json +400 -0
- package/package.json +50 -3
|
@@ -0,0 +1,1355 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"button": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product uses buttons at several emphasis levels and several sizes, enabled and disabled: with a label, with an icon beside the label, or with an icon alone (in toolbars, rows and cards), some of them switches that are on or off, and some of them actions that delete or discard something, which a person should be able to tell apart before pressing.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"filled",
|
|
13
|
+
"tonal",
|
|
14
|
+
"elevated",
|
|
15
|
+
"outlined",
|
|
16
|
+
"text"
|
|
17
|
+
],
|
|
18
|
+
"states": [
|
|
19
|
+
"hovered",
|
|
20
|
+
"focused",
|
|
21
|
+
"pressed",
|
|
22
|
+
"disabled"
|
|
23
|
+
],
|
|
24
|
+
"perVariant": {
|
|
25
|
+
"container.color": "color",
|
|
26
|
+
"label.color": "color",
|
|
27
|
+
"icon.color": "color",
|
|
28
|
+
"outline.color": "color",
|
|
29
|
+
"state-layer.color": "color",
|
|
30
|
+
"container.elevation": "shadow",
|
|
31
|
+
"unselected.container.color": "color",
|
|
32
|
+
"unselected.label.color": "color",
|
|
33
|
+
"unselected.icon.color": "color",
|
|
34
|
+
"unselected.outline.color": "color",
|
|
35
|
+
"unselected.state-layer.color": "color",
|
|
36
|
+
"selected.container.color": "color",
|
|
37
|
+
"selected.label.color": "color",
|
|
38
|
+
"selected.icon.color": "color",
|
|
39
|
+
"selected.outline.color": "color",
|
|
40
|
+
"selected.state-layer.color": "color",
|
|
41
|
+
"destructive.container.color": "color",
|
|
42
|
+
"destructive.label.color": "color",
|
|
43
|
+
"destructive.icon.color": "color",
|
|
44
|
+
"destructive.outline.color": "color",
|
|
45
|
+
"destructive.state-layer.color": "color"
|
|
46
|
+
},
|
|
47
|
+
"perComponent": {
|
|
48
|
+
"opacity": "number",
|
|
49
|
+
"container.shape": "dimension"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"dev.tanrei.llm": {
|
|
53
|
+
"usage": "Everything a Button reads, and nothing else: size-dependent geometry (height, directional padding with and without an icon at either side, gap, and the narrow inset and the wide width of an icon-only button), its text style, its glyph sizes (beside a label, and alone), and for each variant (filled, tonal, elevated, outlined, text) the container / label / icon / outline colors and elevation of a plain button, of a toggle that is off (unselected.), of a toggle that is on (selected.) and of an action that deletes or discards (destructive.), in each state (resting, hovered, focused, pressed, disabled), plus per-state shape and opacity.",
|
|
54
|
+
"rules": [
|
|
55
|
+
"To restyle buttons in a product, change these tokens in a layer; never fork the component or add a variant.",
|
|
56
|
+
"State tokens are valued by the design system's pattern rules (tanrei.comp.*.*.hovered.container.color …). Override one token, or replace the rule to change every component at once.",
|
|
57
|
+
"A state that should look like rest aliases the resting token; a system that dims on press sets pressed.opacity.",
|
|
58
|
+
"Heights are minimums: a height must hold 2 × padding-block + one label line, and the build reports it when it does not.",
|
|
59
|
+
"label.color is the color of the label and of an icon beside it; icon.color is the color of the glyph of a button that has no label. Keep them equal unless an icon alone should be quieter or louder than a labelled action.",
|
|
60
|
+
"An icon-only button is as wide as it is high by default, so container.shape draws a circle at corner.full and a rounded square at a smaller corner; its width prop sets the glyph between container.padding-inline-narrow, or draws container.width-wide, instead, for a tight row or a wider target. There is no token for the default width (it is the height) and none for the narrow one (it is the glyph and the inset twice).",
|
|
61
|
+
"A toggle that is off must look quieter than one that is on; do not make unselected and selected the same.",
|
|
62
|
+
"Each look's state-layer.color is the color hover, focus and press mix into its container; it aliases that look's label color.",
|
|
63
|
+
"padding-inline-start-with-icon and padding-inline-end-with-icon are the padding on the side an icon sits at; keep them a step tighter than the plain paddings, because a glyph carries empty space inside its box that a label does not.",
|
|
64
|
+
"destructive. is the look of an action that deletes or discards something, in each variant: the error role at the variant's own emphasis (filled: error and on-error; tonal: error-container and on-error-container; elevated, outlined and text: the error color on the variant's own container, and an outlined button's edge in it too). Disabled, it looks like any disabled button of its variant. A toggle has no destructive look.",
|
|
65
|
+
"tone.container.opacity is how strongly a Button shows its container on a colored surface its host draws (BTN-45): the host gives the surface's content color, and the Button draws its label, icon and state layer in it, its container in it at this opacity, and hover, focus and press over that at sys.state's state-layer opacities. A host chooses the tone; a product never gives one."
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"dev.tanrei.axes": {
|
|
69
|
+
"size": {
|
|
70
|
+
"default": "medium",
|
|
71
|
+
"values": [
|
|
72
|
+
"small",
|
|
73
|
+
"medium",
|
|
74
|
+
"large"
|
|
75
|
+
],
|
|
76
|
+
"members": [
|
|
77
|
+
"container.height",
|
|
78
|
+
"container.padding-inline-narrow",
|
|
79
|
+
"container.width-wide",
|
|
80
|
+
"container.padding-inline-start",
|
|
81
|
+
"container.padding-inline-end",
|
|
82
|
+
"container.padding-inline-start-with-icon",
|
|
83
|
+
"container.padding-inline-end-with-icon",
|
|
84
|
+
"container.padding-block",
|
|
85
|
+
"label.typescale",
|
|
86
|
+
"icon.size",
|
|
87
|
+
"icon.size-without-label",
|
|
88
|
+
"container.gap",
|
|
89
|
+
"outline.width",
|
|
90
|
+
"motion.state-duration"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"variant": {
|
|
94
|
+
"default": "filled",
|
|
95
|
+
"from": "states"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"container": {
|
|
100
|
+
"shape": {
|
|
101
|
+
"$type": "dimension",
|
|
102
|
+
"$value": "{tanrei.sys.shape.corner.full}",
|
|
103
|
+
"$description": "The corners. Fully rounded in the default system: a button with a label is a pill, an icon-only button, which is as wide as it is high, a circle. A smaller corner draws a rounded rectangle and a rounded square."
|
|
104
|
+
},
|
|
105
|
+
"height": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$description": "The container's height, per size, and the width of an icon-only button at its default width.",
|
|
108
|
+
"small": {
|
|
109
|
+
"$value": {
|
|
110
|
+
"value": 28,
|
|
111
|
+
"unit": "px"
|
|
112
|
+
},
|
|
113
|
+
"$extensions": {
|
|
114
|
+
"dev.tanrei.derive": {
|
|
115
|
+
"fn": "mul",
|
|
116
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
117
|
+
"by": 1
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"medium": {
|
|
122
|
+
"$value": {
|
|
123
|
+
"value": 36,
|
|
124
|
+
"unit": "px"
|
|
125
|
+
},
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"dev.tanrei.derive": {
|
|
128
|
+
"fn": "mul",
|
|
129
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
130
|
+
"by": 1,
|
|
131
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
132
|
+
},
|
|
133
|
+
"dev.tanrei.aligned": "control"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"large": {
|
|
137
|
+
"$value": {
|
|
138
|
+
"value": 52,
|
|
139
|
+
"unit": "px"
|
|
140
|
+
},
|
|
141
|
+
"$extensions": {
|
|
142
|
+
"dev.tanrei.derive": {
|
|
143
|
+
"fn": "mul",
|
|
144
|
+
"of": "{tanrei.sys.control.height.large}",
|
|
145
|
+
"by": 1,
|
|
146
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"padding-inline-narrow": {
|
|
152
|
+
"$type": "dimension",
|
|
153
|
+
"$description": "The inset on each side of the glyph of an icon-only button whose width is narrow, per size: the button is as wide as its glyph's box (icon.size-without-label) and this twice, and no wider (BTN-12). The default system holds it at 4 at every size, the least room that keeps a glyph clear of the capsule's edge; a narrow button is then 28, 32 and 32 wide. A system that wants its narrow buttons to differ more by size gives a size a larger value; it should not go below the default's. The hit area still meets the minimum target (BTN-5).",
|
|
154
|
+
"$extensions": {
|
|
155
|
+
"dev.tanrei.vocabulary": {
|
|
156
|
+
"rationale": "One product packs icon actions tightly in one place (a dense toolbar, a row of a table) and gives one of them weight in another (the play button among transport controls), at the same height; the height alone cannot say both. How tight the tight form is, is room beside a glyph: a product that changes its glyph's size keeps that room without restating a width.",
|
|
157
|
+
"since": "0.1.0"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"small": {
|
|
161
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
162
|
+
},
|
|
163
|
+
"medium": {
|
|
164
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
165
|
+
},
|
|
166
|
+
"large": {
|
|
167
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"width-wide": {
|
|
171
|
+
"$type": "dimension",
|
|
172
|
+
"$description": "The width of an icon-only button whose width is wide, per size: about one and a quarter to one and a third of the height, for the action of a row that should weigh more or be easier to hit.",
|
|
173
|
+
"$extensions": {
|
|
174
|
+
"dev.tanrei.vocabulary": {
|
|
175
|
+
"rationale": "One product packs icon actions tightly in one place (a dense toolbar, a row of a table) and gives one of them weight in another (the play button among transport controls), at the same height; the height alone cannot say both.",
|
|
176
|
+
"since": "0.1.0"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"small": {
|
|
180
|
+
"$value": {
|
|
181
|
+
"value": 40,
|
|
182
|
+
"unit": "px"
|
|
183
|
+
},
|
|
184
|
+
"$extensions": {
|
|
185
|
+
"dev.tanrei.derive": {
|
|
186
|
+
"fn": "mul",
|
|
187
|
+
"of": "{tanrei.dial.size.unit}",
|
|
188
|
+
"by": 10
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"medium": {
|
|
193
|
+
"$value": {
|
|
194
|
+
"value": 52,
|
|
195
|
+
"unit": "px"
|
|
196
|
+
},
|
|
197
|
+
"$extensions": {
|
|
198
|
+
"dev.tanrei.derive": {
|
|
199
|
+
"fn": "mul",
|
|
200
|
+
"of": "{tanrei.dial.size.unit}",
|
|
201
|
+
"by": 13
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"large": {
|
|
206
|
+
"$value": {
|
|
207
|
+
"value": 72,
|
|
208
|
+
"unit": "px"
|
|
209
|
+
},
|
|
210
|
+
"$extensions": {
|
|
211
|
+
"dev.tanrei.derive": {
|
|
212
|
+
"fn": "mul",
|
|
213
|
+
"of": "{tanrei.dial.size.unit}",
|
|
214
|
+
"by": 18
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"gap": {
|
|
220
|
+
"$type": "dimension",
|
|
221
|
+
"$description": "Distance between the icon and the label, per size. The same at every size by default.",
|
|
222
|
+
"small": {
|
|
223
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
224
|
+
},
|
|
225
|
+
"medium": {
|
|
226
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
227
|
+
},
|
|
228
|
+
"large": {
|
|
229
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"padding-inline-start": {
|
|
233
|
+
"$type": "dimension",
|
|
234
|
+
"$description": "Leading padding (start side in the reading direction).",
|
|
235
|
+
"small": {
|
|
236
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
237
|
+
},
|
|
238
|
+
"medium": {
|
|
239
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
240
|
+
},
|
|
241
|
+
"large": {
|
|
242
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"padding-inline-end": {
|
|
246
|
+
"$type": "dimension",
|
|
247
|
+
"small": {
|
|
248
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
249
|
+
},
|
|
250
|
+
"medium": {
|
|
251
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
252
|
+
},
|
|
253
|
+
"large": {
|
|
254
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"padding-inline-start-with-icon": {
|
|
258
|
+
"$type": "dimension",
|
|
259
|
+
"$description": "Leading padding when the icon is at the leading side: a step tighter than padding-inline-start (4 less at small and medium, 8 less at large), as the main action button pads its icon's side, because a glyph carries empty space inside its box and the same padding as a label's reads as wider.",
|
|
260
|
+
"small": {
|
|
261
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
262
|
+
},
|
|
263
|
+
"medium": {
|
|
264
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
265
|
+
},
|
|
266
|
+
"large": {
|
|
267
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"padding-inline-end-with-icon": {
|
|
271
|
+
"$type": "dimension",
|
|
272
|
+
"$description": "Trailing padding when the icon is at the trailing side, the mirror of padding-inline-start-with-icon and tighter than padding-inline-end by the same step.",
|
|
273
|
+
"$extensions": {
|
|
274
|
+
"dev.tanrei.vocabulary": {
|
|
275
|
+
"rationale": "One product puts the icon after the label on some buttons (Next →, an external link, a menu's chevron) and before it on others; a product that tightens the padding on the icon's side for a leading icon needs the same for a trailing one, or the two forms of one button are drawn out of balance.",
|
|
276
|
+
"since": "0.1.0"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"small": {
|
|
280
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
281
|
+
},
|
|
282
|
+
"medium": {
|
|
283
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
284
|
+
},
|
|
285
|
+
"large": {
|
|
286
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"padding-block": {
|
|
290
|
+
"$type": "dimension",
|
|
291
|
+
"$description": "Vertical padding. Heights are minimums, so this only shows when the label wraps or text is enlarged.",
|
|
292
|
+
"small": {
|
|
293
|
+
"$value": {
|
|
294
|
+
"value": 4,
|
|
295
|
+
"unit": "px"
|
|
296
|
+
},
|
|
297
|
+
"$extensions": {
|
|
298
|
+
"dev.tanrei.derive": {
|
|
299
|
+
"fn": "pad",
|
|
300
|
+
"of": "{tanrei.sys.space.space75}",
|
|
301
|
+
"height": "{tanrei.comp.button.container.height.small}"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"medium": {
|
|
306
|
+
"$value": {
|
|
307
|
+
"value": 4,
|
|
308
|
+
"unit": "px"
|
|
309
|
+
},
|
|
310
|
+
"$extensions": {
|
|
311
|
+
"dev.tanrei.derive": {
|
|
312
|
+
"fn": "pad",
|
|
313
|
+
"of": "{tanrei.sys.space.space75}",
|
|
314
|
+
"height": "{tanrei.comp.button.container.height.medium}"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"large": {
|
|
319
|
+
"$value": {
|
|
320
|
+
"value": 4,
|
|
321
|
+
"unit": "px"
|
|
322
|
+
},
|
|
323
|
+
"$extensions": {
|
|
324
|
+
"dev.tanrei.derive": {
|
|
325
|
+
"fn": "pad",
|
|
326
|
+
"of": "{tanrei.sys.space.space75}",
|
|
327
|
+
"height": "{tanrei.comp.button.container.height.large}"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"label": {
|
|
334
|
+
"typescale": {
|
|
335
|
+
"$type": "typography",
|
|
336
|
+
"$description": "The label's text style, per size: a small button may carry a smaller label. The same style at every size by default.",
|
|
337
|
+
"small": {
|
|
338
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
339
|
+
},
|
|
340
|
+
"medium": {
|
|
341
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
342
|
+
},
|
|
343
|
+
"large": {
|
|
344
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"icon": {
|
|
349
|
+
"size": {
|
|
350
|
+
"$type": "dimension",
|
|
351
|
+
"$description": "The icon box beside a label, per size. By default a small button draws a small glyph and a medium one the standard glyph; a large one keeps the standard glyph, because the next step would not leave room in its height.",
|
|
352
|
+
"small": {
|
|
353
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
354
|
+
},
|
|
355
|
+
"medium": {
|
|
356
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
357
|
+
},
|
|
358
|
+
"large": {
|
|
359
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"size-without-label": {
|
|
363
|
+
"$type": "dimension",
|
|
364
|
+
"$description": "The icon box of an icon-only button, per size. The same as the icon beside a label by default.",
|
|
365
|
+
"$extensions": {
|
|
366
|
+
"dev.tanrei.vocabulary": {
|
|
367
|
+
"rationale": "One product draws a glyph that stands alone larger than one that sits beside a label: alone it carries the whole meaning of the action, beside text it only reinforces it. For example, 18 beside a label and 24 alone.",
|
|
368
|
+
"since": "0.1.0"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"small": {
|
|
372
|
+
"$value": "{tanrei.comp.button.icon.size.small}"
|
|
373
|
+
},
|
|
374
|
+
"medium": {
|
|
375
|
+
"$value": "{tanrei.comp.button.icon.size.medium}"
|
|
376
|
+
},
|
|
377
|
+
"large": {
|
|
378
|
+
"$value": "{tanrei.comp.button.icon.size.large}"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"outline": {
|
|
383
|
+
"width": {
|
|
384
|
+
"$type": "dimension",
|
|
385
|
+
"$description": "Width of the outline, per size: a much larger button may carry a heavier outline. The same at every size by default.",
|
|
386
|
+
"small": {
|
|
387
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
388
|
+
},
|
|
389
|
+
"medium": {
|
|
390
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
391
|
+
},
|
|
392
|
+
"large": {
|
|
393
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"filled": {
|
|
398
|
+
"container": {
|
|
399
|
+
"color": {
|
|
400
|
+
"$type": "color",
|
|
401
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
402
|
+
},
|
|
403
|
+
"elevation": {
|
|
404
|
+
"$type": "shadow",
|
|
405
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"label": {
|
|
409
|
+
"color": {
|
|
410
|
+
"$type": "color",
|
|
411
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"icon": {
|
|
415
|
+
"color": {
|
|
416
|
+
"$type": "color",
|
|
417
|
+
"$value": "{tanrei.comp.button.filled.label.color}",
|
|
418
|
+
"$description": "The glyph of an icon-only button; beside a label the icon takes label.color. The label's color by default."
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"state-layer": {
|
|
422
|
+
"color": {
|
|
423
|
+
"$type": "color",
|
|
424
|
+
"$value": "{tanrei.comp.button.filled.label.color}",
|
|
425
|
+
"$description": "The color hover, focus and press mix into the container. Button's state layer is its label color."
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"outline": {
|
|
429
|
+
"color": {
|
|
430
|
+
"$type": "color",
|
|
431
|
+
"$value": {
|
|
432
|
+
"colorSpace": "srgb",
|
|
433
|
+
"components": [
|
|
434
|
+
0,
|
|
435
|
+
0,
|
|
436
|
+
0
|
|
437
|
+
],
|
|
438
|
+
"alpha": 0,
|
|
439
|
+
"hex": "#000000"
|
|
440
|
+
},
|
|
441
|
+
"$extensions": {
|
|
442
|
+
"dev.tanrei.derive": {
|
|
443
|
+
"fixed": "This variant has no border."
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"unselected": {
|
|
449
|
+
"$type": "color",
|
|
450
|
+
"container": {
|
|
451
|
+
"color": {
|
|
452
|
+
"$value": "{tanrei.sys.color.surface-container-highest}",
|
|
453
|
+
"$description": "A toggle that is off is quieter than a filled action: a neutral fill, not the primary one."
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"label": {
|
|
457
|
+
"color": {
|
|
458
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"icon": {
|
|
462
|
+
"color": {
|
|
463
|
+
"$value": "{tanrei.comp.button.filled.unselected.label.color}"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"outline": {
|
|
467
|
+
"color": {
|
|
468
|
+
"$value": {
|
|
469
|
+
"colorSpace": "srgb",
|
|
470
|
+
"components": [
|
|
471
|
+
0,
|
|
472
|
+
0,
|
|
473
|
+
0
|
|
474
|
+
],
|
|
475
|
+
"alpha": 0,
|
|
476
|
+
"hex": "#000000"
|
|
477
|
+
},
|
|
478
|
+
"$extensions": {
|
|
479
|
+
"dev.tanrei.derive": {
|
|
480
|
+
"fixed": "This look has no outline."
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"state-layer": {
|
|
486
|
+
"color": {
|
|
487
|
+
"$value": "{tanrei.comp.button.filled.unselected.label.color}"
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"selected": {
|
|
492
|
+
"$type": "color",
|
|
493
|
+
"container": {
|
|
494
|
+
"color": {
|
|
495
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"label": {
|
|
499
|
+
"color": {
|
|
500
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"icon": {
|
|
504
|
+
"color": {
|
|
505
|
+
"$value": "{tanrei.comp.button.filled.selected.label.color}"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"outline": {
|
|
509
|
+
"color": {
|
|
510
|
+
"$value": {
|
|
511
|
+
"colorSpace": "srgb",
|
|
512
|
+
"components": [
|
|
513
|
+
0,
|
|
514
|
+
0,
|
|
515
|
+
0
|
|
516
|
+
],
|
|
517
|
+
"alpha": 0,
|
|
518
|
+
"hex": "#000000"
|
|
519
|
+
},
|
|
520
|
+
"$extensions": {
|
|
521
|
+
"dev.tanrei.derive": {
|
|
522
|
+
"fixed": "This look has no outline."
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"state-layer": {
|
|
528
|
+
"color": {
|
|
529
|
+
"$value": "{tanrei.comp.button.filled.selected.label.color}"
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"destructive": {
|
|
534
|
+
"$type": "color",
|
|
535
|
+
"container": {
|
|
536
|
+
"color": {
|
|
537
|
+
"$value": "{tanrei.sys.color.error}",
|
|
538
|
+
"$description": "A destructive filled button is filled with the error role: the strongest look, for the one action of a view that deletes or discards."
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"label": {
|
|
542
|
+
"color": {
|
|
543
|
+
"$value": "{tanrei.sys.color.on-error}"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"icon": {
|
|
547
|
+
"color": {
|
|
548
|
+
"$value": "{tanrei.comp.button.filled.destructive.label.color}",
|
|
549
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"outline": {
|
|
553
|
+
"color": {
|
|
554
|
+
"$value": "{tanrei.comp.button.filled.outline.color}"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"state-layer": {
|
|
558
|
+
"color": {
|
|
559
|
+
"$value": "{tanrei.comp.button.filled.destructive.label.color}",
|
|
560
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"tonal": {
|
|
566
|
+
"container": {
|
|
567
|
+
"color": {
|
|
568
|
+
"$type": "color",
|
|
569
|
+
"$value": "{tanrei.sys.color.secondary-container}"
|
|
570
|
+
},
|
|
571
|
+
"elevation": {
|
|
572
|
+
"$type": "shadow",
|
|
573
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"label": {
|
|
577
|
+
"color": {
|
|
578
|
+
"$type": "color",
|
|
579
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"icon": {
|
|
583
|
+
"color": {
|
|
584
|
+
"$type": "color",
|
|
585
|
+
"$value": "{tanrei.comp.button.tonal.label.color}",
|
|
586
|
+
"$description": "The glyph of an icon-only button; beside a label the icon takes label.color. The label's color by default."
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"state-layer": {
|
|
590
|
+
"color": {
|
|
591
|
+
"$type": "color",
|
|
592
|
+
"$value": "{tanrei.comp.button.tonal.label.color}",
|
|
593
|
+
"$description": "The color hover, focus and press mix into the container. Button's state layer is its label color."
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"outline": {
|
|
597
|
+
"color": {
|
|
598
|
+
"$type": "color",
|
|
599
|
+
"$value": {
|
|
600
|
+
"colorSpace": "srgb",
|
|
601
|
+
"components": [
|
|
602
|
+
0,
|
|
603
|
+
0,
|
|
604
|
+
0
|
|
605
|
+
],
|
|
606
|
+
"alpha": 0,
|
|
607
|
+
"hex": "#000000"
|
|
608
|
+
},
|
|
609
|
+
"$extensions": {
|
|
610
|
+
"dev.tanrei.derive": {
|
|
611
|
+
"fixed": "This variant has no border."
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"unselected": {
|
|
617
|
+
"$type": "color",
|
|
618
|
+
"container": {
|
|
619
|
+
"color": {
|
|
620
|
+
"$value": "{tanrei.sys.color.surface-container-highest}"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"label": {
|
|
624
|
+
"color": {
|
|
625
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"icon": {
|
|
629
|
+
"color": {
|
|
630
|
+
"$value": "{tanrei.comp.button.tonal.unselected.label.color}"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"outline": {
|
|
634
|
+
"color": {
|
|
635
|
+
"$value": {
|
|
636
|
+
"colorSpace": "srgb",
|
|
637
|
+
"components": [
|
|
638
|
+
0,
|
|
639
|
+
0,
|
|
640
|
+
0
|
|
641
|
+
],
|
|
642
|
+
"alpha": 0,
|
|
643
|
+
"hex": "#000000"
|
|
644
|
+
},
|
|
645
|
+
"$extensions": {
|
|
646
|
+
"dev.tanrei.derive": {
|
|
647
|
+
"fixed": "This look has no outline."
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"state-layer": {
|
|
653
|
+
"color": {
|
|
654
|
+
"$value": "{tanrei.comp.button.tonal.unselected.label.color}"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"selected": {
|
|
659
|
+
"$type": "color",
|
|
660
|
+
"container": {
|
|
661
|
+
"color": {
|
|
662
|
+
"$value": "{tanrei.sys.color.secondary}",
|
|
663
|
+
"$description": "In the neutral default, secondary-container equals surface-container-highest (the unselected fill), so the selected fill is a different step."
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"label": {
|
|
667
|
+
"color": {
|
|
668
|
+
"$value": "{tanrei.sys.color.on-secondary}"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"icon": {
|
|
672
|
+
"color": {
|
|
673
|
+
"$value": "{tanrei.comp.button.tonal.selected.label.color}"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"outline": {
|
|
677
|
+
"color": {
|
|
678
|
+
"$value": {
|
|
679
|
+
"colorSpace": "srgb",
|
|
680
|
+
"components": [
|
|
681
|
+
0,
|
|
682
|
+
0,
|
|
683
|
+
0
|
|
684
|
+
],
|
|
685
|
+
"alpha": 0,
|
|
686
|
+
"hex": "#000000"
|
|
687
|
+
},
|
|
688
|
+
"$extensions": {
|
|
689
|
+
"dev.tanrei.derive": {
|
|
690
|
+
"fixed": "This look has no outline."
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
"state-layer": {
|
|
696
|
+
"color": {
|
|
697
|
+
"$value": "{tanrei.comp.button.tonal.selected.label.color}"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"destructive": {
|
|
702
|
+
"$type": "color",
|
|
703
|
+
"container": {
|
|
704
|
+
"color": {
|
|
705
|
+
"$value": "{tanrei.sys.color.error-container}",
|
|
706
|
+
"$description": "A destructive tonal button is filled with the error role's tonal container."
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"label": {
|
|
710
|
+
"color": {
|
|
711
|
+
"$value": "{tanrei.sys.color.on-error-container}"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"icon": {
|
|
715
|
+
"color": {
|
|
716
|
+
"$value": "{tanrei.comp.button.tonal.destructive.label.color}",
|
|
717
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"outline": {
|
|
721
|
+
"color": {
|
|
722
|
+
"$value": "{tanrei.comp.button.tonal.outline.color}"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"state-layer": {
|
|
726
|
+
"color": {
|
|
727
|
+
"$value": "{tanrei.comp.button.tonal.destructive.label.color}",
|
|
728
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"elevated": {
|
|
734
|
+
"container": {
|
|
735
|
+
"color": {
|
|
736
|
+
"$type": "color",
|
|
737
|
+
"$value": "{tanrei.sys.color.surface-container-lowest}"
|
|
738
|
+
},
|
|
739
|
+
"elevation": {
|
|
740
|
+
"$type": "shadow",
|
|
741
|
+
"$value": "{tanrei.sys.elevation.level2}"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"label": {
|
|
745
|
+
"color": {
|
|
746
|
+
"$type": "color",
|
|
747
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"icon": {
|
|
751
|
+
"color": {
|
|
752
|
+
"$type": "color",
|
|
753
|
+
"$value": "{tanrei.comp.button.elevated.label.color}",
|
|
754
|
+
"$description": "The glyph of an icon-only button; beside a label the icon takes label.color. The label's color by default."
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"state-layer": {
|
|
758
|
+
"color": {
|
|
759
|
+
"$type": "color",
|
|
760
|
+
"$value": "{tanrei.comp.button.elevated.label.color}",
|
|
761
|
+
"$description": "The color hover, focus and press mix into the container. Button's state layer is its label color."
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"outline": {
|
|
765
|
+
"color": {
|
|
766
|
+
"$type": "color",
|
|
767
|
+
"$value": {
|
|
768
|
+
"colorSpace": "srgb",
|
|
769
|
+
"components": [
|
|
770
|
+
0,
|
|
771
|
+
0,
|
|
772
|
+
0
|
|
773
|
+
],
|
|
774
|
+
"alpha": 0,
|
|
775
|
+
"hex": "#000000"
|
|
776
|
+
},
|
|
777
|
+
"$extensions": {
|
|
778
|
+
"dev.tanrei.derive": {
|
|
779
|
+
"fixed": "This variant has no border."
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
"unselected": {
|
|
785
|
+
"$type": "color",
|
|
786
|
+
"container": {
|
|
787
|
+
"color": {
|
|
788
|
+
"$value": "{tanrei.sys.color.surface-container-lowest}"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"label": {
|
|
792
|
+
"color": {
|
|
793
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"icon": {
|
|
797
|
+
"color": {
|
|
798
|
+
"$value": "{tanrei.comp.button.elevated.unselected.label.color}"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"outline": {
|
|
802
|
+
"color": {
|
|
803
|
+
"$value": {
|
|
804
|
+
"colorSpace": "srgb",
|
|
805
|
+
"components": [
|
|
806
|
+
0,
|
|
807
|
+
0,
|
|
808
|
+
0
|
|
809
|
+
],
|
|
810
|
+
"alpha": 0,
|
|
811
|
+
"hex": "#000000"
|
|
812
|
+
},
|
|
813
|
+
"$extensions": {
|
|
814
|
+
"dev.tanrei.derive": {
|
|
815
|
+
"fixed": "This look has no outline."
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"state-layer": {
|
|
821
|
+
"color": {
|
|
822
|
+
"$value": "{tanrei.comp.button.elevated.unselected.label.color}"
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"selected": {
|
|
827
|
+
"$type": "color",
|
|
828
|
+
"container": {
|
|
829
|
+
"color": {
|
|
830
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
831
|
+
"$description": "A raised toggle that is on takes the primary fill, as a filled one does; it keeps its elevation."
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"label": {
|
|
835
|
+
"color": {
|
|
836
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"icon": {
|
|
840
|
+
"color": {
|
|
841
|
+
"$value": "{tanrei.comp.button.elevated.selected.label.color}"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"outline": {
|
|
845
|
+
"color": {
|
|
846
|
+
"$value": {
|
|
847
|
+
"colorSpace": "srgb",
|
|
848
|
+
"components": [
|
|
849
|
+
0,
|
|
850
|
+
0,
|
|
851
|
+
0
|
|
852
|
+
],
|
|
853
|
+
"alpha": 0,
|
|
854
|
+
"hex": "#000000"
|
|
855
|
+
},
|
|
856
|
+
"$extensions": {
|
|
857
|
+
"dev.tanrei.derive": {
|
|
858
|
+
"fixed": "This look has no outline."
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"state-layer": {
|
|
864
|
+
"color": {
|
|
865
|
+
"$value": "{tanrei.comp.button.elevated.selected.label.color}"
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"destructive": {
|
|
870
|
+
"$type": "color",
|
|
871
|
+
"container": {
|
|
872
|
+
"color": {
|
|
873
|
+
"$value": "{tanrei.comp.button.elevated.container.color}",
|
|
874
|
+
"$description": "A destructive elevated button keeps its variant's container; its label takes the error color."
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"label": {
|
|
878
|
+
"color": {
|
|
879
|
+
"$value": "{tanrei.sys.color.error}"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"icon": {
|
|
883
|
+
"color": {
|
|
884
|
+
"$value": "{tanrei.comp.button.elevated.destructive.label.color}",
|
|
885
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"outline": {
|
|
889
|
+
"color": {
|
|
890
|
+
"$value": "{tanrei.comp.button.elevated.outline.color}"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"state-layer": {
|
|
894
|
+
"color": {
|
|
895
|
+
"$value": "{tanrei.comp.button.elevated.destructive.label.color}",
|
|
896
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"outlined": {
|
|
902
|
+
"container": {
|
|
903
|
+
"color": {
|
|
904
|
+
"$type": "color",
|
|
905
|
+
"$value": {
|
|
906
|
+
"colorSpace": "srgb",
|
|
907
|
+
"components": [
|
|
908
|
+
0,
|
|
909
|
+
0,
|
|
910
|
+
0
|
|
911
|
+
],
|
|
912
|
+
"alpha": 0,
|
|
913
|
+
"hex": "#000000"
|
|
914
|
+
},
|
|
915
|
+
"$extensions": {
|
|
916
|
+
"dev.tanrei.derive": {
|
|
917
|
+
"fixed": "This variant has no fill; the surface behind shows through."
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"elevation": {
|
|
922
|
+
"$type": "shadow",
|
|
923
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"label": {
|
|
927
|
+
"color": {
|
|
928
|
+
"$type": "color",
|
|
929
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"icon": {
|
|
933
|
+
"color": {
|
|
934
|
+
"$type": "color",
|
|
935
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
936
|
+
"$description": "The glyph of an icon-only button; beside a label the icon takes label.color. A glyph alone in an unfilled button is a step quieter than a label, as the icon actions of a toolbar or a row are."
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"state-layer": {
|
|
940
|
+
"color": {
|
|
941
|
+
"$type": "color",
|
|
942
|
+
"$value": "{tanrei.comp.button.outlined.label.color}",
|
|
943
|
+
"$description": "The color hover, focus and press mix into the container. Button's state layer is its label color."
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
"outline": {
|
|
947
|
+
"color": {
|
|
948
|
+
"$type": "color",
|
|
949
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
950
|
+
"$description": "The edge of an outlined button. In the default system it is the hairline role, the color the divider draws its line in: one quiet line across the product. It keeps its own token so that a system can draw the edge apart from its dividers."
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
"unselected": {
|
|
954
|
+
"$type": "color",
|
|
955
|
+
"container": {
|
|
956
|
+
"color": {
|
|
957
|
+
"$value": {
|
|
958
|
+
"colorSpace": "srgb",
|
|
959
|
+
"components": [
|
|
960
|
+
0,
|
|
961
|
+
0,
|
|
962
|
+
0
|
|
963
|
+
],
|
|
964
|
+
"alpha": 0,
|
|
965
|
+
"hex": "#000000"
|
|
966
|
+
},
|
|
967
|
+
"$extensions": {
|
|
968
|
+
"dev.tanrei.derive": {
|
|
969
|
+
"fixed": "This look has no fill; the surface behind shows through."
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
"label": {
|
|
975
|
+
"color": {
|
|
976
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"icon": {
|
|
980
|
+
"color": {
|
|
981
|
+
"$value": "{tanrei.comp.button.outlined.unselected.label.color}"
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"outline": {
|
|
985
|
+
"color": {
|
|
986
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"state-layer": {
|
|
990
|
+
"color": {
|
|
991
|
+
"$value": "{tanrei.comp.button.outlined.unselected.label.color}"
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"selected": {
|
|
996
|
+
"$type": "color",
|
|
997
|
+
"container": {
|
|
998
|
+
"color": {
|
|
999
|
+
"$value": "{tanrei.sys.color.inverse-surface}",
|
|
1000
|
+
"$description": "An outlined toggle that is on fills with the inverse surface and drops its border."
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
"label": {
|
|
1004
|
+
"color": {
|
|
1005
|
+
"$value": "{tanrei.sys.color.inverse-on-surface}"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"icon": {
|
|
1009
|
+
"color": {
|
|
1010
|
+
"$value": "{tanrei.comp.button.outlined.selected.label.color}"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"outline": {
|
|
1014
|
+
"color": {
|
|
1015
|
+
"$value": {
|
|
1016
|
+
"colorSpace": "srgb",
|
|
1017
|
+
"components": [
|
|
1018
|
+
0,
|
|
1019
|
+
0,
|
|
1020
|
+
0
|
|
1021
|
+
],
|
|
1022
|
+
"alpha": 0,
|
|
1023
|
+
"hex": "#000000"
|
|
1024
|
+
},
|
|
1025
|
+
"$extensions": {
|
|
1026
|
+
"dev.tanrei.derive": {
|
|
1027
|
+
"fixed": "This look has no outline."
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"state-layer": {
|
|
1033
|
+
"color": {
|
|
1034
|
+
"$value": "{tanrei.comp.button.outlined.selected.label.color}"
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"destructive": {
|
|
1039
|
+
"$type": "color",
|
|
1040
|
+
"container": {
|
|
1041
|
+
"color": {
|
|
1042
|
+
"$value": "{tanrei.comp.button.outlined.container.color}",
|
|
1043
|
+
"$description": "A destructive outlined button keeps its variant's container (none); its label and its edge take the error color."
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
"label": {
|
|
1047
|
+
"color": {
|
|
1048
|
+
"$value": "{tanrei.sys.color.error}"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"icon": {
|
|
1052
|
+
"color": {
|
|
1053
|
+
"$value": "{tanrei.comp.button.outlined.destructive.label.color}",
|
|
1054
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"outline": {
|
|
1058
|
+
"color": {
|
|
1059
|
+
"$value": "{tanrei.sys.color.error}",
|
|
1060
|
+
"$description": "The edge of a destructive outlined button: the error color, as its label."
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"state-layer": {
|
|
1064
|
+
"color": {
|
|
1065
|
+
"$value": "{tanrei.comp.button.outlined.destructive.label.color}",
|
|
1066
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
"text": {
|
|
1072
|
+
"container": {
|
|
1073
|
+
"color": {
|
|
1074
|
+
"$type": "color",
|
|
1075
|
+
"$value": {
|
|
1076
|
+
"colorSpace": "srgb",
|
|
1077
|
+
"components": [
|
|
1078
|
+
0,
|
|
1079
|
+
0,
|
|
1080
|
+
0
|
|
1081
|
+
],
|
|
1082
|
+
"alpha": 0,
|
|
1083
|
+
"hex": "#000000"
|
|
1084
|
+
},
|
|
1085
|
+
"$extensions": {
|
|
1086
|
+
"dev.tanrei.derive": {
|
|
1087
|
+
"fixed": "This variant has no fill; the surface behind shows through."
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"elevation": {
|
|
1092
|
+
"$type": "shadow",
|
|
1093
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"label": {
|
|
1097
|
+
"color": {
|
|
1098
|
+
"$type": "color",
|
|
1099
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"icon": {
|
|
1103
|
+
"color": {
|
|
1104
|
+
"$type": "color",
|
|
1105
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
1106
|
+
"$description": "The glyph of an icon-only button; beside a label the icon takes label.color. A glyph alone with no container is a step quieter than a label, as the icon actions of a toolbar or a row are."
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"state-layer": {
|
|
1110
|
+
"color": {
|
|
1111
|
+
"$type": "color",
|
|
1112
|
+
"$value": "{tanrei.comp.button.text.label.color}",
|
|
1113
|
+
"$description": "The color hover, focus and press mix into the container. Button's state layer is its label color."
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"outline": {
|
|
1117
|
+
"color": {
|
|
1118
|
+
"$type": "color",
|
|
1119
|
+
"$value": {
|
|
1120
|
+
"colorSpace": "srgb",
|
|
1121
|
+
"components": [
|
|
1122
|
+
0,
|
|
1123
|
+
0,
|
|
1124
|
+
0
|
|
1125
|
+
],
|
|
1126
|
+
"alpha": 0,
|
|
1127
|
+
"hex": "#000000"
|
|
1128
|
+
},
|
|
1129
|
+
"$extensions": {
|
|
1130
|
+
"dev.tanrei.derive": {
|
|
1131
|
+
"fixed": "This variant has no border."
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"unselected": {
|
|
1137
|
+
"$type": "color",
|
|
1138
|
+
"container": {
|
|
1139
|
+
"color": {
|
|
1140
|
+
"$value": {
|
|
1141
|
+
"colorSpace": "srgb",
|
|
1142
|
+
"components": [
|
|
1143
|
+
0,
|
|
1144
|
+
0,
|
|
1145
|
+
0
|
|
1146
|
+
],
|
|
1147
|
+
"alpha": 0,
|
|
1148
|
+
"hex": "#000000"
|
|
1149
|
+
},
|
|
1150
|
+
"$extensions": {
|
|
1151
|
+
"dev.tanrei.derive": {
|
|
1152
|
+
"fixed": "This look has no fill; the surface behind shows through."
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"label": {
|
|
1158
|
+
"color": {
|
|
1159
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
"icon": {
|
|
1163
|
+
"color": {
|
|
1164
|
+
"$value": "{tanrei.comp.button.text.unselected.label.color}"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"outline": {
|
|
1168
|
+
"color": {
|
|
1169
|
+
"$value": {
|
|
1170
|
+
"colorSpace": "srgb",
|
|
1171
|
+
"components": [
|
|
1172
|
+
0,
|
|
1173
|
+
0,
|
|
1174
|
+
0
|
|
1175
|
+
],
|
|
1176
|
+
"alpha": 0,
|
|
1177
|
+
"hex": "#000000"
|
|
1178
|
+
},
|
|
1179
|
+
"$extensions": {
|
|
1180
|
+
"dev.tanrei.derive": {
|
|
1181
|
+
"fixed": "This look has no outline."
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
"state-layer": {
|
|
1187
|
+
"color": {
|
|
1188
|
+
"$value": "{tanrei.comp.button.text.unselected.label.color}"
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"selected": {
|
|
1193
|
+
"$type": "color",
|
|
1194
|
+
"container": {
|
|
1195
|
+
"color": {
|
|
1196
|
+
"$value": {
|
|
1197
|
+
"colorSpace": "srgb",
|
|
1198
|
+
"components": [
|
|
1199
|
+
0,
|
|
1200
|
+
0,
|
|
1201
|
+
0
|
|
1202
|
+
],
|
|
1203
|
+
"alpha": 0,
|
|
1204
|
+
"hex": "#000000"
|
|
1205
|
+
},
|
|
1206
|
+
"$extensions": {
|
|
1207
|
+
"dev.tanrei.derive": {
|
|
1208
|
+
"fixed": "This look has no fill; the surface behind shows through."
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"label": {
|
|
1214
|
+
"color": {
|
|
1215
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
1216
|
+
"$description": "A text toggle that is on is told from one that is off by a stronger content color and a filled glyph; it grows no container."
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
"icon": {
|
|
1220
|
+
"color": {
|
|
1221
|
+
"$value": "{tanrei.comp.button.text.selected.label.color}"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
"outline": {
|
|
1225
|
+
"color": {
|
|
1226
|
+
"$value": {
|
|
1227
|
+
"colorSpace": "srgb",
|
|
1228
|
+
"components": [
|
|
1229
|
+
0,
|
|
1230
|
+
0,
|
|
1231
|
+
0
|
|
1232
|
+
],
|
|
1233
|
+
"alpha": 0,
|
|
1234
|
+
"hex": "#000000"
|
|
1235
|
+
},
|
|
1236
|
+
"$extensions": {
|
|
1237
|
+
"dev.tanrei.derive": {
|
|
1238
|
+
"fixed": "This look has no outline."
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
"state-layer": {
|
|
1244
|
+
"color": {
|
|
1245
|
+
"$value": "{tanrei.comp.button.text.selected.label.color}"
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
"destructive": {
|
|
1250
|
+
"$type": "color",
|
|
1251
|
+
"container": {
|
|
1252
|
+
"color": {
|
|
1253
|
+
"$value": "{tanrei.comp.button.text.container.color}",
|
|
1254
|
+
"$description": "A destructive text button keeps its variant's container (none); its label takes the error color."
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
"label": {
|
|
1258
|
+
"color": {
|
|
1259
|
+
"$value": "{tanrei.sys.color.error}"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
"icon": {
|
|
1263
|
+
"color": {
|
|
1264
|
+
"$value": "{tanrei.comp.button.text.destructive.label.color}",
|
|
1265
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
"outline": {
|
|
1269
|
+
"color": {
|
|
1270
|
+
"$value": "{tanrei.comp.button.text.outline.color}"
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
"state-layer": {
|
|
1274
|
+
"color": {
|
|
1275
|
+
"$value": "{tanrei.comp.button.text.destructive.label.color}",
|
|
1276
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"motion": {
|
|
1282
|
+
"state-duration": {
|
|
1283
|
+
"$type": "duration",
|
|
1284
|
+
"$description": "How long a change of state takes. It follows the size (small over the compact role, medium over the default role, large over the large role): a smaller control changes state sooner.",
|
|
1285
|
+
"small": {
|
|
1286
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
1287
|
+
},
|
|
1288
|
+
"medium": {
|
|
1289
|
+
"$value": "{tanrei.sys.motion.role.state.default}"
|
|
1290
|
+
},
|
|
1291
|
+
"large": {
|
|
1292
|
+
"$value": "{tanrei.sys.motion.role.state.large}"
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"state-easing": {
|
|
1296
|
+
"$type": "cubicBezier",
|
|
1297
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
1298
|
+
},
|
|
1299
|
+
"feedback-duration": {
|
|
1300
|
+
"$type": "duration",
|
|
1301
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
1302
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple: the pressed layer grows from the point of contact over this time, with state-easing. Unused by the other choices."
|
|
1303
|
+
},
|
|
1304
|
+
"busy-cycle-duration": {
|
|
1305
|
+
"$type": "duration",
|
|
1306
|
+
"$value": "{tanrei.comp.loading-indicator.motion.cycle-duration}",
|
|
1307
|
+
"$description": "One turn of the busy arc (BTN-36): the loading indicator's. Under reduced motion it does not turn, and its opacity eases once per this time instead."
|
|
1308
|
+
},
|
|
1309
|
+
"busy-pulse-floor-opacity": {
|
|
1310
|
+
"$type": "number",
|
|
1311
|
+
"$value": "{tanrei.comp.loading-indicator.motion.pulse-floor-opacity}",
|
|
1312
|
+
"$description": "The opacity the busy circle eases down to at the low point of each pulse under reduced motion (BTN-36): the loading indicator's, so that a busy button is never drawn as an empty container."
|
|
1313
|
+
},
|
|
1314
|
+
"busy-fade-duration": {
|
|
1315
|
+
"$type": "duration",
|
|
1316
|
+
"$value": "{tanrei.sys.motion.role.state.compact}",
|
|
1317
|
+
"$description": "How long the label and the icon take to fade out when the button becomes busy, and back in when it stops (BTN-36), with state-easing: a change of what a small part draws in place, the same at every size. The arc appears and goes at once, and under reduced motion the label and the icon do too."
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"busy": {
|
|
1321
|
+
"$description": "What a busy Button draws in place of its label and icon (BTN-36): the loading indicator's arc, in the label color, in the icon's box.",
|
|
1322
|
+
"$extensions": {
|
|
1323
|
+
"dev.tanrei.vocabulary": {
|
|
1324
|
+
"rationale": "One product keeps a button on screen and focused while the action it started is under way (a save, a send), and must show that it is working rather than disable it and drop the person's focus.",
|
|
1325
|
+
"since": "0.1.0"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"indicator": {
|
|
1329
|
+
"thickness": {
|
|
1330
|
+
"$type": "dimension",
|
|
1331
|
+
"$value": "{tanrei.comp.loading-indicator.indicator.thickness.small}",
|
|
1332
|
+
"$description": "The arc's stroke: the small loading indicator's."
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
"tone": {
|
|
1337
|
+
"$description": "A Button its host draws on a colored surface of the host's own — a status callout's, an inverse or status snackbar's — and gives the content color of that surface (a tone, BTN-45): its label, icon and state layer take that color, and its container, where its variant draws one at rest, is that color made translucent, so that it reads on every such surface where the variant's own container would clash with it.",
|
|
1338
|
+
"$extensions": {
|
|
1339
|
+
"dev.tanrei.vocabulary": {
|
|
1340
|
+
"rationale": "One product draws buttons on colored surfaces of its own (a status notice, an inverse notification) as well as on its page; on such a surface a button's own container clashes with the surface and its content colors may not hold contrast there, so it is drawn in the surface's own content color, its container a translucent layer of that color.",
|
|
1341
|
+
"since": "0.1.0"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"container": {
|
|
1345
|
+
"opacity": {
|
|
1346
|
+
"$type": "number",
|
|
1347
|
+
"$value": "{tanrei.sys.state.selected-state-layer-opacity}",
|
|
1348
|
+
"$description": "The opacity of the tone's color that a toned Button's container is drawn in (BTN-45), where its variant draws a container at rest; an outlined Button's edge takes the same. The quiet selection's layer: a layer of a content color that stays at rest, twice the hover layer, so that hover, focus and press laid over it at the system's state-layer opacities stand apart from it by the same step on any surface."
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|