@tanrei/cli 0.1.0-next.0 → 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 (376) hide show
  1. package/NOTICE +4 -5
  2. package/README.md +27 -8
  3. package/dist/cli.js +6254 -4596
  4. package/dist/studio/THIRD_PARTY_LICENSES.md +101 -3
  5. package/dist/studio/assets/{highlight-hwWnuPS8.js → highlight-DO0QW7yz.js} +1 -1
  6. package/dist/studio/assets/index-CmKf0KHF.css +1 -0
  7. package/dist/studio/assets/index-CtN9tpay.js +6232 -0
  8. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-CbWsDl0D.woff2 +0 -0
  9. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
  10. package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
  11. package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
  12. package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
  13. package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
  14. package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
  15. package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
  16. package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
  17. package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
  18. package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
  19. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
  20. package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
  21. package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
  22. package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
  23. package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
  24. package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
  135. package/dist/studio/index.html +18 -9
  136. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  137. package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
  138. package/dist/vocabulary/tanrei.config.json +2 -1
  139. package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
  140. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
  141. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
  142. package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
  143. package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
  144. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
  145. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
  146. package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
  147. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
  148. package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
  149. package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
  150. package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
  151. package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
  152. package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
  153. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
  154. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
  155. package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
  156. package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
  157. package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
  158. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
  159. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
  160. package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
  161. package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
  162. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  163. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
  164. package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
  165. package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
  166. package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
  167. package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
  168. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
  169. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
  170. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  171. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
  172. package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
  173. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
  174. package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
  175. package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
  176. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  177. package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
  178. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
  179. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
  180. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  181. package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
  182. package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
  183. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  184. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  185. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
  186. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
  187. package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
  188. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  189. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
  190. package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
  191. package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
  192. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  193. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
  194. package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
  195. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
  196. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  197. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  198. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  199. package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
  200. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
  201. package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
  202. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
  203. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  204. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
  205. package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
  206. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
  207. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  208. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  209. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  210. package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
  211. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
  212. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
  213. package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
  214. package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
  215. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
  216. package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
  217. package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
  218. package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
  219. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
  220. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
  221. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
  222. package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
  223. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  224. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
  225. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  226. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  227. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
  228. package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
  229. package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
  230. package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
  231. package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
  232. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  233. package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
  234. package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
  235. package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
  236. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  237. package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
  238. package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
  239. package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
  240. package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
  241. package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
  242. package/package.json +22 -4
  243. package/dist/studio/assets/index-BByvFAbB.js +0 -26376
  244. package/dist/studio/assets/index-CTe7Eja3.css +0 -1
  245. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-Cu9fI30F.woff2 +0 -0
  246. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
  247. package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
  248. package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
  249. package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
  250. package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
  251. package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
  252. package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
  253. package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
  254. package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
  255. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
  256. package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
  257. package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
  258. package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
  259. package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
  260. package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
  261. package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
  262. package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
  263. package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
  264. package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
  265. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
  266. package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
  267. package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
  268. package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
  269. package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
  270. package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
  271. package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
  272. package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
  273. package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
  274. package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
  275. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
  276. package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
  277. package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
  278. package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
  279. package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
  280. package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
  281. package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
  282. package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
  283. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
  284. package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
  285. package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
  286. package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
  287. package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
  288. package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
  289. package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
  290. package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
  291. package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
  292. package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
  293. package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
  294. package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
  295. package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
  296. package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
  297. package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
  298. package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
  299. package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
  300. package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
  301. package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
  302. package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
  303. package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
  304. package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
  305. package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
  306. package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
  307. package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
  308. package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
  309. package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
  310. package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
  311. package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
  312. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
  313. package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
  314. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
  315. package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
  316. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
  317. package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
  318. package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
  319. package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
  320. package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
  321. package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
  322. package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
  323. package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
  324. package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
  325. package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
  326. package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
  327. package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
  328. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
  329. package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
  330. package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
  331. package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
  332. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
  333. package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
  334. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
  335. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
  336. package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
  337. package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
  338. package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
  339. package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
  340. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
  341. package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
  342. package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
  343. package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
  344. package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
  345. package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
  346. package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
  347. package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
  348. package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
  349. package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
  350. package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
  351. package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
  352. package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
  353. package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
  354. package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
  355. package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
  356. package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
  357. package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
  358. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
  359. package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
  360. package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
  361. package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
  362. package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
  363. package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
  364. package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
  365. package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
  366. package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
  367. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
  368. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
  369. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
  370. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.woff2 +0 -0
  371. package/dist/vocabulary/tokens/AGENTS.md +0 -15
  372. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
  373. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
  374. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
  375. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
  376. package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
