@roxyapi/ui 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/AGENTS.md +21 -1
  2. package/README.md +43 -1
  3. package/THEMING.md +32 -13
  4. package/components-catalog.json +1 -11247
  5. package/dist/cdn/components/almanac-day.js +3 -4
  6. package/dist/cdn/components/angel-number-card.js +3 -4
  7. package/dist/cdn/components/angel-number-lookup.js +3 -4
  8. package/dist/cdn/components/arudha-padas.js +3 -4
  9. package/dist/cdn/components/ashtakavarga-grid.js +3 -4
  10. package/dist/cdn/components/aspects-table.js +3 -4
  11. package/dist/cdn/components/astrocartography-map.js +9 -10
  12. package/dist/cdn/components/bazi-chart.js +3 -4
  13. package/dist/cdn/components/bhav-chalit-table.js +3 -4
  14. package/dist/cdn/components/bhava-bala-table.js +3 -4
  15. package/dist/cdn/components/biorhythm-chart.js +3 -4
  16. package/dist/cdn/components/bodygraph.js +14 -13
  17. package/dist/cdn/components/chara-karakas.js +3 -4
  18. package/dist/cdn/components/choghadiya-grid.js +3 -4
  19. package/dist/cdn/components/compatibility-card.js +3 -4
  20. package/dist/cdn/components/compound-number.js +3 -4
  21. package/dist/cdn/components/crystal-card.js +3 -4
  22. package/dist/cdn/components/crystal-grid.js +3 -4
  23. package/dist/cdn/components/dasha-timeline.js +3 -4
  24. package/dist/cdn/components/data.js +3 -4
  25. package/dist/cdn/components/divisional-chart.js +50 -49
  26. package/dist/cdn/components/dosha-card.js +3 -4
  27. package/dist/cdn/components/dosha-constitution.js +3 -4
  28. package/dist/cdn/components/dream-card.js +3 -4
  29. package/dist/cdn/components/dream-search.js +3 -4
  30. package/dist/cdn/components/endpoint-form.js +3 -4
  31. package/dist/cdn/components/ephemeris-table.js +3 -4
  32. package/dist/cdn/components/fixed-stars.js +3 -4
  33. package/dist/cdn/components/flying-star-chart.js +3 -4
  34. package/dist/cdn/components/forecast-digest.js +3 -4
  35. package/dist/cdn/components/forecast-timeline.js +3 -4
  36. package/dist/cdn/components/gematria.js +3 -4
  37. package/dist/cdn/components/gochara-table.js +3 -4
  38. package/dist/cdn/components/guna-milan.js +3 -4
  39. package/dist/cdn/components/hd-connection.js +13 -12
  40. package/dist/cdn/components/hd-penta.js +16 -17
  41. package/dist/cdn/components/hd-type-card.js +3 -4
  42. package/dist/cdn/components/hd-variables.js +3 -4
  43. package/dist/cdn/components/heliacal-table.js +3 -4
  44. package/dist/cdn/components/hexagram.js +3 -4
  45. package/dist/cdn/components/hora-table.js +3 -4
  46. package/dist/cdn/components/horoscope-card.js +3 -4
  47. package/dist/cdn/components/kp-chart.js +3 -4
  48. package/dist/cdn/components/kp-finance-card.js +3 -4
  49. package/dist/cdn/components/kp-planets-table.js +3 -4
  50. package/dist/cdn/components/kp-ruling-planets.js +3 -4
  51. package/dist/cdn/components/kua-card.js +3 -4
  52. package/dist/cdn/components/local-space-compass.js +6 -7
  53. package/dist/cdn/components/location-search.js +3 -4
  54. package/dist/cdn/components/luck-pillars.js +3 -4
  55. package/dist/cdn/components/mayan-day-sign.js +3 -4
  56. package/dist/cdn/components/moon-phase.js +3 -4
  57. package/dist/cdn/components/nakshatra-card.js +3 -4
  58. package/dist/cdn/components/natal-chart.js +24 -14
  59. package/dist/cdn/components/numerology-card.js +3 -4
  60. package/dist/cdn/components/panchang-table.js +3 -4
  61. package/dist/cdn/components/positions-table.js +3 -4
  62. package/dist/cdn/components/profection-card.js +3 -4
  63. package/dist/cdn/components/reference-card.js +3 -4
  64. package/dist/cdn/components/relocation-wheel.js +24 -14
  65. package/dist/cdn/components/shadbala-table.js +3 -4
  66. package/dist/cdn/components/synastry-chart.js +21 -12
  67. package/dist/cdn/components/tarot-card.js +3 -4
  68. package/dist/cdn/components/tarot-catalog.js +3 -4
  69. package/dist/cdn/components/tarot-spread.js +3 -4
  70. package/dist/cdn/components/transit-wheel.js +10 -11
  71. package/dist/cdn/components/transits-table.js +3 -4
  72. package/dist/cdn/components/upagraha-table.js +3 -4
  73. package/dist/cdn/components/vastu-mandala.js +10 -11
  74. package/dist/cdn/components/vedic-aspects.js +3 -4
  75. package/dist/cdn/components/vedic-daily.js +3 -4
  76. package/dist/cdn/components/vedic-kundli.js +62 -61
  77. package/dist/cdn/components/vedic-planets-table.js +3 -4
  78. package/dist/cdn/components/western-planets-table.js +3 -4
  79. package/dist/cdn/components/yoga-list.js +3 -4
  80. package/dist/cdn/components/zodiac-card.js +3 -4
  81. package/dist/cdn/locales/de.js +1 -1
  82. package/dist/cdn/locales/es.js +1 -1
  83. package/dist/cdn/locales/fr.js +1 -1
  84. package/dist/cdn/locales/hi.js +1 -1
  85. package/dist/cdn/locales/pt.js +1 -1
  86. package/dist/cdn/locales/ru.js +1 -1
  87. package/dist/cdn/locales/tr.js +1 -1
  88. package/dist/cdn/roxy-ui.js +113 -96
  89. package/dist/cdn/widgets.js +1 -1
  90. package/dist/charts.cjs +111 -0
  91. package/dist/charts.d.ts +8 -0
  92. package/dist/charts.js +111 -0
  93. package/dist/components/almanac-day.js +1 -1
  94. package/dist/components/angel-number-card.js +1 -1
  95. package/dist/components/angel-number-lookup.js +1 -1
  96. package/dist/components/arudha-padas.js +1 -1
  97. package/dist/components/ashtakavarga-grid.js +1 -1
  98. package/dist/components/aspects-table.js +1 -1
  99. package/dist/components/astrocartography-map.js +5 -5
  100. package/dist/components/bazi-chart.js +1 -1
  101. package/dist/components/bhav-chalit-table.js +1 -1
  102. package/dist/components/bhava-bala-table.js +1 -1
  103. package/dist/components/biorhythm-chart.js +1 -1
  104. package/dist/components/bodygraph.d.ts +0 -4
  105. package/dist/components/bodygraph.js +10 -10
  106. package/dist/components/chara-karakas.js +1 -1
  107. package/dist/components/choghadiya-grid.js +1 -1
  108. package/dist/components/compatibility-card.js +1 -1
  109. package/dist/components/compound-number.js +1 -1
  110. package/dist/components/crystal-card.js +1 -1
  111. package/dist/components/crystal-grid.js +1 -1
  112. package/dist/components/dasha-timeline.js +1 -1
  113. package/dist/components/data.js +1 -1
  114. package/dist/components/divisional-chart.js +60 -60
  115. package/dist/components/dosha-card.js +1 -1
  116. package/dist/components/dosha-constitution.js +1 -1
  117. package/dist/components/dream-card.js +1 -1
  118. package/dist/components/dream-search.js +1 -1
  119. package/dist/components/endpoint-form.d.ts +3 -1
  120. package/dist/components/endpoint-form.js +1 -1
  121. package/dist/components/ephemeris-table.js +1 -1
  122. package/dist/components/fixed-stars.js +1 -1
  123. package/dist/components/flying-star-chart.js +1 -1
  124. package/dist/components/forecast-digest.js +1 -1
  125. package/dist/components/forecast-timeline.js +1 -1
  126. package/dist/components/gematria.js +1 -1
  127. package/dist/components/gochara-table.js +1 -1
  128. package/dist/components/guna-milan.js +1 -1
  129. package/dist/components/hd-connection.js +10 -10
  130. package/dist/components/hd-penta.js +16 -16
  131. package/dist/components/hd-type-card.js +1 -1
  132. package/dist/components/hd-variables.js +1 -1
  133. package/dist/components/heliacal-table.js +1 -1
  134. package/dist/components/hexagram.js +1 -1
  135. package/dist/components/hora-table.js +1 -1
  136. package/dist/components/horoscope-card.js +1 -1
  137. package/dist/components/kp-chart.js +1 -1
  138. package/dist/components/kp-finance-card.js +1 -1
  139. package/dist/components/kp-planets-table.js +1 -1
  140. package/dist/components/kp-ruling-planets.js +1 -1
  141. package/dist/components/kua-card.js +1 -1
  142. package/dist/components/local-space-compass.js +5 -5
  143. package/dist/components/location-search.d.ts +1 -0
  144. package/dist/components/location-search.js +1 -1
  145. package/dist/components/luck-pillars.js +1 -1
  146. package/dist/components/mayan-day-sign.js +1 -1
  147. package/dist/components/moon-phase.js +1 -1
  148. package/dist/components/nakshatra-card.js +1 -1
  149. package/dist/components/natal-chart.d.ts +3 -82
  150. package/dist/components/natal-chart.js +20 -11
  151. package/dist/components/numerology-card.js +1 -1
  152. package/dist/components/panchang-table.js +1 -1
  153. package/dist/components/positions-table.js +1 -1
  154. package/dist/components/profection-card.js +1 -1
  155. package/dist/components/reference-card.js +1 -1
  156. package/dist/components/relocation-wheel.js +20 -11
  157. package/dist/components/shadbala-table.js +1 -1
  158. package/dist/components/synastry-chart.d.ts +2 -34
  159. package/dist/components/synastry-chart.js +17 -9
  160. package/dist/components/tarot-card.js +1 -1
  161. package/dist/components/tarot-catalog.js +1 -1
  162. package/dist/components/tarot-spread.js +1 -1
  163. package/dist/components/transit-wheel.js +7 -7
  164. package/dist/components/transits-table.js +1 -1
  165. package/dist/components/upagraha-table.js +1 -1
  166. package/dist/components/vastu-mandala.js +9 -9
  167. package/dist/components/vedic-aspects.js +1 -1
  168. package/dist/components/vedic-daily.js +1 -1
  169. package/dist/components/vedic-kundli.js +54 -54
  170. package/dist/components/vedic-planets-table.js +1 -1
  171. package/dist/components/western-planets-table.js +1 -1
  172. package/dist/components/yoga-list.js +1 -1
  173. package/dist/components/zodiac-card.js +1 -1
  174. package/dist/forms/labels/de.json +1 -1
  175. package/dist/forms/labels/en.json +1 -1
  176. package/dist/forms/labels/es.json +1 -1
  177. package/dist/forms/labels/fr.json +1 -1
  178. package/dist/forms/labels/hi.json +1 -1
  179. package/dist/forms/labels/pt.json +1 -1
  180. package/dist/forms/labels/ru.json +1 -1
  181. package/dist/forms/labels/tr.json +1 -1
  182. package/dist/forms.json +1 -1
  183. package/dist/generated/field-labels-en.d.ts +1 -1
  184. package/dist/i18n/chrome-strings.d.ts +1 -1
  185. package/dist/i18n/lang.d.ts +3 -1
  186. package/dist/i18n/localized-element.d.ts +4 -0
  187. package/dist/i18n/registry.d.ts +7 -0
  188. package/dist/index.cjs +111 -94
  189. package/dist/index.js +110 -93
  190. package/dist/locales/de.js +1 -1
  191. package/dist/locales/es.js +1 -1
  192. package/dist/locales/field-labels/de.d.ts +1 -1
  193. package/dist/locales/field-labels/es.d.ts +1 -1
  194. package/dist/locales/field-labels/fr.d.ts +1 -1
  195. package/dist/locales/field-labels/hi.d.ts +1 -1
  196. package/dist/locales/field-labels/pt.d.ts +1 -1
  197. package/dist/locales/field-labels/ru.d.ts +1 -1
  198. package/dist/locales/field-labels/tr.d.ts +1 -1
  199. package/dist/locales/fr.js +1 -1
  200. package/dist/locales/hi.js +1 -1
  201. package/dist/locales/pt.js +1 -1
  202. package/dist/locales/ru.js +1 -1
  203. package/dist/locales/tr.js +1 -1
  204. package/dist/manifest.d.ts +3 -5
  205. package/dist/manifest.json +1 -89
  206. package/dist/schemas/get--angel-numbers-lookup.json +1 -1
  207. package/dist/schemas/get--angel-numbers-numbers-number.json +1 -1
  208. package/dist/schemas/get--angel-numbers-numbers.json +1 -1
  209. package/dist/schemas/get--astrology-horoscope-sign-daily.json +1 -1
  210. package/dist/schemas/get--astrology-horoscope-sign-monthly.json +1 -1
  211. package/dist/schemas/get--astrology-horoscope-sign-weekly.json +1 -1
  212. package/dist/schemas/get--astrology-horoscope-sign-yearly.json +1 -1
  213. package/dist/schemas/get--astrology-moon-phase-calendar-year-month.json +1 -1
  214. package/dist/schemas/get--astrology-moon-phase-current.json +1 -1
  215. package/dist/schemas/get--astrology-moon-phase-upcoming.json +1 -1
  216. package/dist/schemas/get--astrology-planet-meanings-id.json +1 -1
  217. package/dist/schemas/get--astrology-planet-meanings.json +1 -1
  218. package/dist/schemas/get--astrology-signs-id.json +1 -1
  219. package/dist/schemas/get--astrology-signs.json +1 -1
  220. package/dist/schemas/get--ayurveda-daily.json +1 -1
  221. package/dist/schemas/get--ayurveda-doshas-id.json +1 -1
  222. package/dist/schemas/get--ayurveda-doshas.json +1 -1
  223. package/dist/schemas/get--ayurveda-qualities.json +1 -1
  224. package/dist/schemas/get--ayurveda-tastes.json +1 -1
  225. package/dist/schemas/get--chinese-astrology-calendar-day-date.json +1 -1
  226. package/dist/schemas/get--chinese-astrology-calendar-monthly.json +1 -1
  227. package/dist/schemas/get--chinese-astrology-calendar-solar-terms-year.json +1 -1
  228. package/dist/schemas/get--chinese-astrology-elements.json +1 -1
  229. package/dist/schemas/get--chinese-astrology-zodiac-animals-id.json +1 -1
  230. package/dist/schemas/get--chinese-astrology-zodiac-animals.json +1 -1
  231. package/dist/schemas/get--chinese-astrology-zodiac-compatibility-sign1-sign2.json +1 -1
  232. package/dist/schemas/get--chinese-astrology-zodiac-id-daily.json +1 -1
  233. package/dist/schemas/get--crystals-birthstone-month.json +1 -1
  234. package/dist/schemas/get--crystals-chakra-chakra.json +1 -1
  235. package/dist/schemas/get--crystals-colors.json +1 -1
  236. package/dist/schemas/get--crystals-element-element.json +1 -1
  237. package/dist/schemas/get--crystals-id.json +1 -1
  238. package/dist/schemas/get--crystals-pairings-id.json +1 -1
  239. package/dist/schemas/get--crystals-planets.json +1 -1
  240. package/dist/schemas/get--crystals-random.json +1 -1
  241. package/dist/schemas/get--crystals-search.json +1 -1
  242. package/dist/schemas/get--crystals-zodiac-sign.json +1 -1
  243. package/dist/schemas/get--crystals.json +1 -1
  244. package/dist/schemas/get--dreams-symbols-id.json +1 -1
  245. package/dist/schemas/get--dreams-symbols-letters.json +1 -1
  246. package/dist/schemas/get--dreams-symbols-random.json +1 -1
  247. package/dist/schemas/get--dreams-symbols.json +1 -1
  248. package/dist/schemas/get--feng-shui-afflictions-year.json +1 -1
  249. package/dist/schemas/get--feng-shui-bagua-id.json +1 -1
  250. package/dist/schemas/get--feng-shui-bagua.json +1 -1
  251. package/dist/schemas/get--feng-shui-flying-stars-annual-year.json +1 -1
  252. package/dist/schemas/get--feng-shui-flying-stars-monthly.json +1 -1
  253. package/dist/schemas/get--feng-shui-flying-stars-stars.json +1 -1
  254. package/dist/schemas/get--feng-shui-kua-number.json +1 -1
  255. package/dist/schemas/get--feng-shui-periods.json +1 -1
  256. package/dist/schemas/get--human-design-centers-id.json +1 -1
  257. package/dist/schemas/get--human-design-gates-number.json +1 -1
  258. package/dist/schemas/get--iching-cast.json +1 -1
  259. package/dist/schemas/get--iching-hexagrams-lookup.json +1 -1
  260. package/dist/schemas/get--iching-hexagrams-number.json +1 -1
  261. package/dist/schemas/get--iching-hexagrams-random.json +1 -1
  262. package/dist/schemas/get--iching-hexagrams.json +1 -1
  263. package/dist/schemas/get--iching-trigrams-id.json +1 -1
  264. package/dist/schemas/get--iching-trigrams.json +1 -1
  265. package/dist/schemas/get--kabbalah-ciphers.json +1 -1
  266. package/dist/schemas/get--kabbalah-daily.json +1 -1
  267. package/dist/schemas/get--kabbalah-letters-id.json +1 -1
  268. package/dist/schemas/get--kabbalah-letters.json +1 -1
  269. package/dist/schemas/get--kabbalah-names-number.json +1 -1
  270. package/dist/schemas/get--kabbalah-names.json +1 -1
  271. package/dist/schemas/get--kabbalah-sephirot-id.json +1 -1
  272. package/dist/schemas/get--kabbalah-tree.json +1 -1
  273. package/dist/schemas/get--languages-field-labels.json +1 -1
  274. package/dist/schemas/get--languages.json +1 -1
  275. package/dist/schemas/get--location-countries-iso2.json +1 -1
  276. package/dist/schemas/get--location-countries.json +1 -1
  277. package/dist/schemas/get--location-search.json +1 -1
  278. package/dist/schemas/get--mesoamerican-astrology-aztec-daily.json +1 -1
  279. package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs-id.json +1 -1
  280. package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs.json +1 -1
  281. package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas-number.json +1 -1
  282. package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas.json +1 -1
  283. package/dist/schemas/get--mesoamerican-astrology-mayan-calendar-monthly.json +1 -1
  284. package/dist/schemas/get--mesoamerican-astrology-mayan-daily.json +1 -1
  285. package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs-id.json +1 -1
  286. package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs.json +1 -1
  287. package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months-id.json +1 -1
  288. package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months.json +1 -1
  289. package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas-number.json +1 -1
  290. package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas.json +1 -1
  291. package/dist/schemas/get--numerology-compound-number-number.json +1 -1
  292. package/dist/schemas/get--numerology-meanings-number.json +1 -1
  293. package/dist/schemas/get--tarot-cards-id.json +1 -1
  294. package/dist/schemas/get--tarot-cards.json +1 -1
  295. package/dist/schemas/get--usage.json +1 -1
  296. package/dist/schemas/get--vastu-devatas-id.json +1 -1
  297. package/dist/schemas/get--vastu-devatas.json +1 -1
  298. package/dist/schemas/get--vastu-directions-id.json +1 -1
  299. package/dist/schemas/get--vastu-directions.json +1 -1
  300. package/dist/schemas/get--vedic-astrology-avasthas-id.json +1 -1
  301. package/dist/schemas/get--vedic-astrology-avasthas.json +1 -1
  302. package/dist/schemas/get--vedic-astrology-kp-ayanamsa.json +1 -1
  303. package/dist/schemas/get--vedic-astrology-nakshatras-id.json +1 -1
  304. package/dist/schemas/get--vedic-astrology-nakshatras.json +1 -1
  305. package/dist/schemas/get--vedic-astrology-rashis-id.json +1 -1
  306. package/dist/schemas/get--vedic-astrology-rashis.json +1 -1
  307. package/dist/schemas/get--vedic-astrology-yoga-id.json +1 -1
  308. package/dist/schemas/get--vedic-astrology-yoga.json +1 -1
  309. package/dist/schemas/post--angel-numbers-daily.json +1 -1
  310. package/dist/schemas/post--astrology-arabic-lots.json +1 -1
  311. package/dist/schemas/post--astrology-aspect-patterns.json +1 -1
  312. package/dist/schemas/post--astrology-aspects-monthly.json +1 -1
  313. package/dist/schemas/post--astrology-aspects.json +1 -1
  314. package/dist/schemas/post--astrology-asteroids.json +1 -1
  315. package/dist/schemas/post--astrology-astrocartography.json +1 -1
  316. package/dist/schemas/post--astrology-compatibility-score.json +1 -1
  317. package/dist/schemas/post--astrology-composite-chart.json +1 -1
  318. package/dist/schemas/post--astrology-ecliptic-crossings.json +1 -1
  319. package/dist/schemas/post--astrology-fixed-stars.json +1 -1
  320. package/dist/schemas/post--astrology-houses.json +1 -1
  321. package/dist/schemas/post--astrology-lilith.json +1 -1
  322. package/dist/schemas/post--astrology-local-space.json +1 -1
  323. package/dist/schemas/post--astrology-lunar-return.json +1 -1
  324. package/dist/schemas/post--astrology-natal-chart.json +1 -1
  325. package/dist/schemas/post--astrology-parallels-monthly.json +1 -1
  326. package/dist/schemas/post--astrology-planetary-returns.json +1 -1
  327. package/dist/schemas/post--astrology-planets-monthly.json +1 -1
  328. package/dist/schemas/post--astrology-planets.json +1 -1
  329. package/dist/schemas/post--astrology-profections.json +1 -1
  330. package/dist/schemas/post--astrology-progressions.json +1 -1
  331. package/dist/schemas/post--astrology-relocation-chart.json +1 -1
  332. package/dist/schemas/post--astrology-solar-arc.json +1 -1
  333. package/dist/schemas/post--astrology-solar-return.json +1 -1
  334. package/dist/schemas/post--astrology-synastry.json +1 -1
  335. package/dist/schemas/post--astrology-transit-aspects.json +1 -1
  336. package/dist/schemas/post--astrology-transits-monthly.json +1 -1
  337. package/dist/schemas/post--astrology-transits.json +1 -1
  338. package/dist/schemas/post--ayurveda-constitution.json +1 -1
  339. package/dist/schemas/post--ayurveda-dinacharya.json +1 -1
  340. package/dist/schemas/post--ayurveda-ritucharya.json +1 -1
  341. package/dist/schemas/post--biorhythm-compatibility.json +1 -1
  342. package/dist/schemas/post--biorhythm-critical-days.json +1 -1
  343. package/dist/schemas/post--biorhythm-daily.json +1 -1
  344. package/dist/schemas/post--biorhythm-forecast.json +1 -1
  345. package/dist/schemas/post--biorhythm-phases.json +1 -1
  346. package/dist/schemas/post--biorhythm-reading.json +1 -1
  347. package/dist/schemas/post--chinese-astrology-bazi-annual-forecast.json +1 -1
  348. package/dist/schemas/post--chinese-astrology-bazi-chart.json +1 -1
  349. package/dist/schemas/post--chinese-astrology-bazi-compatibility.json +1 -1
  350. package/dist/schemas/post--chinese-astrology-bazi-day-master.json +1 -1
  351. package/dist/schemas/post--chinese-astrology-bazi-luck-pillars.json +1 -1
  352. package/dist/schemas/post--chinese-astrology-calendar-auspicious-days.json +1 -1
  353. package/dist/schemas/post--chinese-astrology-calendar-lunar-date.json +1 -1
  354. package/dist/schemas/post--chinese-astrology-zodiac-sign.json +1 -1
  355. package/dist/schemas/post--crystals-daily.json +1 -1
  356. package/dist/schemas/post--dreams-daily.json +1 -1
  357. package/dist/schemas/post--feng-shui-eight-mansions.json +1 -1
  358. package/dist/schemas/post--feng-shui-flying-stars-natal.json +1 -1
  359. package/dist/schemas/post--feng-shui-kua.json +1 -1
  360. package/dist/schemas/post--forecast-digest.json +1 -1
  361. package/dist/schemas/post--forecast-significant-dates.json +1 -1
  362. package/dist/schemas/post--forecast-solar-return.json +1 -1
  363. package/dist/schemas/post--forecast-timeline.json +1 -1
  364. package/dist/schemas/post--forecast-transits.json +1 -1
  365. package/dist/schemas/post--human-design-bodygraph.json +1 -1
  366. package/dist/schemas/post--human-design-centers.json +1 -1
  367. package/dist/schemas/post--human-design-channels.json +1 -1
  368. package/dist/schemas/post--human-design-connection.json +1 -1
  369. package/dist/schemas/post--human-design-gates.json +1 -1
  370. package/dist/schemas/post--human-design-penta.json +1 -1
  371. package/dist/schemas/post--human-design-profile.json +1 -1
  372. package/dist/schemas/post--human-design-transit.json +1 -1
  373. package/dist/schemas/post--human-design-type.json +1 -1
  374. package/dist/schemas/post--human-design-variables.json +1 -1
  375. package/dist/schemas/post--iching-daily-cast.json +1 -1
  376. package/dist/schemas/post--iching-daily.json +1 -1
  377. package/dist/schemas/post--kabbalah-birth-profile.json +1 -1
  378. package/dist/schemas/post--kabbalah-compatibility.json +1 -1
  379. package/dist/schemas/post--kabbalah-gematria.json +1 -1
  380. package/dist/schemas/post--kabbalah-name-profile.json +1 -1
  381. package/dist/schemas/post--mesoamerican-astrology-aztec-tonalpohualli.json +1 -1
  382. package/dist/schemas/post--mesoamerican-astrology-mayan-chart.json +1 -1
  383. package/dist/schemas/post--mesoamerican-astrology-mayan-compatibility.json +1 -1
  384. package/dist/schemas/post--mesoamerican-astrology-mayan-long-count-convert.json +1 -1
  385. package/dist/schemas/post--mesoamerican-astrology-mayan-tzolkin.json +1 -1
  386. package/dist/schemas/post--numerology-birth-day.json +1 -1
  387. package/dist/schemas/post--numerology-bridge.json +1 -1
  388. package/dist/schemas/post--numerology-business-name.json +1 -1
  389. package/dist/schemas/post--numerology-chaldean.json +1 -1
  390. package/dist/schemas/post--numerology-chart.json +1 -1
  391. package/dist/schemas/post--numerology-compatibility.json +1 -1
  392. package/dist/schemas/post--numerology-daily.json +1 -1
  393. package/dist/schemas/post--numerology-dual.json +1 -1
  394. package/dist/schemas/post--numerology-expression.json +1 -1
  395. package/dist/schemas/post--numerology-karmic-debt.json +1 -1
  396. package/dist/schemas/post--numerology-karmic-lessons.json +1 -1
  397. package/dist/schemas/post--numerology-life-path.json +1 -1
  398. package/dist/schemas/post--numerology-maturity.json +1 -1
  399. package/dist/schemas/post--numerology-personal-day.json +1 -1
  400. package/dist/schemas/post--numerology-personal-month.json +1 -1
  401. package/dist/schemas/post--numerology-personal-year.json +1 -1
  402. package/dist/schemas/post--numerology-personality.json +1 -1
  403. package/dist/schemas/post--numerology-soul-urge.json +1 -1
  404. package/dist/schemas/post--tarot-daily.json +1 -1
  405. package/dist/schemas/post--tarot-draw.json +1 -1
  406. package/dist/schemas/post--tarot-spreads-career.json +1 -1
  407. package/dist/schemas/post--tarot-spreads-celtic-cross.json +1 -1
  408. package/dist/schemas/post--tarot-spreads-custom.json +1 -1
  409. package/dist/schemas/post--tarot-spreads-love.json +1 -1
  410. package/dist/schemas/post--tarot-spreads-three-card.json +1 -1
  411. package/dist/schemas/post--tarot-yes-no.json +1 -1
  412. package/dist/schemas/post--vastu-ayadi.json +1 -1
  413. package/dist/schemas/post--vastu-entrance.json +1 -1
  414. package/dist/schemas/post--vastu-mandala.json +1 -1
  415. package/dist/schemas/post--vastu-plot.json +1 -1
  416. package/dist/schemas/post--vastu-rooms.json +1 -1
  417. package/dist/schemas/post--vastu-timing-griha-pravesh.json +1 -1
  418. package/dist/schemas/post--vedic-astrology-arudha.json +1 -1
  419. package/dist/schemas/post--vedic-astrology-ashtakavarga.json +1 -1
  420. package/dist/schemas/post--vedic-astrology-aspects-lunar.json +1 -1
  421. package/dist/schemas/post--vedic-astrology-aspects-monthly.json +1 -1
  422. package/dist/schemas/post--vedic-astrology-aspects.json +1 -1
  423. package/dist/schemas/post--vedic-astrology-bhav-chalit.json +1 -1
  424. package/dist/schemas/post--vedic-astrology-bhava-bala.json +1 -1
  425. package/dist/schemas/post--vedic-astrology-birth-chart.json +1 -1
  426. package/dist/schemas/post--vedic-astrology-chara-karakas.json +1 -1
  427. package/dist/schemas/post--vedic-astrology-compatibility-dashakoot.json +1 -1
  428. package/dist/schemas/post--vedic-astrology-compatibility-papasamyam.json +1 -1
  429. package/dist/schemas/post--vedic-astrology-compatibility.json +1 -1
  430. package/dist/schemas/post--vedic-astrology-daily.json +1 -1
  431. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  432. package/dist/schemas/post--vedic-astrology-dasha-major.json +1 -1
  433. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha-sookshma.json +1 -1
  434. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha.json +1 -1
  435. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha.json +1 -1
  436. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha.json +1 -1
  437. package/dist/schemas/post--vedic-astrology-divisional-chart.json +1 -1
  438. package/dist/schemas/post--vedic-astrology-dosha-kalsarpa.json +1 -1
  439. package/dist/schemas/post--vedic-astrology-dosha-manglik.json +1 -1
  440. package/dist/schemas/post--vedic-astrology-dosha-sadhesati.json +1 -1
  441. package/dist/schemas/post--vedic-astrology-ecliptic-crossings.json +1 -1
  442. package/dist/schemas/post--vedic-astrology-heliacal.json +1 -1
  443. package/dist/schemas/post--vedic-astrology-kp-chart.json +1 -1
  444. package/dist/schemas/post--vedic-astrology-kp-cusps.json +1 -1
  445. package/dist/schemas/post--vedic-astrology-kp-daily-finance.json +1 -1
  446. package/dist/schemas/post--vedic-astrology-kp-horary.json +1 -1
  447. package/dist/schemas/post--vedic-astrology-kp-planets-interval.json +1 -1
  448. package/dist/schemas/post--vedic-astrology-kp-planets.json +1 -1
  449. package/dist/schemas/post--vedic-astrology-kp-rasi-changes.json +1 -1
  450. package/dist/schemas/post--vedic-astrology-kp-ruling-planets-interval.json +1 -1
  451. package/dist/schemas/post--vedic-astrology-kp-ruling-planets.json +1 -1
  452. package/dist/schemas/post--vedic-astrology-kp-sublord-changes.json +1 -1
  453. package/dist/schemas/post--vedic-astrology-navamsa.json +1 -1
  454. package/dist/schemas/post--vedic-astrology-panchang-basic.json +1 -1
  455. package/dist/schemas/post--vedic-astrology-panchang-choghadiya.json +1 -1
  456. package/dist/schemas/post--vedic-astrology-panchang-detailed.json +1 -1
  457. package/dist/schemas/post--vedic-astrology-panchang-hora.json +1 -1
  458. package/dist/schemas/post--vedic-astrology-parallels-monthly.json +1 -1
  459. package/dist/schemas/post--vedic-astrology-parallels.json +1 -1
  460. package/dist/schemas/post--vedic-astrology-planetary-positions-monthly.json +1 -1
  461. package/dist/schemas/post--vedic-astrology-planetary-positions.json +1 -1
  462. package/dist/schemas/post--vedic-astrology-shadbala.json +1 -1
  463. package/dist/schemas/post--vedic-astrology-transit-monthly.json +1 -1
  464. package/dist/schemas/post--vedic-astrology-transit.json +1 -1
  465. package/dist/schemas/post--vedic-astrology-upagraha.json +1 -1
  466. package/dist/schemas/post--vedic-astrology-yoga-detect.json +1 -1
  467. package/dist/styles/charts/bodygraph.css +1 -0
  468. package/dist/styles/charts/kundli.css +1 -0
  469. package/dist/styles/charts/natal-wheel.css +1 -0
  470. package/dist/styles/charts/synastry-wheel.css +1 -0
  471. package/dist/styles/fonts/fraunces-jost.css +1 -0
  472. package/dist/styles/fonts/geist/OFL.txt +93 -0
  473. package/dist/styles/fonts/geist/geist-cyrillic.woff2 +0 -0
  474. package/dist/styles/fonts/geist/geist-latin-ext.woff2 +0 -0
  475. package/dist/styles/fonts/geist/geist-latin.woff2 +0 -0
  476. package/dist/styles/fonts/geist.css +1 -0
  477. package/dist/styles/fonts/jost.css +1 -0
  478. package/dist/styles/fonts.d.ts +23 -0
  479. package/dist/styles/palette-names.d.ts +3 -0
  480. package/dist/styles/palettes.d.ts +6 -19
  481. package/dist/styles/themes/celeste.css +1 -1
  482. package/dist/styles/themes/eucalyptus.css +1 -1
  483. package/dist/styles/themes/kiln.css +1 -1
  484. package/dist/styles/themes/moonlit.css +1 -1
  485. package/dist/styles/themes/practitioner.css +1 -1
  486. package/dist/styles/tokens-css.d.ts +1 -1
  487. package/dist/styles/tokens.css +1 -1
  488. package/dist/tool-component.cjs +1 -1
  489. package/dist/tool-component.js +1 -1
  490. package/dist/utils/angel-sections.d.ts +1 -1
  491. package/dist/utils/aspect-line.d.ts +1 -10
  492. package/dist/utils/aspect-styles.d.ts +4 -0
  493. package/dist/utils/base-element.d.ts +15 -2
  494. package/dist/utils/bodygraph-render.d.ts +18 -2
  495. package/dist/utils/bodygraph-styles.d.ts +1 -6
  496. package/dist/utils/brand.d.ts +22 -0
  497. package/dist/utils/chart-styles.d.ts +9 -0
  498. package/dist/utils/chart-viewport.d.ts +1 -1
  499. package/dist/utils/degree.d.ts +7 -0
  500. package/dist/utils/dist-base.d.ts +2 -0
  501. package/dist/utils/fetch-controller.d.ts +9 -2
  502. package/dist/utils/field-schema.d.ts +10 -4
  503. package/dist/utils/frame.d.ts +1 -1
  504. package/dist/utils/hd-reading.d.ts +1 -14
  505. package/dist/utils/interp-accordion.d.ts +1 -1
  506. package/dist/utils/kundli-chrome.d.ts +22 -0
  507. package/dist/utils/kundli-render.d.ts +17 -28
  508. package/dist/utils/natal-wheel.d.ts +32 -0
  509. package/dist/utils/reference-table.d.ts +7 -0
  510. package/dist/utils/stacked-table.d.ts +1 -1
  511. package/dist/utils/svg-string.d.ts +20 -0
  512. package/dist/utils/synastry-wheel.d.ts +15 -0
  513. package/dist/version.d.ts +1 -1
  514. package/package.json +10 -2
