@beehexa/design-rules 0.0.0-stage → 2611.3.3

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 (290) hide show
  1. package/README.md +56 -2
  2. package/dist/AGENTS.md +24 -0
  3. package/dist/catalog.json +1814 -0
  4. package/dist/docs/public/_redirects +7 -0
  5. package/dist/docs/public/apple-touch-icon.png +0 -0
  6. package/dist/docs/public/brand/logos/app/apple-touch-icon.png +0 -0
  7. package/dist/docs/public/brand/logos/app/avatar-800.png +0 -0
  8. package/dist/docs/public/brand/logos/app/icon-192.png +0 -0
  9. package/dist/docs/public/brand/logos/app/icon-512.png +0 -0
  10. package/dist/docs/public/brand/logos/app/icon-maskable-512.png +0 -0
  11. package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-1-light.svg +1 -0
  12. package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-2-dark.svg +1 -0
  13. package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-3-white.svg +1 -0
  14. package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-4-graphite.svg +1 -0
  15. package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-1-light.svg +1 -0
  16. package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-2-dark.svg +1 -0
  17. package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-3-white.svg +1 -0
  18. package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-4-graphite.svg +1 -0
  19. package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-d-550-dark.svg +1 -0
  20. package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-d-550-light.svg +1 -0
  21. package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-design-d-550-dark.svg +1 -0
  22. package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-design-d-550-light.svg +1 -0
  23. package/dist/docs/public/brand/logos/archive/d-550/ui/hexasync-d-550-dark.svg +1 -0
  24. package/dist/docs/public/brand/logos/archive/d-550/ui/hexasync-d-550-light.svg +1 -0
  25. package/dist/docs/public/brand/logos/archive/d-550/ui/png/beehexa-design-d-550-dark@3x.png +0 -0
  26. package/dist/docs/public/brand/logos/archive/d-550/ui/png/beehexa-design-d-550-light@3x.png +0 -0
  27. package/dist/docs/public/brand/logos/beehexa-logo.zip +0 -0
  28. package/dist/docs/public/brand/logos/fig/anatomy-en.png +0 -0
  29. package/dist/docs/public/brand/logos/fig/anatomy-vi.png +0 -0
  30. package/dist/docs/public/brand/logos/fig/beehexa-dark-12.png +0 -0
  31. package/dist/docs/public/brand/logos/fig/beehexa-dark-14.png +0 -0
  32. package/dist/docs/public/brand/logos/fig/beehexa-dark-28.png +0 -0
  33. package/dist/docs/public/brand/logos/fig/beehexa-dark-32.png +0 -0
  34. package/dist/docs/public/brand/logos/fig/beehexa-dark-56.png +0 -0
  35. package/dist/docs/public/brand/logos/fig/beehexa-graphite-28.png +0 -0
  36. package/dist/docs/public/brand/logos/fig/beehexa-graphite-32.png +0 -0
  37. package/dist/docs/public/brand/logos/fig/beehexa-light-14.png +0 -0
  38. package/dist/docs/public/brand/logos/fig/beehexa-light-21.png +0 -0
  39. package/dist/docs/public/brand/logos/fig/beehexa-light-22.png +0 -0
  40. package/dist/docs/public/brand/logos/fig/beehexa-light-24.png +0 -0
  41. package/dist/docs/public/brand/logos/fig/beehexa-light-28.png +0 -0
  42. package/dist/docs/public/brand/logos/fig/beehexa-light-32.png +0 -0
  43. package/dist/docs/public/brand/logos/fig/beehexa-light-36-7c3aed7c3aed.png +0 -0
  44. package/dist/docs/public/brand/logos/fig/beehexa-light-36-swap.png +0 -0
  45. package/dist/docs/public/brand/logos/fig/beehexa-light-36.png +0 -0
  46. package/dist/docs/public/brand/logos/fig/beehexa-light-56.png +0 -0
  47. package/dist/docs/public/brand/logos/fig/beehexa-white-20.png +0 -0
  48. package/dist/docs/public/brand/logos/fig/beehexa-white-32.png +0 -0
  49. package/dist/docs/public/brand/logos/fig/clearspace.png +0 -0
  50. package/dist/docs/public/brand/logos/fig/construction-en.png +0 -0
  51. package/dist/docs/public/brand/logos/fig/construction-vi.png +0 -0
  52. package/dist/docs/public/brand/logos/fig/container-en.png +0 -0
  53. package/dist/docs/public/brand/logos/fig/container-vi.png +0 -0
  54. package/dist/docs/public/brand/logos/fig/hexasync-dark-20.png +0 -0
  55. package/dist/docs/public/brand/logos/fig/hexasync-dark-28.png +0 -0
  56. package/dist/docs/public/brand/logos/fig/hexasync-dark-48.png +0 -0
  57. package/dist/docs/public/brand/logos/fig/hexasync-light-19.png +0 -0
  58. package/dist/docs/public/brand/logos/fig/hexasync-light-28.png +0 -0
  59. package/dist/docs/public/brand/logos/fig/hexasync-light-48.png +0 -0
  60. package/dist/docs/public/brand/logos/fig/icon-graphite-14.png +0 -0
  61. package/dist/docs/public/brand/logos/fig/icon-graphite-16.png +0 -0
  62. package/dist/docs/public/brand/logos/fig/icon-light-16.png +0 -0
  63. package/dist/docs/public/brand/logos/fig/icon-light-24.png +0 -0
  64. package/dist/docs/public/brand/logos/fig/icon-light-48.png +0 -0
  65. package/dist/docs/public/brand/logos/fig/icon-light-92.png +0 -0
  66. package/dist/docs/public/brand/logos/fig/meaning-bee-en.png +0 -0
  67. package/dist/docs/public/brand/logos/fig/meaning-bee-vi.png +0 -0
  68. package/dist/docs/public/brand/logos/fig/meaning-outline-en.png +0 -0
  69. package/dist/docs/public/brand/logos/fig/meaning-outline-vi.png +0 -0
  70. package/dist/docs/public/brand/logos/fig/meaning-stack-en.png +0 -0
  71. package/dist/docs/public/brand/logos/fig/meaning-stack-vi.png +0 -0
  72. package/dist/docs/public/brand/logos/fig/misuse-serif.png +0 -0
  73. package/dist/docs/public/brand/logos/icon/beehexa-icon-graphite.svg +1 -0
  74. package/dist/docs/public/brand/logos/icon/beehexa-icon-white.svg +1 -0
  75. package/dist/docs/public/brand/logos/icon/beehexa-icon-yellow.svg +1 -0
  76. package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-1-light.svg +1 -0
  77. package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-2-dark.svg +1 -0
  78. package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-3-white.svg +1 -0
  79. package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-4-graphite.svg +1 -0
  80. package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-1-light.svg +1 -0
  81. package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-2-dark.svg +1 -0
  82. package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-3-white.svg +1 -0
  83. package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-4-graphite.svg +1 -0
  84. package/dist/docs/public/brand/logos/ui/beehexa-dark.svg +1 -0
  85. package/dist/docs/public/brand/logos/ui/beehexa-design-dark.svg +1 -0
  86. package/dist/docs/public/brand/logos/ui/beehexa-design-light.svg +1 -0
  87. package/dist/docs/public/brand/logos/ui/beehexa-icon-yellow.svg +1 -0
  88. package/dist/docs/public/brand/logos/ui/beehexa-light.svg +1 -0
  89. package/dist/docs/public/brand/logos/ui/hexasync-dark.svg +1 -0
  90. package/dist/docs/public/brand/logos/ui/hexasync-light.svg +1 -0
  91. package/dist/docs/public/brand/logos/ui/png/beehexa-design-dark@3x.png +0 -0
  92. package/dist/docs/public/brand/logos/ui/png/beehexa-design-light@3x.png +0 -0
  93. package/dist/docs/public/favicon.ico +0 -0
  94. package/dist/docs/public/favicon.svg +1 -0
  95. package/dist/docs/public/fonts/LICENSE-Inter.txt +93 -0
  96. package/dist/docs/public/fonts/LICENSE-JetBrainsMono.txt +93 -0
  97. package/dist/docs/public/fonts/inter-latin-ext-opsz-wght-italic.woff2 +0 -0
  98. package/dist/docs/public/fonts/inter-latin-ext-opsz-wght-normal.woff2 +0 -0
  99. package/dist/docs/public/fonts/inter-latin-opsz-wght-italic.woff2 +0 -0
  100. package/dist/docs/public/fonts/inter-latin-opsz-wght-normal.woff2 +0 -0
  101. package/dist/docs/public/fonts/inter-vietnamese-opsz-wght-italic.woff2 +0 -0
  102. package/dist/docs/public/fonts/inter-vietnamese-opsz-wght-normal.woff2 +0 -0
  103. package/dist/docs/public/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  104. package/dist/docs/public/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  105. package/dist/docs/public/fonts/jetbrains-mono-vietnamese-wght-normal.woff2 +0 -0
  106. package/dist/docs/public/icon-192.png +0 -0
  107. package/dist/docs/public/icon-512.png +0 -0
  108. package/dist/docs/public/icon-maskable-512.png +0 -0
  109. package/dist/docs/public/robots.txt +4 -0
  110. package/dist/docs/public/site.webmanifest +21 -0
  111. package/dist/docs/scripts/color-pairs.mjs +46 -0
  112. package/dist/docs/scripts/contrast-exceptions.mjs +6 -0
  113. package/dist/docs/scripts/token-utils.d.mts +26 -0
  114. package/dist/docs/scripts/token-utils.mjs +114 -0
  115. package/dist/docs/src/brand/Beehexa-brandguide-full-mar12.pdf +0 -0
  116. package/dist/docs/src/brand/color+typoDirections.pdf +0 -0
  117. package/dist/docs/src/brand/structure-proposal.md +227 -0
  118. package/dist/docs/src/components/ChildPages.astro +25 -0
  119. package/dist/docs/src/components/CodeExample.astro +18 -0
  120. package/dist/docs/src/components/ColorDemo.astro +794 -0
  121. package/dist/docs/src/components/ColorExample.astro +32 -0
  122. package/dist/docs/src/components/ColorSwatch.astro +20 -0
  123. package/dist/docs/src/components/ComponentTabs.astro +21 -0
  124. package/dist/docs/src/components/DocsFooter.astro +25 -0
  125. package/dist/docs/src/components/HelpOptions.astro +20 -0
  126. package/dist/docs/src/components/IconBrowser.astro +257 -0
  127. package/dist/docs/src/components/IconDemo.astro +185 -0
  128. package/dist/docs/src/components/InDevelopment.astro +29 -0
  129. package/dist/docs/src/components/LayoutDemo.astro +384 -0
  130. package/dist/docs/src/components/Logo.astro +25 -0
  131. package/dist/docs/src/components/PhaseTable.astro +22 -0
  132. package/dist/docs/src/components/RoleGuides.astro +48 -0
  133. package/dist/docs/src/components/ShapeDemo.astro +239 -0
  134. package/dist/docs/src/components/ShapePin.astro +22 -0
  135. package/dist/docs/src/components/Sidebar.astro +206 -0
  136. package/dist/docs/src/components/SiteHeader.astro +211 -0
  137. package/dist/docs/src/components/SpacingDemo.astro +172 -0
  138. package/dist/docs/src/components/StatusBadge.astro +22 -0
  139. package/dist/docs/src/components/SystemAreas.astro +29 -0
  140. package/dist/docs/src/components/TableOfContents.astro +47 -0
  141. package/dist/docs/src/components/TokenTable.astro +40 -0
  142. package/dist/docs/src/components/TypeDemo.astro +249 -0
  143. package/dist/docs/src/components/logos/Fig.astro +28 -0
  144. package/dist/docs/src/components/logos/LogoAnatomy.astro +101 -0
  145. package/dist/docs/src/components/logos/LogoClearSpace.astro +81 -0
  146. package/dist/docs/src/components/logos/LogoColourVersions.astro +45 -0
  147. package/dist/docs/src/components/logos/LogoConstruction.astro +84 -0
  148. package/dist/docs/src/components/logos/LogoContainer.astro +84 -0
  149. package/dist/docs/src/components/logos/LogoHero.astro +42 -0
  150. package/dist/docs/src/components/logos/LogoInUse.astro +197 -0
  151. package/dist/docs/src/components/logos/LogoMeanings.astro +75 -0
  152. package/dist/docs/src/components/logos/LogoMinSize.astro +55 -0
  153. package/dist/docs/src/components/logos/LogoMistakes.astro +109 -0
  154. package/dist/docs/src/components/logos/LogoMisuse.astro +96 -0
  155. package/dist/docs/src/components/logos/LogoPair.astro +26 -0
  156. package/dist/docs/src/components/logos/LogoSvg.astro +68 -0
  157. package/dist/docs/src/content/components/button/accessibility.mdx +18 -0
  158. package/dist/docs/src/content/components/button/changelog.mdx +6 -0
  159. package/dist/docs/src/content/components/button/code.mdx +27 -0
  160. package/dist/docs/src/content/components/button/examples.mdx +21 -0
  161. package/dist/docs/src/content/components/button/meta.json +5 -0
  162. package/dist/docs/src/content/components/button/usage.mdx +18 -0
  163. package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +19 -0
  164. package/dist/docs/src/content/foundations/guidelines/content.mdx +25 -0
  165. package/dist/docs/src/content/foundations/index.mdx +9 -0
  166. package/dist/docs/src/content/foundations/styles/border.mdx +89 -0
  167. package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +32 -0
  168. package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +22 -0
  169. package/dist/docs/src/content/foundations/styles/color/index.mdx +65 -0
  170. package/dist/docs/src/content/foundations/styles/color/palette.mdx +57 -0
  171. package/dist/docs/src/content/foundations/styles/color/tokens.mdx +55 -0
  172. package/dist/docs/src/content/foundations/styles/color/usage.mdx +111 -0
  173. package/dist/docs/src/content/foundations/styles/data-visualization.mdx +11 -0
  174. package/dist/docs/src/content/foundations/styles/elevation.mdx +12 -0
  175. package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +72 -0
  176. package/dist/docs/src/content/foundations/styles/icons/code.mdx +171 -0
  177. package/dist/docs/src/content/foundations/styles/icons/index.mdx +62 -0
  178. package/dist/docs/src/content/foundations/styles/icons/library.mdx +19 -0
  179. package/dist/docs/src/content/foundations/styles/icons/usage.mdx +100 -0
  180. package/dist/docs/src/content/foundations/styles/illustration.mdx +9 -0
  181. package/dist/docs/src/content/foundations/styles/interaction-states.mdx +49 -0
  182. package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +81 -0
  183. package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +56 -0
  184. package/dist/docs/src/content/foundations/styles/layout/grid.mdx +87 -0
  185. package/dist/docs/src/content/foundations/styles/layout/index.mdx +24 -0
  186. package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +45 -0
  187. package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +38 -0
  188. package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +65 -0
  189. package/dist/docs/src/content/foundations/styles/logos/index.mdx +64 -0
  190. package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +96 -0
  191. package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +56 -0
  192. package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +70 -0
  193. package/dist/docs/src/content/foundations/styles/motion.mdx +11 -0
  194. package/dist/docs/src/content/foundations/styles/opacity.mdx +9 -0
  195. package/dist/docs/src/content/foundations/styles/radius.mdx +98 -0
  196. package/dist/docs/src/content/foundations/styles/size-and-density.mdx +41 -0
  197. package/dist/docs/src/content/foundations/styles/spacing.mdx +70 -0
  198. package/dist/docs/src/content/foundations/styles/typography/code.mdx +53 -0
  199. package/dist/docs/src/content/foundations/styles/typography/index.mdx +58 -0
  200. package/dist/docs/src/content/foundations/styles/typography/usage.mdx +144 -0
  201. package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +46 -0
  202. package/dist/docs/src/content/foundations/styles/z-index.mdx +9 -0
  203. package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +36 -0
  204. package/dist/docs/src/content/foundations/tokens/index.mdx +27 -0
  205. package/dist/docs/src/content/get-started/content.mdx +14 -0
  206. package/dist/docs/src/content/get-started/design.mdx +30 -0
  207. package/dist/docs/src/content/get-started/develop.mdx +59 -0
  208. package/dist/docs/src/content/get-started/get-help.mdx +19 -0
  209. package/dist/docs/src/content/get-started/index.mdx +50 -0
  210. package/dist/docs/src/content/news/2026-10-16-site-structure.md +15 -0
  211. package/dist/docs/src/content/news/2026-10-20-docs-site.md +13 -0
  212. package/dist/docs/src/content/release-phases/index.mdx +12 -0
  213. package/dist/docs/src/content/tools/ai-agents.mdx +49 -0
  214. package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +138 -0
  215. package/dist/docs/src/content/tools/eslint.mdx +15 -0
  216. package/dist/docs/src/content/tools/index.mdx +7 -0
  217. package/dist/docs/src/content/tools/stylelint.mdx +19 -0
  218. package/dist/docs/src/content-vi/foundations/styles/border.mdx +89 -0
  219. package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +32 -0
  220. package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +22 -0
  221. package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +65 -0
  222. package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +57 -0
  223. package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +55 -0
  224. package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +111 -0
  225. package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +11 -0
  226. package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +72 -0
  227. package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +170 -0
  228. package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +62 -0
  229. package/dist/docs/src/content-vi/foundations/styles/icons/library.mdx +19 -0
  230. package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +100 -0
  231. package/dist/docs/src/content-vi/foundations/styles/illustration.mdx +9 -0
  232. package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +49 -0
  233. package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +77 -0
  234. package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +56 -0
  235. package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +87 -0
  236. package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +24 -0
  237. package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +34 -0
  238. package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +65 -0
  239. package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +64 -0
  240. package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +96 -0
  241. package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +56 -0
  242. package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +70 -0
  243. package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +9 -0
  244. package/dist/docs/src/content-vi/foundations/styles/radius.mdx +98 -0
  245. package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +41 -0
  246. package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +70 -0
  247. package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +53 -0
  248. package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +58 -0
  249. package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +144 -0
  250. package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +46 -0
  251. package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +9 -0
  252. package/dist/docs/src/content.config.ts +68 -0
  253. package/dist/docs/src/lib/brand.ts +57 -0
  254. package/dist/docs/src/lib/contrast.ts +34 -0
  255. package/dist/docs/src/lib/i18n.ts +152 -0
  256. package/dist/docs/src/lib/icons.ts +46 -0
  257. package/dist/docs/src/lib/logo-geometry.ts +30 -0
  258. package/dist/docs/src/lib/lucide-categories.json +1 -0
  259. package/dist/docs/src/lib/lucide-data.ts +40 -0
  260. package/dist/docs/src/lib/navigation.ts +222 -0
  261. package/dist/docs/src/lib/release-phases.ts +10 -0
  262. package/dist/docs/src/lib/routes.ts +40 -0
  263. package/dist/docs/src/lib/token-descriptions-vi.ts +40 -0
  264. package/dist/docs/src/lib/tokens.ts +67 -0
  265. package/dist/docs/src/lib/tri-grid.ts +28 -0
  266. package/dist/docs/src/styles/chrome.css +122 -0
  267. package/dist/docs/src/styles/color.css +270 -0
  268. package/dist/docs/src/styles/docs.css +323 -0
  269. package/dist/docs/src/styles/global.css +66 -0
  270. package/dist/docs/src/styles/icons.css +135 -0
  271. package/dist/docs/src/styles/layout.css +165 -0
  272. package/dist/docs/src/styles/logos.css +236 -0
  273. package/dist/docs/src/styles/shapes.css +139 -0
  274. package/dist/docs/src/styles/tokens.css +461 -0
  275. package/dist/docs/src/styles/tokens.js +425 -0
  276. package/dist/docs/src/styles/typography.css +91 -0
  277. package/dist/docs/tokens/border.json +26 -0
  278. package/dist/docs/tokens/breakpoints.json +8 -0
  279. package/dist/docs/tokens/color.json +1350 -0
  280. package/dist/docs/tokens/elevation.json +26 -0
  281. package/dist/docs/tokens/layout.json +29 -0
  282. package/dist/docs/tokens/motion.json +12 -0
  283. package/dist/docs/tokens/radius.json +44 -0
  284. package/dist/docs/tokens/size.json +13 -0
  285. package/dist/docs/tokens/spacing.json +18 -0
  286. package/dist/docs/tokens/states.json +12 -0
  287. package/dist/docs/tokens/typography.json +220 -0
  288. package/dist/index.d.ts +19 -0
  289. package/dist/index.js +1823 -0
  290. package/package.json +36 -4
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -1801 9980 2112"><path fill="#FCB017" fill-rule="evenodd" transform="translate(0 -1801) scale(7.04)" d="M129.9 0L259.8 75L259.8 225L129.9 300L0 225L0 75ZM27.8 176.8L129.9 235.7L232 176.8L232 208.9L129.9 267.9L27.8 208.9ZM27.8 112.5L129.9 171.4L232 112.5L232 144.6L129.9 203.6L27.8 144.6ZM129.9 32.1L222.7 85.7L129.9 139.3L37.1 85.7Z"/><path fill="#2B2A28" transform="translate(2363.3 0)" d="M655 21Q587 21 525.5 1Q464 -19 413.5 -59.5Q363 -100 328 -161H326V0H119V-1490H330V-903H332Q366 -962 415.5 -1000Q465 -1038 526.5 -1057.5Q588 -1077 656 -1077Q793 -1077 895.5 -1007.5Q998 -938 1055.5 -814.5Q1113 -691 1113 -528Q1113 -365 1056 -241.5Q999 -118 896 -48.5Q793 21 655 21ZM612 -161Q698 -161 762 -203.5Q826 -246 862.5 -327.5Q899 -409 899 -528Q899 -648 862.5 -730Q826 -812 762 -854Q698 -896 612 -896Q522 -896 455.5 -850.5Q389 -805 352.5 -722.5Q316 -640 316 -528Q316 -418 352.5 -335Q389 -252 455.5 -206.5Q522 -161 612 -161Z M1750 24Q1593 24 1480.5 -47Q1368 -118 1307.5 -242.5Q1247 -367 1247 -526Q1247 -688 1310 -812.5Q1373 -937 1484 -1008.5Q1595 -1080 1739 -1080Q1851 -1080 1941.5 -1040Q2032 -1000 2097 -926.5Q2162 -853 2197 -752Q2232 -651 2232 -528V-471H1342V-631H2121L2028 -582Q2028 -680 1993 -752.5Q1958 -825 1893.5 -864.5Q1829 -904 1741 -904Q1654 -904 1590 -864.5Q1526 -825 1490.5 -752.5Q1455 -680 1455 -582V-491Q1455 -391 1490 -314.5Q1525 -238 1591.5 -195Q1658 -152 1753 -152Q1822 -152 1875 -173.5Q1928 -195 1963 -233Q1998 -271 2013 -321H2216Q2197 -219 2131.5 -141.5Q2066 -64 1967.5 -20Q1869 24 1750 24Z M2865 24Q2708 24 2595.5 -47Q2483 -118 2422.5 -242.5Q2362 -367 2362 -526Q2362 -688 2425 -812.5Q2488 -937 2599 -1008.5Q2710 -1080 2854 -1080Q2966 -1080 3056.5 -1040Q3147 -1000 3212 -926.5Q3277 -853 3312 -752Q3347 -651 3347 -528V-471H2457V-631H3236L3143 -582Q3143 -680 3108 -752.5Q3073 -825 3008.5 -864.5Q2944 -904 2856 -904Q2769 -904 2705 -864.5Q2641 -825 2605.5 -752.5Q2570 -680 2570 -582V-491Q2570 -391 2605 -314.5Q2640 -238 2706.5 -195Q2773 -152 2868 -152Q2937 -152 2990 -173.5Q3043 -195 3078 -233Q3113 -271 3128 -321H3331Q3312 -219 3246.5 -141.5Q3181 -64 3082.5 -20Q2984 24 2865 24Z M3740 -608V0H3529V-1490H3740V-794H3687Q3739 -936 3831.5 -1006.5Q3924 -1077 4055 -1077Q4164 -1077 4250.5 -1029.5Q4337 -982 4387 -889Q4437 -796 4437 -658V0H4226V-632Q4226 -759 4165.5 -823.5Q4105 -888 3995 -888Q3923 -888 3865.5 -859Q3808 -830 3774 -768Q3740 -706 3740 -608Z M5126 24Q4969 24 4856.5 -47Q4744 -118 4683.5 -242.5Q4623 -367 4623 -526Q4623 -688 4686 -812.5Q4749 -937 4860 -1008.5Q4971 -1080 5115 -1080Q5227 -1080 5317.5 -1040Q5408 -1000 5473 -926.5Q5538 -853 5573 -752Q5608 -651 5608 -528V-471H4718V-631H5497L5404 -582Q5404 -680 5369 -752.5Q5334 -825 5269.5 -864.5Q5205 -904 5117 -904Q5030 -904 4966 -864.5Q4902 -825 4866.5 -752.5Q4831 -680 4831 -582V-491Q4831 -391 4866 -314.5Q4901 -238 4967.5 -195Q5034 -152 5129 -152Q5198 -152 5251 -173.5Q5304 -195 5339 -233Q5374 -271 5389 -321H5592Q5573 -219 5507.5 -141.5Q5442 -64 5343.5 -20Q5245 24 5126 24Z M5637 0 6074 -605 6071 -474 5661 -1056H5902L6028 -868Q6070 -804 6109.5 -742Q6149 -680 6189 -617H6101Q6143 -680 6182.5 -742Q6222 -804 6265 -868L6393 -1056H6630L6216 -474L6218 -606L6648 0H6407L6260 -214Q6219 -276 6180.5 -335.5Q6142 -395 6102 -456H6186Q6146 -395 6106.5 -335.5Q6067 -276 6026 -214L5876 0Z M7093 17Q6988 17 6905.5 -19Q6823 -55 6775 -126Q6727 -197 6727 -302Q6727 -392 6761.5 -450Q6796 -508 6855 -542Q6914 -576 6989 -593.5Q7064 -611 7144 -620Q7244 -633 7301.5 -640.5Q7359 -648 7383.5 -664.5Q7408 -681 7408 -719V-728Q7408 -779 7383 -818.5Q7358 -858 7310 -881Q7262 -904 7195 -904Q7128 -904 7076.5 -882Q7025 -860 6994.5 -821.5Q6964 -783 6960 -734H6753Q6758 -835 6814 -912Q6870 -989 6968 -1033Q7066 -1077 7198 -1077Q7295 -1077 7373 -1052Q7451 -1027 7505.5 -980.5Q7560 -934 7588.5 -869Q7617 -804 7617 -724V0H7409V-150H7405Q7383 -107 7345 -69Q7307 -31 7245.5 -7Q7184 17 7093 17ZM7136 -153Q7229 -153 7289.5 -186.5Q7350 -220 7379.5 -275Q7409 -330 7409 -395V-519Q7398 -510 7373.5 -502.5Q7349 -495 7314 -488.5Q7279 -482 7238 -475Q7197 -468 7156 -463Q7098 -455 7048 -436.5Q6998 -418 6967.5 -385Q6937 -352 6937 -298Q6937 -253 6961 -220.5Q6985 -188 7030 -170.5Q7075 -153 7136 -153Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -1801 11523 2219"><path fill="#FCB017" fill-rule="evenodd" transform="translate(0 -1801) scale(7.04)" d="M129.9 0L259.8 75L259.8 225L129.9 300L0 225L0 75ZM27.8 176.8L129.9 235.7L232 176.8L232 208.9L129.9 267.9L27.8 208.9ZM27.8 112.5L129.9 171.4L232 112.5L232 144.6L129.9 203.6L27.8 144.6ZM129.9 32.1L222.7 85.7L129.9 139.3L37.1 85.7Z"/><path fill="#FFFFFF" transform="translate(2346.3 0)" d="M136 0V-1490H358V-859H1099V-1490H1321V0H1099V-665H358V0Z M2027 24Q1870 24 1757.5 -47Q1645 -118 1584.5 -242.5Q1524 -367 1524 -526Q1524 -688 1587 -812.5Q1650 -937 1761 -1008.5Q1872 -1080 2016 -1080Q2128 -1080 2218.5 -1040Q2309 -1000 2374 -926.5Q2439 -853 2474 -752Q2509 -651 2509 -528V-471H1619V-631H2398L2305 -582Q2305 -680 2270 -752.5Q2235 -825 2170.5 -864.5Q2106 -904 2018 -904Q1931 -904 1867 -864.5Q1803 -825 1767.5 -752.5Q1732 -680 1732 -582V-491Q1732 -391 1767 -314.5Q1802 -238 1868.5 -195Q1935 -152 2030 -152Q2099 -152 2152 -173.5Q2205 -195 2240 -233Q2275 -271 2290 -321H2493Q2474 -219 2408.5 -141.5Q2343 -64 2244.5 -20Q2146 24 2027 24Z M2538 0 2975 -605 2972 -474 2562 -1056H2803L2929 -868Q2971 -804 3010.5 -742Q3050 -680 3090 -617H3002Q3044 -680 3083.5 -742Q3123 -804 3166 -868L3294 -1056H3531L3117 -474L3119 -606L3549 0H3308L3161 -214Q3120 -276 3081.5 -335.5Q3043 -395 3003 -456H3087Q3047 -395 3007.5 -335.5Q2968 -276 2927 -214L2777 0Z M3994 17Q3889 17 3806.5 -19Q3724 -55 3676 -126Q3628 -197 3628 -302Q3628 -392 3662.5 -450Q3697 -508 3756 -542Q3815 -576 3890 -593.5Q3965 -611 4045 -620Q4145 -633 4202.5 -640.5Q4260 -648 4284.5 -664.5Q4309 -681 4309 -719V-728Q4309 -779 4284 -818.5Q4259 -858 4211 -881Q4163 -904 4096 -904Q4029 -904 3977.5 -882Q3926 -860 3895.5 -821.5Q3865 -783 3861 -734H3654Q3659 -835 3715 -912Q3771 -989 3869 -1033Q3967 -1077 4099 -1077Q4196 -1077 4274 -1052Q4352 -1027 4406.5 -980.5Q4461 -934 4489.5 -869Q4518 -804 4518 -724V0H4310V-150H4306Q4284 -107 4246 -69Q4208 -31 4146.5 -7Q4085 17 3994 17ZM4037 -153Q4130 -153 4190.5 -186.5Q4251 -220 4280.5 -275Q4310 -330 4310 -395V-519Q4299 -510 4274.5 -502.5Q4250 -495 4215 -488.5Q4180 -482 4139 -475Q4098 -468 4057 -463Q3999 -455 3949 -436.5Q3899 -418 3868.5 -385Q3838 -352 3838 -298Q3838 -253 3862 -220.5Q3886 -188 3931 -170.5Q3976 -153 4037 -153Z M5289 24Q5110 24 4981 -37Q4852 -98 4782 -212Q4712 -326 4712 -483H4934Q4935 -385 4977 -314.5Q5019 -244 5098.5 -207Q5178 -170 5289 -170Q5391 -170 5465.5 -199Q5540 -228 5582 -281.5Q5624 -335 5624 -408Q5624 -465 5595.5 -507.5Q5567 -550 5504.5 -582Q5442 -614 5338 -638L5175 -677Q4949 -730 4845.5 -827Q4742 -924 4742 -1079Q4742 -1210 4808 -1307.5Q4874 -1405 4994 -1459.5Q5114 -1514 5273 -1514Q5434 -1514 5552 -1457Q5670 -1400 5735.5 -1295Q5801 -1190 5806 -1044H5591Q5583 -1173 5497 -1246.5Q5411 -1320 5270 -1320Q5181 -1320 5111.5 -1290.5Q5042 -1261 5002.5 -1209.5Q4963 -1158 4963 -1090Q4963 -1036 4992 -996Q5021 -956 5083.5 -926Q5146 -896 5248 -871L5409 -833Q5521 -806 5603.5 -768Q5686 -730 5739.5 -679.5Q5793 -629 5819.5 -564.5Q5846 -500 5846 -420Q5846 -286 5777 -186Q5708 -86 5583 -31Q5458 24 5289 24Z M6054 418V240H6168Q6202 240 6226 227.5Q6250 215 6269.5 188Q6289 161 6305 119L6353 -7L5945 -1056H6171L6382 -477Q6411 -395 6438.5 -313.5Q6466 -232 6491 -150H6434Q6459 -232 6486.5 -313.5Q6514 -395 6543 -477L6751 -1056H6974L6494 185Q6464 262 6420 313.5Q6376 365 6318 391.5Q6260 418 6188 418Q6155 418 6121 418Q6087 418 6054 418Z M7328 -608V0H7117V-1056H7324V-794H7275Q7327 -936 7419.5 -1006.5Q7512 -1077 7643 -1077Q7752 -1077 7838.5 -1029.5Q7925 -982 7975 -889Q8025 -796 8025 -658V0H7814V-632Q7814 -759 7753.5 -823.5Q7693 -888 7583 -888Q7511 -888 7453.5 -859Q7396 -830 7362 -768Q7328 -706 7328 -608Z M8715 24Q8564 24 8451 -46Q8338 -116 8274.5 -240.5Q8211 -365 8211 -526Q8211 -689 8274.5 -814Q8338 -939 8451 -1009.5Q8564 -1080 8715 -1080Q8809 -1080 8889.5 -1051.5Q8970 -1023 9031 -971.5Q9092 -920 9129.5 -849.5Q9167 -779 9177 -695H8967Q8959 -740 8939 -777Q8919 -814 8887 -841Q8855 -868 8812.5 -883Q8770 -898 8716 -898Q8625 -898 8560 -852Q8495 -806 8460 -722.5Q8425 -639 8425 -526Q8425 -414 8460 -331.5Q8495 -249 8560 -203.5Q8625 -158 8716 -158Q8770 -158 8812 -172.5Q8854 -187 8884 -214Q8914 -241 8934 -278.5Q8954 -316 8964 -362H9177Q9168 -279 9130.5 -209Q9093 -139 9031.5 -86.5Q8970 -34 8889.5 -5Q8809 24 8715 24Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -1801 11523 2219"><path fill="#FCB017" fill-rule="evenodd" transform="translate(0 -1801) scale(7.04)" d="M129.9 0L259.8 75L259.8 225L129.9 300L0 225L0 75ZM27.8 176.8L129.9 235.7L232 176.8L232 208.9L129.9 267.9L27.8 208.9ZM27.8 112.5L129.9 171.4L232 112.5L232 144.6L129.9 203.6L27.8 144.6ZM129.9 32.1L222.7 85.7L129.9 139.3L37.1 85.7Z"/><path fill="#2B2A28" transform="translate(2346.3 0)" d="M136 0V-1490H358V-859H1099V-1490H1321V0H1099V-665H358V0Z M2027 24Q1870 24 1757.5 -47Q1645 -118 1584.5 -242.5Q1524 -367 1524 -526Q1524 -688 1587 -812.5Q1650 -937 1761 -1008.5Q1872 -1080 2016 -1080Q2128 -1080 2218.5 -1040Q2309 -1000 2374 -926.5Q2439 -853 2474 -752Q2509 -651 2509 -528V-471H1619V-631H2398L2305 -582Q2305 -680 2270 -752.5Q2235 -825 2170.5 -864.5Q2106 -904 2018 -904Q1931 -904 1867 -864.5Q1803 -825 1767.5 -752.5Q1732 -680 1732 -582V-491Q1732 -391 1767 -314.5Q1802 -238 1868.5 -195Q1935 -152 2030 -152Q2099 -152 2152 -173.5Q2205 -195 2240 -233Q2275 -271 2290 -321H2493Q2474 -219 2408.5 -141.5Q2343 -64 2244.5 -20Q2146 24 2027 24Z M2538 0 2975 -605 2972 -474 2562 -1056H2803L2929 -868Q2971 -804 3010.5 -742Q3050 -680 3090 -617H3002Q3044 -680 3083.5 -742Q3123 -804 3166 -868L3294 -1056H3531L3117 -474L3119 -606L3549 0H3308L3161 -214Q3120 -276 3081.5 -335.5Q3043 -395 3003 -456H3087Q3047 -395 3007.5 -335.5Q2968 -276 2927 -214L2777 0Z M3994 17Q3889 17 3806.5 -19Q3724 -55 3676 -126Q3628 -197 3628 -302Q3628 -392 3662.5 -450Q3697 -508 3756 -542Q3815 -576 3890 -593.5Q3965 -611 4045 -620Q4145 -633 4202.5 -640.5Q4260 -648 4284.5 -664.5Q4309 -681 4309 -719V-728Q4309 -779 4284 -818.5Q4259 -858 4211 -881Q4163 -904 4096 -904Q4029 -904 3977.5 -882Q3926 -860 3895.5 -821.5Q3865 -783 3861 -734H3654Q3659 -835 3715 -912Q3771 -989 3869 -1033Q3967 -1077 4099 -1077Q4196 -1077 4274 -1052Q4352 -1027 4406.5 -980.5Q4461 -934 4489.5 -869Q4518 -804 4518 -724V0H4310V-150H4306Q4284 -107 4246 -69Q4208 -31 4146.5 -7Q4085 17 3994 17ZM4037 -153Q4130 -153 4190.5 -186.5Q4251 -220 4280.5 -275Q4310 -330 4310 -395V-519Q4299 -510 4274.5 -502.5Q4250 -495 4215 -488.5Q4180 -482 4139 -475Q4098 -468 4057 -463Q3999 -455 3949 -436.5Q3899 -418 3868.5 -385Q3838 -352 3838 -298Q3838 -253 3862 -220.5Q3886 -188 3931 -170.5Q3976 -153 4037 -153Z M5289 24Q5110 24 4981 -37Q4852 -98 4782 -212Q4712 -326 4712 -483H4934Q4935 -385 4977 -314.5Q5019 -244 5098.5 -207Q5178 -170 5289 -170Q5391 -170 5465.5 -199Q5540 -228 5582 -281.5Q5624 -335 5624 -408Q5624 -465 5595.5 -507.5Q5567 -550 5504.5 -582Q5442 -614 5338 -638L5175 -677Q4949 -730 4845.5 -827Q4742 -924 4742 -1079Q4742 -1210 4808 -1307.5Q4874 -1405 4994 -1459.5Q5114 -1514 5273 -1514Q5434 -1514 5552 -1457Q5670 -1400 5735.5 -1295Q5801 -1190 5806 -1044H5591Q5583 -1173 5497 -1246.5Q5411 -1320 5270 -1320Q5181 -1320 5111.5 -1290.5Q5042 -1261 5002.5 -1209.5Q4963 -1158 4963 -1090Q4963 -1036 4992 -996Q5021 -956 5083.5 -926Q5146 -896 5248 -871L5409 -833Q5521 -806 5603.5 -768Q5686 -730 5739.5 -679.5Q5793 -629 5819.5 -564.5Q5846 -500 5846 -420Q5846 -286 5777 -186Q5708 -86 5583 -31Q5458 24 5289 24Z M6054 418V240H6168Q6202 240 6226 227.5Q6250 215 6269.5 188Q6289 161 6305 119L6353 -7L5945 -1056H6171L6382 -477Q6411 -395 6438.5 -313.5Q6466 -232 6491 -150H6434Q6459 -232 6486.5 -313.5Q6514 -395 6543 -477L6751 -1056H6974L6494 185Q6464 262 6420 313.5Q6376 365 6318 391.5Q6260 418 6188 418Q6155 418 6121 418Q6087 418 6054 418Z M7328 -608V0H7117V-1056H7324V-794H7275Q7327 -936 7419.5 -1006.5Q7512 -1077 7643 -1077Q7752 -1077 7838.5 -1029.5Q7925 -982 7975 -889Q8025 -796 8025 -658V0H7814V-632Q7814 -759 7753.5 -823.5Q7693 -888 7583 -888Q7511 -888 7453.5 -859Q7396 -830 7362 -768Q7328 -706 7328 -608Z M8715 24Q8564 24 8451 -46Q8338 -116 8274.5 -240.5Q8211 -365 8211 -526Q8211 -689 8274.5 -814Q8338 -939 8451 -1009.5Q8564 -1080 8715 -1080Q8809 -1080 8889.5 -1051.5Q8970 -1023 9031 -971.5Q9092 -920 9129.5 -849.5Q9167 -779 9177 -695H8967Q8959 -740 8939 -777Q8919 -814 8887 -841Q8855 -868 8812.5 -883Q8770 -898 8716 -898Q8625 -898 8560 -852Q8495 -806 8460 -722.5Q8425 -639 8425 -526Q8425 -414 8460 -331.5Q8495 -249 8560 -203.5Q8625 -158 8716 -158Q8770 -158 8812 -172.5Q8854 -187 8884 -214Q8914 -241 8934 -278.5Q8954 -316 8964 -362H9177Q9168 -279 9130.5 -209Q9093 -139 9031.5 -86.5Q8970 -34 8889.5 -5Q8809 24 8715 24Z"/></svg>
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><path transform="translate(20.1 0)" fill="#FCB017" fill-rule="evenodd" d="M129.9 0L259.8 75L259.8 225L129.9 300L0 225L0 75ZM27.8 176.8L129.9 235.7L232 176.8L232 208.9L129.9 267.9L27.8 208.9ZM27.8 112.5L129.9 171.4L232 112.5L232 144.6L129.9 203.6L27.8 144.6ZM129.9 32.1L222.7 85.7L129.9 139.3L37.1 85.7Z"/></svg>
@@ -0,0 +1,93 @@
1
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ User-agent: *
2
+ Allow: /
3
+
4
+ Sitemap: https://beehexa.design/sitemap-index.xml
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "Beehexa",
3
+ "icons": [
4
+ {
5
+ "src": "/icon-192.png",
6
+ "type": "image/png",
7
+ "sizes": "192x192"
8
+ },
9
+ {
10
+ "src": "/icon-512.png",
11
+ "type": "image/png",
12
+ "sizes": "512x512"
13
+ },
14
+ {
15
+ "src": "/icon-maskable-512.png",
16
+ "type": "image/png",
17
+ "sizes": "512x512",
18
+ "purpose": "maskable"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,46 @@
1
+ // Which text, icon and border tokens may sit on which backgrounds, with the contrast each pair needs.
2
+ // One list for two readers: scripts/check-color-contrast.mjs checks every pair on every build, and the
3
+ // Color page (ColorDemo, kind "pairing") shows it as the pairing table. Add a pair here first, never
4
+ // only in a component.
5
+ // Names leave out the leading "color.". Minimums: text 4.5:1 (WCAG 2.2 SC 1.4.3); icons, control
6
+ // borders and the focus ring 3:1 (SC 1.4.11).
7
+
8
+ export const roles = ['danger', 'warning', 'success', 'info'];
9
+
10
+ const surfaces = ['surface', 'surface.page', 'surface.subtle'];
11
+ const neutralFills = [
12
+ 'background.neutral',
13
+ 'background.neutral.hover',
14
+ 'background.neutral.subtle.hover',
15
+ 'background.selected',
16
+ 'background.selected.hover',
17
+ ];
18
+
19
+ /** @type {Array<{ fg: string; on: string[]; min: number }>} */
20
+ export const pairs = [
21
+ // Neutral text and links: every surface, every neutral fill and the brand note.
22
+ ...['text', 'text.subtle', 'text.subtlest', 'link', 'link.hover'].map((fg) => ({ fg, on: [...surfaces, ...neutralFills, 'background.brand.subtle'], min: 4.5 })),
23
+ // Status text: the neutral places above, plus the light fills of its own role.
24
+ ...roles.map((r) => ({
25
+ fg: `text.${r}`,
26
+ on: [...surfaces, ...neutralFills, `background.${r}.subtle`, `background.${r}.subtle.hover`, `background.${r}.subtle.pressed`, `background.${r}`],
27
+ min: 4.5,
28
+ })),
29
+ // Solid fills carry their own text colour.
30
+ { fg: 'text.on-bold', on: roles.flatMap((r) => [`background.${r}.bold`, `background.${r}.bold.hover`, `background.${r}.bold.pressed`]), min: 4.5 },
31
+ { fg: 'text.inverse', on: ['background.neutral.bold', 'background.neutral.bold.hover', 'background.neutral.bold.pressed', 'surface.inverse'], min: 4.5 },
32
+ { fg: 'text.on-brand', on: ['background.brand.bold'], min: 4.5 },
33
+ { fg: 'code.text', on: ['code.background'], min: 4.5 },
34
+ // Icons: everywhere the matching text may go.
35
+ ...['icon', 'icon.subtle'].map((fg) => ({ fg, on: [...surfaces, ...neutralFills, 'background.brand.subtle'], min: 3 })),
36
+ ...roles.map((r) => ({
37
+ fg: `icon.${r}`,
38
+ on: [...surfaces, ...neutralFills, `background.${r}.subtle`, `background.${r}.subtle.hover`, `background.${r}.subtle.pressed`, `background.${r}`],
39
+ min: 3,
40
+ })),
41
+ { fg: 'icon.inverse', on: ['background.neutral.bold', 'background.neutral.bold.hover', 'background.neutral.bold.pressed', 'surface.inverse'], min: 3 },
42
+ { fg: 'icon.on-bold', on: roles.flatMap((r) => [`background.${r}.bold`, `background.${r}.bold.hover`, `background.${r}.bold.pressed`]), min: 3 },
43
+ // Control edges and the focus ring.
44
+ { fg: 'border.bold', on: [...surfaces, ...neutralFills], min: 3 },
45
+ { fg: 'border.focus', on: [...surfaces, ...neutralFills], min: 3 },
46
+ ];
@@ -0,0 +1,6 @@
1
+ // Colour pairs that are below WCAG 2.2 and accepted by a recorded decision. check-color-contrast.mjs
2
+ // reports them on every build but does not fail. Empty since 28/10/2026: every pair passes AA.
3
+ // Never add a pair here to silence a new failure without a recorded decision.
4
+
5
+ /** @type {Array<{ theme: 'light' | 'dark'; fg: string; bg: string }>} */
6
+ export const exceptions = [];
@@ -0,0 +1,26 @@
1
+ export interface FlatToken {
2
+ name: string;
3
+ path: string[];
4
+ type: string;
5
+ value: string;
6
+ description: string;
7
+ dark?: string;
8
+ vi?: string;
9
+ }
10
+ export type TokenMode = 'light' | 'dark' | 'vi' | 'darkVi';
11
+ export interface TokenInfo extends FlatToken {
12
+ cssVar: string;
13
+ resolved: string;
14
+ darkResolved: string;
15
+ viResolved: string;
16
+ }
17
+ export function flattenTokens(tree: Record<string, unknown>, path?: string[], inheritedType?: string): FlatToken[];
18
+ export function cssVarName(tokenName: string): string;
19
+ export function toCssValue(value: string): string;
20
+ export function resolveValue(value: string, byName: Map<string, FlatToken>, seen?: Set<string>, mode?: TokenMode): string;
21
+ export function createTokenModel(tokens: FlatToken[]): {
22
+ flatTokens: FlatToken[];
23
+ tokens: { light: Record<string, string>; dark: Record<string, string>; vi: Record<string, string> };
24
+ tokenInfo: Record<string, TokenInfo>;
25
+ };
26
+ export function renderTokenCss(tokens: FlatToken[], options?: { pixels?: boolean }): string;
@@ -0,0 +1,114 @@
1
+ // Shared by the website, its generator, and the installable token package.
2
+ const PREFIX = 'bh';
3
+
4
+ /** Flatten the source DTCG tree, including group $root tokens. */
5
+ export function flattenTokens(tree, path = [], inheritedType) {
6
+ const tokens = [];
7
+ const groupType = tree.$type ?? inheritedType;
8
+ for (const [key, node] of Object.entries(tree)) {
9
+ if (key.startsWith('$') && key !== '$root') continue;
10
+ const nodePath = key === '$root' ? path : [...path, key];
11
+ if (node && typeof node === 'object' && '$value' in node) {
12
+ tokens.push({
13
+ name: nodePath.join('.'),
14
+ path: nodePath,
15
+ type: node.$type ?? groupType,
16
+ value: String(node.$value),
17
+ description: node.$description ?? '',
18
+ dark: node.$extensions?.['design.beehexa']?.dark,
19
+ vi: node.$extensions?.['design.beehexa']?.vi,
20
+ });
21
+ } else if (node && typeof node === 'object') {
22
+ tokens.push(...flattenTokens(node, nodePath, groupType));
23
+ }
24
+ }
25
+ return tokens;
26
+ }
27
+
28
+ export function cssVarName(tokenName) {
29
+ return `--${PREFIX}-${tokenName.replaceAll('.', '-')}`;
30
+ }
31
+
32
+ export function toCssValue(value) {
33
+ return value.replace(/\{([^}]+)\}/g, (_, ref) => `var(${cssVarName(ref)})`);
34
+ }
35
+
36
+ /** Resolve aliases in the selected mode; retained for website consumers. */
37
+ export function resolveValue(value, byName, seen = new Set(), mode = 'light') {
38
+ return value.replace(/\{([^}]+)\}/g, (_, ref) => {
39
+ if (seen.has(ref)) throw new Error(`Circular token reference (${mode}): ${[...seen, ref].join(' -> ')}`);
40
+ const target = byName.get(ref);
41
+ if (!target) throw new Error(`Unknown token reference (${mode}): {${ref}}`);
42
+ return resolveValue(valueForMode(target, mode), byName, new Set([...seen, ref]), mode);
43
+ });
44
+ }
45
+
46
+ function valueForMode(token, mode) {
47
+ if ((mode === 'vi' || mode === 'darkVi') && token.vi !== undefined) return token.vi;
48
+ if ((mode === 'dark' || mode === 'darkVi') && token.dark !== undefined) return token.dark;
49
+ return token.value;
50
+ }
51
+
52
+ /** Validate every mode's graph, and resolve even indirect mode differences. */
53
+ export function createTokenModel(flatTokens) {
54
+ const byName = new Map();
55
+ const cssNames = new Set();
56
+ for (const token of flatTokens) {
57
+ if (byName.has(token.name)) throw new Error(`Duplicate token: ${token.name}`);
58
+ const cssName = cssVarName(token.name);
59
+ if (cssNames.has(cssName)) throw new Error(`Duplicate CSS token name: ${cssName}`);
60
+ byName.set(token.name, token);
61
+ cssNames.add(cssName);
62
+ }
63
+ const resolved = {};
64
+ for (const mode of ['light', 'dark', 'vi', 'darkVi']) {
65
+ const cache = new Map();
66
+ const visiting = new Set();
67
+ const resolve = (name) => {
68
+ if (cache.has(name)) return cache.get(name);
69
+ if (visiting.has(name)) throw new Error(`Circular token reference (${mode}): ${[...visiting, name].join(' -> ')}`);
70
+ const token = byName.get(name);
71
+ if (!token) throw new Error(`Unknown token reference (${mode}): {${name}}`);
72
+ visiting.add(name);
73
+ const value = valueForMode(token, mode).replace(/\{([^}]+)\}/g, (_, ref) => resolve(ref));
74
+ visiting.delete(name);
75
+ cache.set(name, value);
76
+ return value;
77
+ };
78
+ resolved[mode] = Object.fromEntries(flatTokens.map(({ name }) => [name, resolve(name)]));
79
+ }
80
+ const delta = (mode) => Object.fromEntries(
81
+ Object.entries(resolved[mode]).filter(([name, value]) => value !== resolved.light[name]),
82
+ );
83
+ const tokens = { light: resolved.light, dark: delta('dark'), vi: delta('vi') };
84
+ const tokenInfo = Object.fromEntries(flatTokens.map((token) => [token.name, {
85
+ ...token,
86
+ cssVar: cssVarName(token.name),
87
+ resolved: resolved.light[token.name],
88
+ darkResolved: resolved.dark[token.name],
89
+ viResolved: resolved.vi[token.name],
90
+ }]));
91
+ return { flatTokens, tokens, tokenInfo };
92
+ }
93
+
94
+ /** Same selectors and alias-preserving declarations for site and packages. */
95
+ export function renderTokenCss(flatTokens, { pixels = false } = {}) {
96
+ const units = (value) => pixels
97
+ ? value.replace(/(-?(?:\d*\.)?\d+)rem\b/g, (_, number) => `${Number(number) * 16}px`)
98
+ : value;
99
+ const decl = (token, value) => ` ${cssVarName(token.name)}: ${units(toCssValue(value))};`;
100
+ const light = flatTokens.map((token) => decl(token, token.value));
101
+ const dark = flatTokens.filter((token) => token.dark !== undefined).map((token) => decl(token, token.dark));
102
+ const viTokens = flatTokens.filter((token) => token.vi !== undefined);
103
+ const vi = viTokens.map((token) => decl(token, token.vi));
104
+ const reset = viTokens.map((token) => decl(token, token.value));
105
+ return [
106
+ '/* Generated from beehexa.design tokens/*.json. Do not edit by hand. */',
107
+ `:root {\n${light.join('\n')}\n}`,
108
+ `:root[data-theme='dark'] {\n${dark.join('\n')}\n}`,
109
+ `@media (prefers-color-scheme: dark) {\n :root:not([data-theme='light']) {\n${dark.map((line) => ` ${line}`).join('\n')}\n }\n}`,
110
+ `:lang(vi) {\n${vi.join('\n')}\n}`,
111
+ `[lang]:not(:lang(vi)) {\n${reset.join('\n')}\n}`,
112
+ '',
113
+ ].join('\n');
114
+ }