package/NOTICE CHANGED
@@ -25,10 +25,10 @@ under the Apache License, Version 2.0:
25
25
  Copyright The Android Open Source Project
26
26
  https://github.com/androidx/androidx
27
27
  The token names and values in
28
- tokens/fidelity/reference/androidx-material3-buttons.json are taken from
29
- the published token files, version v0_11_0. Values of the m3-like and
30
- m3-expressive-like presets (tokens/systems/ and the files generated from
31
- them) are taken from the same token files.
28
+ tokens/fidelity/reference/androidx-material3.json are taken from the
29
+ published token files, versions v0_11_0, v0_7_0 and 14_1_0. Values of the
30
+ m3-like preset (tokens/systems/m3-like.system.json and the files generated
31
+ from it) are taken from the same token files.
32
32
 
33
33
  The source repository also contains the Gradle wrapper
34
34
  (packages/compose/gradlew, gradlew.bat and gradle/wrapper/) — Copyright 2015
@@ -46,7 +46,6 @@ The design system presets other than tanrei (tokens/systems/) are independent
46
46
  approximations, named for what they resemble:
47
47
 
48
48
  m3-like — resembles Material Design 3.
49
- m3-expressive-like — resembles Material Design 3 Expressive.
50
49
  cupertino — resembles what the Apple Human Interface Guidelines describe.
51
50
 
52
51
  Tanrei is not affiliated with, endorsed by, or sponsored by Google LLC,
package/README.md CHANGED
@@ -1,16 +1,23 @@
1
1
  # @tanrei/cli
2
2
 
3
- > **Pre-release.** Nothing has been released: `@tanrei/cli` is not on npm yet, so `npx tanrei` works only after you build and install it from source. Documentation, with the from-source steps: <https://tanrei.chnotchy.com/getting-started/your-design-system/>.
3
+ <!-- tanrei:status -->
4
+ <!-- Written by `pnpm generate` (packages/tools/src/readme.js) from the specs and tanrei.config.json: edit those, not this block. -->
5
+ > **Prerelease.** `0.1.0-next.1` is published under the npm dist-tag `next`: until `0.1.0`, install `@tanrei/cli@next`. During the 0.x prereleases backward compatibility is not kept: any prerelease may break anything, with no deprecation period first, and its changeset says what broke.
6
+
7
+ <!-- /tanrei:status -->
4
8
 
5
9
  Build your own design system on [Tanrei](https://github.com/chnotchy/tanrei): **one layer file in, tokens and code for every platform out.** Change a value, run one command, and the web, SwiftUI, Jetpack Compose, Flutter and React Native all move in the same pull request.
6
10
 
7
11
  ```bash
8
- npx tanrei init acme --extends tanrei # or m3-like, m3-expressive-like, cupertino
12
+ npm install --save-dev @tanrei/cli
13
+ npx tanrei init acme --extends tanrei # or m3-like, cupertino
9
14
  npx tanrei build
10
15
  ```
11
16
 
12
17
  `init` writes two files. `design/acme.system.json` is your design system — a *layer*: it changes values of the shared vocabulary and declares palettes; what it adds goes under `vocabulary`, additively and with a `rationale`.
13
18
 
19
+ Made your layer in [Theme Studio](../studio/README.md)? Start from the file it downloads instead: `npx tanrei init --from acme.system.json` checks it, copies it unchanged to `design/acme.system.json` and writes `tanrei.json`.
20
+
14
21
  ```json
15
22
  {
16
23
  "id": "acme",
@@ -28,6 +35,16 @@ npx tanrei build
28
35
  }
29
36
  ```
30
37
 
38
+ A layer sets values in this order of preference: a dial first. The dials are eight numbers every token is derived from — `type.base`, `type.contrast`, `space.unit`, `size.unit`, `control.height`, `shape.unit`, `stroke.unit`, `motion.unit`, each `tanrei.dial.<name>`. Three values decide how big things are:
39
+
40
+ | | |
41
+ |---|---|
42
+ | `tanrei.dial.control.height` | 40px: the height controls and rows are drawn at in their default size; small and large are whole size units below and above it (32 and 56) |
43
+ | `tanrei.dial.size.unit` | 4px: the distance between the control sizes, and the scale of icons |
44
+ | `tanrei.sys.target.minimum` | 36px: the least height anything a person presses is drawn at. No dial scales it, and no size step draws a pressable height below it. `tanrei.sys.target.pointer` and `.touch`, the least areas a press is taken from, alias it; a layer that follows a platform guideline sets them higher |
45
+
46
+ `tanrei validate` and `tanrei build` refuse a pointer or touch target under the minimum, and a minimum above the control height, in every layer. A target under 24px (WCAG 2.5.8) or a pressable height under the minimum is a warning in your layer. `init` prints the same summary.
47
+
31
48
  `tanrei.json` says where each output goes. List only what you ship.
32
49
 
33
50
  ```json
@@ -49,8 +66,8 @@ npx tanrei build
49
66
 
50
67
  | Output | What you get | Use it with |
51
68
  |---|---|---|
52
- | `tokens` | A self-contained **DTCG 2025.10** bundle with a standard resolver, the recipe that produced it, and `a11y-report.json` | any design-token tool, Figma/Penpot importers, AI agents |
53
- | `web` | `acme.css`, scoped to `[data-tanrei-system="acme"]` | `@tanrei/web` |
69
+ | `tokens` | A self-contained **DTCG 2025.10** bundle with a standard resolver, the recipe that produced it, `a11y-report.json`, and `components.json` — the components the system ships, with the module that registers each, and those it does not have, with what to use instead; and `acme.<scheme>.json` for each of the six schemes — every token resolved, by its id, a color as `#rrggbb` (or `#rrggbbaa`), a dimension or a duration as one string | any design-token tool, Figma/Penpot importers, AI agents; the `.json` per scheme for any program that reads values without a resolver |
70
+ | `web` | `acme.css`, scoped to `[data-tanrei-system="acme"]`, and `acme.theme-color.json` — the surface of each scheme, for `themeColorMeta()` | `@tanrei/web` |
54
71
  | `tailwind` | `acme.tailwind.css` — a Tailwind CSS v4 `@theme` mapped onto Tanrei's variables | Tailwind v4 |
55
72
  | `shadcn` | `acme.shadcn.css` — shadcn/ui's variables mapped onto Tanrei's roles | shadcn/ui |
56
73
  | `swiftui` | `TanreiSystem+Acme.swift` → `TanreiSystem.acme` | the `Tanrei` Swift package |
@@ -64,15 +81,17 @@ The vocabulary *types* always come from the library; a build only writes your sy
64
81
 
65
82
  | | |
66
83
  |---|---|
67
- | `tanrei init <id> [--extends <system>]` | starter layer + `tanrei.json` |
84
+ | `tanrei init <id> [--extends <system>]` | starter layer + `tanrei.json`, and a summary of the dials and the minimum target |
85
+ | `tanrei init --from <id>.system.json` | start from a layer file you already have — the one Theme Studio's Export downloads. It is checked against the schema and the vocabulary rules, with the systems this version ships as its parents; then copied unchanged to `design/<id>.system.json`, the id read from the file (not its name), and `tanrei.json` is written. Nothing is written when the file is refused or when `tanrei.json` or the destination already exists. The link Theme Studio copies is not taken: save the file and pass its path |
68
86
  | `tanrei build [--check]` | generate; `--check` writes nothing and fails when a committed output is stale (CI). Prints the font families the system names (text: brand, plain, mono; icons: unselected, selected) — fonts are referenced by name and never bundled, so the product installs or registers them |
69
- | `tanrei validate` | schema and vocabulary rules, then a trial build in memory (nothing is written); prints the accessibility/structure warnings `tanrei build` would print (what concerns the whole system first — e.g. `pressed-feedback: dim` while every pressed opacity is 1), and warns when a font stack has no system or generic fallback |
87
+ | `tanrei validate` | schema and vocabulary rules, then a trial build in memory (nothing is written), failing on what `tanrei build` refuses in every layer (a pointer or touch target under `sys.target.minimum`); prints the accessibility/structure warnings `tanrei build` would print (what concerns the whole system first — e.g. `pressed-feedback: dim` while every pressed opacity is 1), and warns when a font stack has no system or generic fallback |
70
88
  | `tanrei explain <token-id>` | the value (a choice of kind by its name), which layer or pattern rule gives it — every matching rule, with the one that wins and why — and what a layer may write for it |
71
89
  | `tanrei studio [--config tanrei.json] [--port <n>] [--no-open]` | serve [Theme Studio](../studio/README.md) on `127.0.0.1` (a random free port unless `--port` is given) and open it in the browser (`--no-open` prints the link only). It edits the layer file `tanrei.json` names in place — saves are atomic, conditional and refused when the engine would refuse the layer — and its build writes the configured outputs. Local only; the link carries a one-time key. Ctrl+C stops it |
72
90
  | `tanrei systems` | the systems that ship with this version, with the font families each one names |
91
+ | `tanrei audit <file\|dir\|glob…> [--system <id\|layer file>] [--format text\|json]` | what your code uses that the system does not have, each at its file, line and column with what to write instead: an element (in markup, a template, JSX, a string, an imported React wrapper, a CSS selector) of a component the system does not have, an import from an entry that does not fit the system (`@tanrei/react/all` or `@tanrei/web/m3-like` in a product of the default system), a written `variant="…"` it leaves out. The system is `--system`, else the product's (`tanrei.json`), else `tanrei`. A directory is read for script, markup and stylesheets, without `node_modules` and hidden directories; quote a glob. Comments are skipped; a variant held in a variable is not seen. Exit 0: nothing found; 1: something found (CI); 2: it could not run |
73
92
 
74
93
  ## Accessibility
75
94
 
76
- Contrast thresholds and structural checks are constants. In your layer a violation is a **warning**, never silent: it is printed, written to `a11y-report.json`, and stamped at the top of every generated file.
95
+ Contrast thresholds and structural checks are constants. In your layer a violation is a **warning**, never silent: it is printed, written to `a11y-report.json`, and stamped at the top of every generated file. The report also records how many contrast pairs were checked in each scheme (`checked`): the pairs of color roles, and the pairs of a component's own colors.
77
96
 
78
- The shipped imitation presets (`m3-like`, `m3-expressive-like`, `cupertino`) are held to fidelity to the systems they imitate, not to Tanrei's accessibility criteria, in every contrast scheme: what the fixed ruler measures in a preset is recorded as information, not as a warning. Your layer is a product layer, whatever it extends, so a layer built on a preset is warned about what it inherits from it too.
97
+ The shipped imitation presets (`m3-like`, `cupertino`) are held to fidelity to the systems they imitate, not to Tanrei's accessibility criteria, in every contrast scheme: what the fixed ruler measures in a preset is recorded as information, not as a warning. Your layer is a product layer, whatever it extends, so a layer built on a preset is warned about what it inherits from it too.