package/AGENTS.md CHANGED
@@ -459,7 +459,7 @@ In React, the same props are typed: `<RoxyNatalChart publishableKey={process.env
459
459
 
460
460
  **One tag, no element wiring.** For the simplest embed, load `dist/cdn/widgets.js` and drop a `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`. The script mounts the matching component from a generated slug map: with every path parameter supplied as a `data-*` attribute (`data-sign`, `data-id`) it fetches on mount, otherwise it renders the same input form. A second `data-*` attribute picks a variant (`data-period`, `data-mode`, `data-type`, `data-spread`). To keep every key on your own server instead, drop the publishable key and give the tag `data-submit-url`: the widget renders the form and routes every request there, the city search included, and `data-location-url` sends the city search somewhere else. `data-submit-context` rides along with each proxied request.
461
461
 
462
- **Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for the Rosewater preset, a warm serif look (or `eucalyptus.css`, `kiln.css`, `moonlit.css`, or `celeste.css` for the roxyapi.com look, from the same folder; `components-catalog.json` lists every preset under `themes`), or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
462
+ **Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for the Rosewater preset, a warm serif look (or `eucalyptus.css`, `kiln.css`, `moonlit.css`, or `celeste.css` for the roxyapi.com look, from the same folder; `components-catalog.json` lists every preset under `themes`; each names a default font pair and loads no font itself), or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
463
463
 
464
464
  ### Pattern 5: MCP tool-call response
465
465
 
@@ -559,6 +559,20 @@ This is how the WordPress plugin renders: PHP fetches the response server-side,
559
559
 
560
560
  - Writing the tag itself in a React or Next.js file? Import `@roxyapi/ui-react/jsx` once anywhere in the project and every `roxy-*` tag is typed, with its attributes and their legal values. It is the raw-tag path, so it carries attributes only; a page that passes a response uses the React or Vue component instead, which sets `data` as a property.
561
561
 
562
+ ### Pattern 8: a chart as an SVG string on the server
563
+
564
+ `@roxyapi/ui/charts` returns the exact `<svg>` a component draws, as a string, with no DOM: `natalWheelSvg(natalResponse, { lang })`, `synastryWheelSvg(synastryResponse)`, `kundliSvg(toKundliViewModel(birthChart.meta), { style: 'south' })`, `bodygraphSvg(bodygraphResponse)`. Use it for a PDF, an email or a static page.
565
+
566
+ ```ts
567
+ import { natalWheelSvg } from '@roxyapi/ui/charts';
568
+ import '@roxyapi/ui/locales/es';
569
+
570
+ const { data } = await roxy.astrology.generateNatalChart({ body, throwOnError: true });
571
+ const svg: string = natalWheelSvg(data, { lang: 'es' });
572
+ ```
573
+
574
+ Paint it with `dist/styles/tokens.css` plus the chart sheet, `dist/styles/charts/{natal-wheel,synastry-wheel,kundli,bodygraph}.css` (subpath `@roxyapi/ui/styles/charts/*.css`). Import a locale only for a language other than English. The same subpath exports the font pairs as data: `ROXY_FONTS` (keys as in `fonts[]`) and `fontFaces(key)`.
575
+
562
576
  ## Localized responses
563
577
 
564
578
  Most RoxyAPI endpoints return their interpretation text in the language you ask for, selected with the `lang` query parameter (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`, `zh-Hans`, `zh-Hant`). Human Design, for example, returns the type, strategy, authority, profile, channel, center, gate, and line readings in the requested language. Coverage varies by domain, and a field with no translation in the language you asked for comes back in English.
@@ -630,6 +644,12 @@ Every visible aspect of the chart is driven by `--roxy-*` CSS custom properties
630
644
 
631
645
  **One plain declaration is the whole override, including from inside a layer of your own.** The shipped defaults are declared at zero specificity and inside the `roxy` cascade layer, so `:root { --roxy-accent: #6d28d9 }` beats them in both modes, and so does the same line inside `@layer base`, which is where a framework maps its palette onto ours. Never reach for `html:root` or `!important`. If you link `tokens.css` after your own CSS, name the order once with `@layer roxy, base, components, utilities;`. And if your tokens are scoped to a container element rather than to `:root`, write the mode on that same container element (`data-theme="light"` or `"dark"`), because every token you did not override is still decided at the document root by the visitor OS.
632
646
 
647
+ **Brand without CSS.** Every component takes `brand-color` and `brand-accent` (`#rgb` or `#rrggbb`) and `font` (a `key` from `fonts[]` in `components-catalog.json`, which lists each pair with its stylesheet and files). Theme and font are separate: a preset sets colours, radius and shadow and names a default font pair in `--roxy-font` (its `font` in `themes[]`); `font` on a component overrides it, and with neither the component keeps the page font. Only the pair in use loads. From the CDN script, the pair's stylesheet loads from the same place as the script. In an npm build, import `@roxyapi/ui/styles/fonts/{key}.css` once, the same way as `tokens.css`, or copy `dist/styles/fonts` to your own origin and link it. A value that does not validate is ignored. React and Vue: `brandColor`, `brandAccent`, `font`.
648
+
649
+ ```html
650
+ <roxy-natal-chart brand-color="#3e2a2c" brand-accent="#914955" font="fraunces-jost"></roxy-natal-chart>
651
+ ```
652
+
633
653
  ## Choosing what a component renders
634
654
 
635
655
  Three tools, one vocabulary. Every structural block carries a `part` name; `::part()` targets it from a stylesheet, `hide-sections` drops it on one element, and `hide-readings` removes interpretive prose from the markup entirely.
package/README.md CHANGED
@@ -83,7 +83,7 @@ Light, dark, your brand. A handful of base tokens style the whole library and ev
83
83
  }
84
84
  ```
85
85
 
86
- Pick a tone, set the bases, every chart and card follows. Named presets ship as one stylesheet each (Rosewater, Eucalyptus, Kiln, Moonlit, and Celeste, the roxyapi.com look). Full token reference, the presets and the drawing hooks at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). See the [FAQ](#faq) for switching between light and dark at runtime.
86
+ Pick a tone, set the bases, every chart and card follows. Named presets ship as one stylesheet each (Rosewater, Eucalyptus, Kiln, Moonlit, and Celeste, the roxyapi.com look), each naming a default font pair that `font` on a component overrides; only the pair in use loads, from where the components are served. Full token reference, the presets and the drawing hooks at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). See the [FAQ](#faq) for switching between light and dark at runtime.
87
87
 
88
88
  ## Gallery
89
89
 
@@ -464,6 +464,40 @@ export default function Page() {
464
464
 
465
465
  One import anywhere in the project types the tags everywhere in it. The typings carry attributes only, which is what markup can carry: a page that passes a response uses the React or Vue component, which sets `data` as a property. Your `tsconfig.json` needs `moduleResolution` on `bundler`, `node16` or `nodenext`, because the older `node10` resolution ignores the package export map.
466
466
 
467
+ ## Draw a chart on the server
468
+
469
+ `@roxyapi/ui/charts` turns a response into the same `<svg>` its component draws, as a string, with no browser and no rendering library: a PDF, an email, a static page or an image job gets the chart a visitor sees on the page.
470
+
471
+ ```ts
472
+ import { createRoxy } from '@roxyapi/sdk';
473
+ import {
474
+ bodygraphSvg,
475
+ kundliSvg,
476
+ natalWheelSvg,
477
+ synastryWheelSvg,
478
+ toKundliViewModel,
479
+ } from '@roxyapi/ui/charts';
480
+ import '@roxyapi/ui/locales/es';
481
+
482
+ const roxy = createRoxy(process.env.ROXY_API_KEY!);
483
+ const { data: natal } = await roxy.astrology.generateNatalChart({ body, throwOnError: true });
484
+ const wheel: string = natalWheelSvg(natal, { lang: 'es' });
485
+
486
+ const { data: birth } = await roxy.vedicAstrology.generateBirthChart({ body, throwOnError: true });
487
+ const kundli: string = kundliSvg(toKundliViewModel(birth.meta), { style: 'south' });
488
+ ```
489
+
490
+ `synastryWheelSvg` takes a synastry response and `bodygraphSvg` a bodygraph response the same way. `lang` writes the words the chart adds in that language once its locale is imported; English needs no import.
491
+
492
+ The paint is a stylesheet per chart, published beside the tokens: `styles/charts/natal-wheel.css`, `synastry-wheel.css`, `kundli.css` and `bodygraph.css`. Link `tokens.css`, a theme if you use one, and the chart sheet next to the string, and it paints exactly as the component does, in light and dark:
493
+
494
+ ```html
495
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/tokens.css">
496
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/charts/natal-wheel.css">
497
+ ```
498
+
499
+ The same path carries the published font pairs as data: `ROXY_FONTS` (keyed by the `fonts[]` keys in `components-catalog.json`, each with its `name` and its `sans` and `display` stacks) and `fontFaces(key)`, the files a pair is drawn with, so a server sets the type a page shows.
500
+
467
501
  ## Most-used components per domain
468
502
 
469
503
  The highest-demand components by domain, in the order you are most likely to ship them. Each pairing shows the SDK call that returns the response shape the component renders. Spec change in the API translates to typed change at the component boundary; the pairing below is derived from the live OpenAPI spec, not invented. Full catalog in the [Components](#components) table.
@@ -954,6 +988,14 @@ roxy-natal-chart {
954
988
  }
955
989
  ```
956
990
 
991
+ ### Brand colour and font, one attribute each
992
+
993
+ Every component takes `brand-color`, `brand-accent` and `font` (`brandColor`, `brandAccent`, `font` in React and Vue), so a site sets its brand without CSS. The colours are `#rgb` or `#rrggbb`, and the accent re-derives its ink and focus ring in both modes. `font` is a `key` from `fonts[]` in `components-catalog.json`, which lists each pair with its stylesheet and files, and it overrides the theme preset's default pair. From the CDN script, the pair's stylesheet loads from the same place as the script. In an npm build, import `@roxyapi/ui/styles/fonts/{key}.css` once, the same way as `tokens.css`, or copy `dist/styles/fonts` to your own origin and link it. A value that does not validate is ignored.
994
+
995
+ ```html
996
+ <roxy-natal-chart brand-color="#3e2a2c" brand-accent="#914955" font="fraunces-jost"></roxy-natal-chart>
997
+ ```
998
+
957
999
  ### Reach inside the component from your own CSS
958
1000
 
959
1001
  Every chart and reading component names its structural blocks with `part`, so a stylesheet outside the component can restyle or hide any of them with no JavaScript and no fork. The names are the same in every component, so one rule covers the whole library.
package/THEMING.md CHANGED
@@ -61,17 +61,18 @@ Set these and the rest follows. Dark mode reassigns the colour bases only. Set a
61
61
 
62
62
  ### Type, space, shape and motion bases
63
63
 
64
- | Variable | Default | Notes |
65
- | ------------------------ | ------------------------------ | --------------------------------------------------------------------------------------------------- |
66
- | `--roxy-font-sans` | `initial` | Body text. Unset, so every component inherits the page font; set a family to choose one |
67
- | `--roxy-font-display` | `var(--roxy-font-sans)` | Every heading and the form title. Follows the body font until set; one value restyles every heading |
68
- | `--roxy-font-mono` | `ui-monospace, ...` | Numeric tables, code |
69
- | `--roxy-text-base` | `1rem` | Body size, the base of the type scale |
70
- | `--roxy-text-scale` | `1.15` | The ratio between type steps |
71
- | `--roxy-space-unit` | `0.25rem` | Every gap, padding and margin is a multiple of it |
72
- | `--roxy-radius` | `6px` | Every corner derives from it |
73
- | `--roxy-motion-duration` | `200ms` | Set to `0ms` to disable transitions and entry animations |
74
- | `--roxy-motion-easing` | `cubic-bezier(0.4, 0, 0.2, 1)` | Standard ease |
64
+ | Variable | Default | Notes |
65
+ | ------------------------ | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
66
+ | `--roxy-font` | `initial` | A font pair `key` from `fonts[]`; each component sets both stacks from it and loads only that pair. A preset sets its default here |
67
+ | `--roxy-font-sans` | `initial` | Body text. Unset, so every component inherits the page font; set a family to choose one |
68
+ | `--roxy-font-display` | `var(--roxy-font-sans)` | Every heading and the form title. Follows the body font until set; one value restyles every heading |
69
+ | `--roxy-font-mono` | `ui-monospace, ...` | Numeric tables, code |
70
+ | `--roxy-text-base` | `1rem` | Body size, the base of the type scale |
71
+ | `--roxy-text-scale` | `1.15` | The ratio between type steps |
72
+ | `--roxy-space-unit` | `0.25rem` | Every gap, padding and margin is a multiple of it |
73
+ | `--roxy-radius` | `6px` | Every corner derives from it |
74
+ | `--roxy-motion-duration` | `200ms` | Set to `0ms` to disable transitions and entry animations |
75
+ | `--roxy-motion-easing` | `cubic-bezier(0.4, 0, 0.2, 1)` | Standard ease |
75
76
 
76
77
  `prefers-reduced-motion: reduce` always pins the duration to `0ms`.
77
78
 
@@ -197,6 +198,22 @@ roxy-natal-chart {
197
198
  }
198
199
  ```
199
200
 
201
+ ### Brand attributes
202
+
203
+ Three optional attributes on every component set the brand without CSS. A value that does not validate is ignored, so a typo never reaches the page.
204
+
205
+ | Attribute | Accepts | Sets |
206
+ | -------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
207
+ | `brand-color` | `#rgb` or `#rrggbb` | `--roxy-primary` |
208
+ | `brand-accent` | `#rgb` or `#rrggbb` | `--roxy-accent`, with `--roxy-accent-ink` and `--roxy-ring` derived from it in both modes |
209
+ | `font` | a `key` from `fonts[]` in `components-catalog.json` | `--roxy-font-sans` and `--roxy-font-display` over the preset default, and loads only that pair, from beside the CDN script |
210
+
211
+ ```html
212
+ <roxy-natal-chart brand-color="#3e2a2c" brand-accent="#914955" font="fraunces-jost"></roxy-natal-chart>
213
+ ```
214
+
215
+ In an npm build, import `@roxyapi/ui/styles/fonts/{key}.css` once (or copy `dist/styles/fonts` to your origin), the same way as `tokens.css`; fonts never load from a host the page did not choose.
216
+
200
217
  ### Dark mode
201
218
 
202
219
  Three opt-in mechanisms work out of the box, on the CDN and the npm path alike, because every component loads the tokens when it connects.
@@ -325,13 +342,15 @@ The default look is built in and adapts to the host page. Each named preset is o
325
342
  | Preset | Key and file | Look |
326
343
  | ---------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
327
344
  | Default | built in | Inherits the page font, neutral ink, hairlines, flat cards, one restrained blue accent |
328
- | Rosewater | `practitioner`, `dist/styles/themes/practitioner.css` | Warm rosewater, serif headings, fonts bundled |
345
+ | Rosewater | `practitioner`, `dist/styles/themes/practitioner.css` | Warm rosewater, serif headings |
329
346
  | Eucalyptus | `eucalyptus`, `dist/styles/themes/eucalyptus.css` | Sage green on warm paper, serif headings |
330
347
  | Kiln | `kiln`, `dist/styles/themes/kiln.css` | Terracotta on cream, serif headings |
331
348
  | Moonlit | `moonlit`, `dist/styles/themes/moonlit.css` | Ink blue on cream, gold on night blue in dark mode, serif headings |
332
349
  | Celeste | `celeste`, `dist/styles/themes/celeste.css` | The roxyapi.com look: near-black ink on near-white, a teal accent, the system font and crisp corners |
333
350
 
334
- Rosewater self-hosts its fonts inside this package; Eucalyptus, Kiln and Moonlit load the same two families from Google Fonts with one `@import` and share its generous radii (`--roxy-radius-sm: 0.4375rem`, `--roxy-radius-md: 0.875rem`, `--roxy-radius-lg: 1.575rem`). Celeste loads no font file and sets `--roxy-radius-sm: 0.125rem`, `--roxy-radius-md: 0.25rem`, `--roxy-radius-lg: 0.375rem`.
351
+ In an npm build, import `@roxyapi/ui/styles/themes/{key}.css` once instead of the link.
352
+
353
+ A preset loads no font. It names its default pair in `--roxy-font`, a `key` from `fonts[]` (published as `font` on each entry of `themes[]`), and each component sets both stacks from that pair and loads only its files, from where the component is served; a `font` attribute overrides it, and a font stack the page sets itself outranks the preset default. Set `--roxy-font` on `:root` to choose a pair for a whole page. Rosewater, Eucalyptus, Kiln and Moonlit default to `fraunces-jost` and share generous radii (`--roxy-radius-sm: 0.4375rem`, `--roxy-radius-md: 0.875rem`, `--roxy-radius-lg: 1.575rem`). Celeste defaults to `system` and sets `--roxy-radius-sm: 0.125rem`, `--roxy-radius-md: 0.25rem`, `--roxy-radius-lg: 0.375rem`.
335
354
 
336
355
  The colours each preset sets, with the names the Customize colors panel and the WordPress plugin show:
337
356