@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.
Files changed (288) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +57 -0
  3. package/README.md +96 -2
  4. package/bin/tanrei.js +14 -0
  5. package/dist/cli.js +8275 -0
  6. package/dist/studio/THIRD_PARTY_LICENSES.md +1047 -0
  7. package/dist/studio/assets/css-Buuc00hS.js +1 -0
  8. package/dist/studio/assets/dart-CL60Wo_p.js +1 -0
  9. package/dist/studio/assets/highlight-DO0QW7yz.js +4 -0
  10. package/dist/studio/assets/index-CmKf0KHF.css +1 -0
  11. package/dist/studio/assets/index-CtN9tpay.js +6232 -0
  12. package/dist/studio/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  13. package/dist/studio/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  14. package/dist/studio/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  15. package/dist/studio/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  16. package/dist/studio/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  17. package/dist/studio/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  18. package/dist/studio/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  19. package/dist/studio/assets/javascript-DSMm3SZC.js +1 -0
  20. package/dist/studio/assets/json-CUC6w7Wi.js +1 -0
  21. package/dist/studio/assets/kotlin-8HB26Eaz.js +1 -0
  22. package/dist/studio/assets/markup-5VTZgibJ.js +1 -0
  23. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-CbWsDl0D.woff2 +0 -0
  24. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
  135. package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
  136. package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
  137. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
  138. package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
  139. package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
  140. package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
  141. package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
  142. package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
  143. package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
  144. package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
  145. package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
  146. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
  147. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
  148. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
  149. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
  150. package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
  151. package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
  152. package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
  153. package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
  154. package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  155. package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  156. package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
  157. package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
  158. package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
  159. package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
  160. package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
  161. package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
  162. package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
  163. package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
  164. package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
  165. package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
  166. package/dist/studio/assets/shell-BX8EJGse.js +1 -0
  167. package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
  168. package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
  169. package/dist/studio/index.html +33 -0
  170. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  171. package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
  172. package/dist/vocabulary/tanrei.config.json +24 -0
  173. package/dist/vocabulary/tokens/comp/accordion.tokens.json +459 -0
  174. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +308 -0
  175. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
  176. package/dist/vocabulary/tokens/comp/avatar.tokens.json +199 -0
  177. package/dist/vocabulary/tokens/comp/badge.tokens.json +101 -0
  178. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +326 -0
  179. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
  180. package/dist/vocabulary/tokens/comp/button-group.tokens.json +140 -0
  181. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +810 -0
  182. package/dist/vocabulary/tokens/comp/button.tokens.json +1355 -0
  183. package/dist/vocabulary/tokens/comp/calendar.tokens.json +500 -0
  184. package/dist/vocabulary/tokens/comp/callout.tokens.json +510 -0
  185. package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
  186. package/dist/vocabulary/tokens/comp/carousel.tokens.json +469 -0
  187. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +343 -0
  188. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +587 -0
  189. package/dist/vocabulary/tokens/comp/chip.tokens.json +716 -0
  190. package/dist/vocabulary/tokens/comp/code-block.tokens.json +473 -0
  191. package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
  192. package/dist/vocabulary/tokens/comp/combobox.tokens.json +756 -0
  193. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +56 -0
  194. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +797 -0
  195. package/dist/vocabulary/tokens/comp/description-list.tokens.json +203 -0
  196. package/dist/vocabulary/tokens/comp/dialog.tokens.json +340 -0
  197. package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
  198. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  199. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
  200. package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
  201. package/dist/vocabulary/tokens/comp/field-group.tokens.json +211 -0
  202. package/dist/vocabulary/tokens/comp/field.tokens.json +308 -0
  203. package/dist/vocabulary/tokens/comp/figure.tokens.json +269 -0
  204. package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
  205. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
  206. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +30 -0
  207. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  208. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +327 -0
  209. package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
  210. package/dist/vocabulary/tokens/comp/input-box.tokens.json +1073 -0
  211. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +194 -0
  212. package/dist/vocabulary/tokens/comp/link-card.tokens.json +321 -0
  213. package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
  214. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  215. package/dist/vocabulary/tokens/comp/list.tokens.json +328 -0
  216. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +218 -0
  217. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +418 -0
  218. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  219. package/dist/vocabulary/tokens/comp/menu.tokens.json +1124 -0
  220. package/dist/vocabulary/tokens/comp/menubar.tokens.json +279 -0
  221. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  222. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  223. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +448 -0
  224. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +1126 -0
  225. package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
  226. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  227. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +246 -0
  228. package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
  229. package/dist/vocabulary/tokens/comp/pagination.tokens.json +233 -0
  230. package/dist/vocabulary/tokens/comp/popover.tokens.json +363 -0
  231. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  232. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +218 -0
  233. package/dist/vocabulary/tokens/comp/prose.tokens.json +283 -0
  234. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +413 -0
  235. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  236. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  237. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  238. package/dist/vocabulary/tokens/comp/search.tokens.json +761 -0
  239. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +414 -0
  240. package/dist/vocabulary/tokens/comp/select.tokens.json +687 -0
  241. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +332 -0
  242. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  243. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +114 -0
  244. package/dist/vocabulary/tokens/comp/slider.tokens.json +436 -0
  245. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1160 -0
  246. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  247. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  248. package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
  249. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  250. package/dist/vocabulary/tokens/comp/switch.tokens.json +350 -0
  251. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
  252. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +429 -0
  253. package/dist/vocabulary/tokens/comp/table.tokens.json +553 -0
  254. package/dist/vocabulary/tokens/comp/tabs.tokens.json +1058 -0
  255. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +68 -0
  256. package/dist/vocabulary/tokens/comp/tag.tokens.json +551 -0
  257. package/dist/vocabulary/tokens/comp/text-input.tokens.json +96 -0
  258. package/dist/vocabulary/tokens/comp/timeline.tokens.json +239 -0
  259. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +270 -0
  260. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +391 -0
  261. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +478 -0
  262. package/dist/vocabulary/tokens/dial/dial.tokens.json +137 -0
  263. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  264. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +388 -0
  265. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  266. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  267. package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
  268. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +279 -0
  269. package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
  270. package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
  271. package/dist/vocabulary/tokens/schema/system.schema.json +859 -0
  272. package/dist/vocabulary/tokens/sys/behavior.tokens.json +184 -0
  273. package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
  274. package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
  275. package/dist/vocabulary/tokens/sys/measure.tokens.json +442 -0
  276. package/dist/vocabulary/tokens/sys/motion.tokens.json +1421 -0
  277. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  278. package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
  279. package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
  280. package/dist/vocabulary/tokens/sys/state.tokens.json +83 -0
  281. package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
  282. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  283. package/dist/vocabulary/tokens/systems/cupertino.system.json +859 -0
  284. package/dist/vocabulary/tokens/systems/m3-like/comp/fab-menu.tokens.json +499 -0
  285. package/dist/vocabulary/tokens/systems/m3-like.system.json +1181 -0
  286. package/dist/vocabulary/tokens/systems/tanrei.system.json +707 -0
  287. package/dist/vocabulary/tokens/tanrei.resolver.json +400 -0
  288. package/package.json +50 -3
@@ -0,0 +1,473 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "code-block": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product shows code people read, compare and copy — an example in its documentation, a command to run, a configuration file, a response from its API, a log — set apart from the text around it, in a face whose columns line up, on its page and inside its cards and panels, at the interface's size and smaller where room is short.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "filled",
13
+ "outlined"
14
+ ],
15
+ "states": [],
16
+ "perVariant": {
17
+ "container.color": "color"
18
+ }
19
+ },
20
+ "dev.tanrei.axes": {
21
+ "size": {
22
+ "default": "medium",
23
+ "values": [
24
+ "small",
25
+ "medium"
26
+ ],
27
+ "members": [
28
+ "code.typescale",
29
+ "container.padding-block",
30
+ "container.padding-inline"
31
+ ]
32
+ },
33
+ "variant": {
34
+ "default": "filled",
35
+ "from": "states"
36
+ },
37
+ "syntax": {
38
+ "default": "comment",
39
+ "values": [
40
+ "comment",
41
+ "keyword",
42
+ "string",
43
+ "constant",
44
+ "function",
45
+ "type",
46
+ "tag",
47
+ "property",
48
+ "punctuation"
49
+ ],
50
+ "members": [
51
+ "syntax.color",
52
+ "syntax.emphasis"
53
+ ]
54
+ }
55
+ },
56
+ "dev.tanrei.llm": {
57
+ "usage": "Everything a code block reads: for each look (filled, outlined) its fill; its corners and edge; for each size the code's text style and the padding around it; the code's color and tab width; the header's spacing and the styles of its title and language label; where the copy button sits; the line numbers', the prompt's and the line marks' colors and measures; for each of the nine syntax roles (comment, keyword, string, constant, function, type, tag, property, punctuation) its color and the weight it gains; and the longest code the block highlights by itself.",
58
+ "rules": [
59
+ "The code block highlights by itself: give it the code and `language`. Do not write a highlighter, a theme or a stylesheet for code; a run you give yourself still wins over the block's own.",
60
+ "The syntax roles are an axis of this component. A system that needs another role (an operator, a decorator) adds a value to the axis under `vocabulary` and teaches its highlighter to name it; it does not restyle another role's runs.",
61
+ "Syntax has hues of its own, from palettes the system declares for it. Never give a syntax role a status color (error, success, warning, info), the link color or the focus color: in a code block success is an added line, error a removed line and primary the highlighted line, and nothing else.",
62
+ "Every syntax color must read on the block's fill, on the band of a highlighted line and on any surface an outlined block is placed on: the build holds each at 4.5:1 (7:1 in the high-contrast schemes).",
63
+ "A role changes a run's color and weight, nothing else: no slant, no underline, no background, no size.",
64
+ "Use filled on a page and outlined inside a container that is already filled. Inside a colored container (a callout) use filled, so the code reads on a surface.",
65
+ "Line numbers, the prompt and the line marks are drawn, never text: they are not selected and not copied.",
66
+ "Code is always left-to-right. In a right-to-left layout only the header and the copy button change sides.",
67
+ "Restyle through these tokens in a layer; never draw a code frame by hand."
68
+ ]
69
+ }
70
+ },
71
+ "filled": {
72
+ "container": {
73
+ "color": {
74
+ "$type": "color",
75
+ "$value": "{tanrei.sys.color.surface-container}",
76
+ "$description": "The filled look's fill: a quiet step off the page. Every text color of the block is read on it."
77
+ }
78
+ }
79
+ },
80
+ "outlined": {
81
+ "container": {
82
+ "color": {
83
+ "$type": "color",
84
+ "$value": {
85
+ "colorSpace": "srgb",
86
+ "components": [
87
+ 0,
88
+ 0,
89
+ 0
90
+ ],
91
+ "alpha": 0,
92
+ "hex": "#000000"
93
+ },
94
+ "$description": "The outlined look's fill: none. The code is read on the surface the block is placed on.",
95
+ "$extensions": {
96
+ "dev.tanrei.derive": {
97
+ "fixed": "This look has no fill; the surface behind shows through."
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "container": {
104
+ "shape": {
105
+ "$type": "dimension",
106
+ "$value": "{tanrei.sys.shape.corner.small}",
107
+ "$description": "The block's corners."
108
+ },
109
+ "padding-block": {
110
+ "$type": "dimension",
111
+ "$description": "Space above the first line and below the last, per size. Under a header the space above is header.padding-block-end in its place.",
112
+ "small": {
113
+ "$value": "{tanrei.sys.space.space100}"
114
+ },
115
+ "medium": {
116
+ "$value": "{tanrei.sys.space.space150}"
117
+ }
118
+ },
119
+ "padding-inline": {
120
+ "$type": "dimension",
121
+ "$description": "Space before the start of a line (or of the gutter, where there is one) and after the end of the longest, per size; also the inset of the header's title.",
122
+ "small": {
123
+ "$value": "{tanrei.sys.space.space150}"
124
+ },
125
+ "medium": {
126
+ "$value": "{tanrei.sys.space.space200}"
127
+ }
128
+ }
129
+ },
130
+ "outline": {
131
+ "color": {
132
+ "$type": "color",
133
+ "$value": "{tanrei.sys.color.outline-variant}",
134
+ "$description": "The outlined look's edge: the system's one hairline. Decorative: the face and the padding set the code apart without it."
135
+ },
136
+ "width": {
137
+ "$type": "dimension",
138
+ "$value": "{tanrei.sys.border.hairline}",
139
+ "$description": "The width of the outlined look's edge, drawn inside the block's size. The filled look draws no edge."
140
+ }
141
+ },
142
+ "code": {
143
+ "typescale": {
144
+ "$type": "typography",
145
+ "$description": "The code's text style, per size, taken whole: every line is one line of it high.",
146
+ "small": {
147
+ "$value": "{tanrei.sys.typescale.code-small}"
148
+ },
149
+ "medium": {
150
+ "$value": "{tanrei.sys.typescale.code}"
151
+ }
152
+ },
153
+ "color": {
154
+ "$type": "color",
155
+ "$value": "{tanrei.sys.color.on-surface}",
156
+ "$description": "The color of code that carries no syntax role, and of all code that is not highlighted."
157
+ },
158
+ "tab-size": {
159
+ "$type": "number",
160
+ "$value": 2,
161
+ "$description": "How many columns of the code face a tab character advances to the next multiple of.",
162
+ "$extensions": {
163
+ "dev.tanrei.derive": {
164
+ "fixed": "A count of characters, not a distance: it scales with the code's own size, and no dial moves it."
165
+ },
166
+ "dev.tanrei.vocabulary": {
167
+ "rationale": "One product shows code written with tabs — a Makefile, Go, its users' own files — and decides once how deep an indent reads in its interface.",
168
+ "since": "0.1.0"
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "header": {
174
+ "$extensions": {
175
+ "dev.tanrei.vocabulary": {
176
+ "rationale": "One product names what a block of code is — the file it belongs to, the language it is in — on the block itself, so a page of several blocks can be followed.",
177
+ "since": "0.1.0"
178
+ }
179
+ },
180
+ "gap": {
181
+ "$type": "dimension",
182
+ "$value": "{tanrei.sys.space.space100}",
183
+ "$description": "Space between the header's items: the title, the language and the copy button."
184
+ },
185
+ "padding-block-end": {
186
+ "$type": "dimension",
187
+ "$value": "{tanrei.sys.space.space50}",
188
+ "$description": "Space between the header's row and the first line of code."
189
+ }
190
+ },
191
+ "title": {
192
+ "typescale": {
193
+ "$type": "typography",
194
+ "$value": "{tanrei.sys.typescale.label-small}",
195
+ "$description": "The title's text style. A product whose titles are always file names may set the small code role here."
196
+ },
197
+ "color": {
198
+ "$type": "color",
199
+ "$value": "{tanrei.sys.color.on-surface}",
200
+ "$description": "The title's color."
201
+ }
202
+ },
203
+ "language": {
204
+ "typescale": {
205
+ "$type": "typography",
206
+ "$value": "{tanrei.sys.typescale.label-small}",
207
+ "$description": "The language label's text style."
208
+ },
209
+ "color": {
210
+ "$type": "color",
211
+ "$value": "{tanrei.sys.color.on-surface-variant}",
212
+ "$description": "The language label's color: quieter than the title, which it may stand beside."
213
+ }
214
+ },
215
+ "copy-button": {
216
+ "inset": {
217
+ "$type": "dimension",
218
+ "$value": "{tanrei.sys.space.space75}",
219
+ "$description": "The distance of the copy button from the block's top edge and from its end edge. With the medium size's padding it centres a small button on the first line of code, so a block of one line holds the button without growing.",
220
+ "$extensions": {
221
+ "dev.tanrei.vocabulary": {
222
+ "rationale": "One product places the copy control of its code tight in the corner or level with the first line, apart from how much room it gives the code itself.",
223
+ "since": "0.1.0"
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "line-number": {
229
+ "$extensions": {
230
+ "dev.tanrei.vocabulary": {
231
+ "rationale": "One product refers to lines of code by number — in a review, in a tutorial's text, in an error it reports — and draws those numbers quieter than the code and apart from it.",
232
+ "since": "0.1.0"
233
+ }
234
+ },
235
+ "color": {
236
+ "$type": "color",
237
+ "$value": "{tanrei.sys.color.on-surface-variant}",
238
+ "$description": "The line numbers' color. They are set in the code's own text style, with digits of one width."
239
+ },
240
+ "gap": {
241
+ "$type": "dimension",
242
+ "$value": "{tanrei.sys.space.space200}",
243
+ "$description": "Space between the gutter (the bar's column, the numbers and the signs) and the start of the code."
244
+ }
245
+ },
246
+ "prompt": {
247
+ "color": {
248
+ "$type": "color",
249
+ "$value": "{tanrei.sys.color.on-surface-variant}",
250
+ "$description": "The color of the prompt drawn before each line of a block of commands.",
251
+ "$extensions": {
252
+ "dev.tanrei.vocabulary": {
253
+ "rationale": "One product documents commands to type and marks them with a prompt, quieter than the command, that is not part of what is typed or copied.",
254
+ "since": "0.1.0"
255
+ }
256
+ }
257
+ }
258
+ },
259
+ "line": {
260
+ "$extensions": {
261
+ "dev.tanrei.vocabulary": {
262
+ "rationale": "One product points at lines inside a block of code — the line its text talks about, the lines a change adds and the lines it takes away — with a band a reader scanning the block sees at once, and never by color alone.",
263
+ "since": "0.1.0"
264
+ }
265
+ },
266
+ "mark": {
267
+ "width": {
268
+ "$type": "dimension",
269
+ "$value": "{tanrei.sys.border.thick}",
270
+ "$description": "The width of the bar drawn at the left edge of a highlighted, an added or a removed line."
271
+ }
272
+ },
273
+ "highlighted": {
274
+ "container": {
275
+ "color": {
276
+ "$type": "color",
277
+ "$value": "{tanrei.sys.color.surface-container-highest}",
278
+ "$description": "The band behind a highlighted line, from the block's left edge to its right. Decorative: the bar marks the line where the band cannot be seen (an outlined block on a surface of the same tone, forced colors)."
279
+ }
280
+ },
281
+ "mark": {
282
+ "color": {
283
+ "$type": "color",
284
+ "$value": "{tanrei.sys.color.primary}",
285
+ "$description": "The bar of a highlighted line: the color of the one that is chosen."
286
+ }
287
+ }
288
+ },
289
+ "added": {
290
+ "container": {
291
+ "color": {
292
+ "$type": "color",
293
+ "$value": "{tanrei.sys.color.success-container}",
294
+ "$description": "The band behind an added line, from the block's left edge to its right: a faint tint of the success color, so that the line reads as added at a glance whatever the colors of its code. Its code keeps its syntax colors, held on this band at the code's contrast. Never the only mark: the bar and the plus sign are drawn with it, and in forced colors the band is not drawn."
295
+ }
296
+ },
297
+ "mark": {
298
+ "color": {
299
+ "$type": "color",
300
+ "$value": "{tanrei.sys.color.success}",
301
+ "$description": "The bar and the plus sign of an added line."
302
+ }
303
+ }
304
+ },
305
+ "removed": {
306
+ "container": {
307
+ "color": {
308
+ "$type": "color",
309
+ "$value": "{tanrei.sys.color.error-container}",
310
+ "$description": "The band behind a removed line, from the block's left edge to its right: a faint tint of the error color, so that the line reads as removed at a glance whatever the colors of its code. Its code keeps its syntax colors, held on this band at the code's contrast. Never the only mark: the bar and the minus sign are drawn with it, and in forced colors the band is not drawn."
311
+ }
312
+ },
313
+ "mark": {
314
+ "color": {
315
+ "$type": "color",
316
+ "$value": "{tanrei.sys.color.error}",
317
+ "$description": "The bar and the minus sign of a removed line."
318
+ }
319
+ }
320
+ }
321
+ },
322
+ "syntax": {
323
+ "$extensions": {
324
+ "dev.tanrei.vocabulary": {
325
+ "rationale": "One product shows highlighted code and decides what each kind of word looks like once, for every language it shows and in every scheme: which kinds recede, which stand out by weight and which by color.",
326
+ "since": "0.1.0"
327
+ }
328
+ },
329
+ "color": {
330
+ "$type": "color",
331
+ "$description": "The color of each syntax role. These are the values of a system that gives code no hue; the default system's layer values the chromatic roles from its syntax palettes.",
332
+ "comment": {
333
+ "$value": "{tanrei.sys.color.on-surface-variant}",
334
+ "$description": "Comments and documentation comments: what the code's author says about the code. Quieter than the code, and without a hue."
335
+ },
336
+ "keyword": {
337
+ "$value": "{tanrei.sys.color.on-surface}",
338
+ "$description": "The language's own words: keywords, storage and modifier words, at-rules, annotations. The code's color here, told by weight; the default system gives it a purple as well."
339
+ },
340
+ "string": {
341
+ "$value": "{tanrei.sys.color.on-surface}",
342
+ "$description": "Text written in the code: strings, characters, regular expressions, the values of markup attributes, the text of a template. The code's color here; the default system gives it a green, from a palette that is syntax's own and not the success color."
343
+ },
344
+ "constant": {
345
+ "$value": "{tanrei.sys.color.on-surface}",
346
+ "$description": "Values that are not text: numbers, booleans and null, named constants, units, color values, escapes. The code's color here; the default system gives it an orange."
347
+ },
348
+ "function": {
349
+ "$value": "{tanrei.sys.color.on-surface}",
350
+ "$description": "The name of a function or a method, where it is declared and where it is called. The code's color here; the default system gives it a blue."
351
+ },
352
+ "type": {
353
+ "$value": "{tanrei.sys.color.on-surface}",
354
+ "$description": "The name of a type: a class, a structure, an interface, an enumeration, a built-in type, a namespace. The code's color here; the default system gives it a blue-green."
355
+ },
356
+ "tag": {
357
+ "$value": "{tanrei.sys.color.on-surface}",
358
+ "$description": "What markup and style sheets address: an element's name, a component's name in markup, a selector. The code's color here; the default system gives it a red, from a palette that is syntax's own and not the error color."
359
+ },
360
+ "property": {
361
+ "$value": "{tanrei.sys.color.on-surface}",
362
+ "$description": "A name that belongs to something: a property, a key of an object or of a data file, an attribute of markup, a declaration's property in a style sheet, an option of a command. The code's color here; the default system gives it the blue of a function's name at a tone nearer the text."
363
+ },
364
+ "punctuation": {
365
+ "$value": "{tanrei.sys.color.on-surface-variant}",
366
+ "$description": "Brackets, separators and the delimiters of markup: quieter than the words they hold together. Operators are not punctuation: they stay the code's color."
367
+ }
368
+ },
369
+ "emphasis": {
370
+ "$type": "number",
371
+ "$description": "How much weight a run of each role gains over the weight of the code's text style. 0 draws the role at the code's weight.",
372
+ "$extensions": {
373
+ "dev.tanrei.vocabulary": {
374
+ "rationale": "One product tells kinds of words by weight, by color, or by both: a system with few hues leans on weight, and one with many draws every word at one weight.",
375
+ "since": "0.1.0"
376
+ }
377
+ },
378
+ "comment": {
379
+ "$value": 0,
380
+ "$description": "The weight comments gains: none.",
381
+ "$extensions": {
382
+ "dev.tanrei.derive": {
383
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
384
+ }
385
+ }
386
+ },
387
+ "keyword": {
388
+ "$value": "{tanrei.sys.typescale.emphasis.body}",
389
+ "$description": "Keywords gain the amount strong text gains in running text: they are told by weight before they are told by color, so they are still told where color is not seen."
390
+ },
391
+ "string": {
392
+ "$value": 0,
393
+ "$description": "The weight a string gains: none.",
394
+ "$extensions": {
395
+ "dev.tanrei.derive": {
396
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
397
+ }
398
+ }
399
+ },
400
+ "constant": {
401
+ "$value": 0,
402
+ "$description": "The weight a constant gains: none.",
403
+ "$extensions": {
404
+ "dev.tanrei.derive": {
405
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
406
+ }
407
+ }
408
+ },
409
+ "function": {
410
+ "$value": 0,
411
+ "$description": "The weight a function gains: none.",
412
+ "$extensions": {
413
+ "dev.tanrei.derive": {
414
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
415
+ }
416
+ }
417
+ },
418
+ "type": {
419
+ "$value": 0,
420
+ "$description": "The weight a type gains: none.",
421
+ "$extensions": {
422
+ "dev.tanrei.derive": {
423
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
424
+ }
425
+ }
426
+ },
427
+ "tag": {
428
+ "$value": 0,
429
+ "$description": "The weight a tag gains: none.",
430
+ "$extensions": {
431
+ "dev.tanrei.derive": {
432
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
433
+ }
434
+ }
435
+ },
436
+ "property": {
437
+ "$value": 0,
438
+ "$description": "The weight a property gains: none.",
439
+ "$extensions": {
440
+ "dev.tanrei.derive": {
441
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
442
+ }
443
+ }
444
+ },
445
+ "punctuation": {
446
+ "$value": 0,
447
+ "$description": "The weight punctuation gains: none.",
448
+ "$extensions": {
449
+ "dev.tanrei.derive": {
450
+ "fixed": "No weight is added: this role is told by its color or stays the code's own."
451
+ }
452
+ }
453
+ }
454
+ },
455
+ "max-length": {
456
+ "$type": "number",
457
+ "$value": 50000,
458
+ "$description": "The longest code, in characters, that the block highlights by itself. Longer code is drawn plain: a run is a piece of the document on every platform, and a file of many thousands of lines is read in an editor, not in a page.",
459
+ "$extensions": {
460
+ "dev.tanrei.derive": {
461
+ "fixed": "A count of characters, not a distance or a time: no dial moves it."
462
+ },
463
+ "dev.tanrei.vocabulary": {
464
+ "rationale": "One product shows whole files and logs beside short examples and decides once how much code it is willing to color on a person's device.",
465
+ "since": "0.1.0"
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+ }
472
+ }
473
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "color-input": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product lets people set a color — a brand color in a theme, the color of a label, a category or a calendar — as a value they can read, type and paste, in the same box as its text inputs, beside a sample of it. The sample's shape and the hairline that keeps a pale sample apart from the box are the color input's own; the box is the one box.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "What a color input draws that is its own: the swatch's corners, and the color and width of the hairline around it. The swatch stands where a leading icon stands and has that icon's size (comp.input-box.icon.size). The box is comp.input-box.*.",
12
+ "rules": [
13
+ "A color input is the bare box: a swatch, the value as text and, where asked for, a picker button. It has no label row, no requirement tag, no help and no error text. Put it in a Field for those, or use the color field, which is that pair; their tokens are comp.field.*.",
14
+ "The box — container, edges, floating label, the value text, caret, selection, heights and paddings per size, the size of the swatch (icon.size), and the colors of each look in each state — is comp.input-box.*, shared with the text input, the select, the combobox and the number input. This group holds only the swatch's shape and its hairline.",
15
+ "It holds one opaque sRGB color as six hexadecimal digits after a number sign (#0f766e), or nothing. Always give it a name: the label of the Field that frames it, or its own label where its visible label is elsewhere.",
16
+ "The swatch is a sample, never the only sign of the value: the text beside it says the color, and assistive technology reads the text. Nothing is mixed into the swatch: no state layer, no tint, and in forced colors it keeps its color.",
17
+ "The picker button is an icon-only Button of the text variant with Button's own tokens; the input has no tokens for it.",
18
+ "Restyle through these tokens in a layer; never fork the component."
19
+ ]
20
+ }
21
+ },
22
+ "swatch": {
23
+ "$extensions": {
24
+ "dev.tanrei.vocabulary": {
25
+ "rationale": "One product shows a color beside its value: a sample large enough to judge the color, shaped as the product shapes its small marks, and edged so that a color close to the box's own fill, white on a light box, still shows where it ends."
26
+ }
27
+ },
28
+ "shape": {
29
+ "$type": "dimension",
30
+ "$value": "{tanrei.sys.shape.corner.extra-small}",
31
+ "$description": "The swatch's corners, never more than half its side: a slightly rounded square in the default system. A product that shows its colors as dots sets sys.shape.corner.full here."
32
+ },
33
+ "outline": {
34
+ "width": {
35
+ "$type": "dimension",
36
+ "$value": "{tanrei.sys.border.hairline}",
37
+ "$description": "The width of the swatch's edge, drawn inside its size, over the color."
38
+ },
39
+ "color": {
40
+ "$type": "color",
41
+ "$value": "{tanrei.sys.color.outline-variant}",
42
+ "$description": "The swatch's edge, in every look and state: the one hairline, the color the divider draws its line in. It bounds a sample whose color is close to the container's, and it is all an empty swatch draws. Decorative: the value's text carries the meaning."
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }