@roxyapi/ui 1.1.1 → 1.1.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 (195) hide show
  1. package/AGENTS.md +5 -5
  2. package/README.md +3 -3
  3. package/THEMING.md +3 -3
  4. package/components-catalog.json +258 -158
  5. package/dist/cdn/components/almanac-day.js +3 -205
  6. package/dist/cdn/components/angel-number-card.js +3 -205
  7. package/dist/cdn/components/angel-number-lookup.js +3 -205
  8. package/dist/cdn/components/arudha-padas.js +3 -205
  9. package/dist/cdn/components/ashtakavarga-grid.js +3 -205
  10. package/dist/cdn/components/aspects-table.js +3 -205
  11. package/dist/cdn/components/astrocartography-map.js +3 -205
  12. package/dist/cdn/components/bazi-chart.js +3 -205
  13. package/dist/cdn/components/bhav-chalit-table.js +2 -204
  14. package/dist/cdn/components/bhava-bala-table.js +3 -205
  15. package/dist/cdn/components/biorhythm-chart.js +3 -205
  16. package/dist/cdn/components/bodygraph.js +7 -209
  17. package/dist/cdn/components/chara-karakas.js +3 -205
  18. package/dist/cdn/components/choghadiya-grid.js +3 -205
  19. package/dist/cdn/components/compatibility-card.js +2 -204
  20. package/dist/cdn/components/compound-number.js +3 -205
  21. package/dist/cdn/components/crystal-card.js +3 -205
  22. package/dist/cdn/components/crystal-grid.js +3 -205
  23. package/dist/cdn/components/dasha-timeline.js +3 -205
  24. package/dist/cdn/components/data.js +3 -205
  25. package/dist/cdn/components/divisional-chart.js +13 -215
  26. package/dist/cdn/components/dosha-card.js +3 -205
  27. package/dist/cdn/components/dosha-constitution.js +3 -205
  28. package/dist/cdn/components/dream-card.js +3 -205
  29. package/dist/cdn/components/dream-search.js +3 -205
  30. package/dist/cdn/components/endpoint-form.js +3 -205
  31. package/dist/cdn/components/ephemeris-table.js +2 -204
  32. package/dist/cdn/components/fixed-stars.js +2 -204
  33. package/dist/cdn/components/flying-star-chart.js +2 -204
  34. package/dist/cdn/components/forecast-digest.js +3 -205
  35. package/dist/cdn/components/forecast-timeline.js +3 -205
  36. package/dist/cdn/components/gematria.js +3 -205
  37. package/dist/cdn/components/gochara-table.js +3 -205
  38. package/dist/cdn/components/guna-milan.js +3 -205
  39. package/dist/cdn/components/hd-connection.js +5 -207
  40. package/dist/cdn/components/hd-penta.js +5 -207
  41. package/dist/cdn/components/hd-type-card.js +3 -205
  42. package/dist/cdn/components/hd-variables.js +3 -205
  43. package/dist/cdn/components/heliacal-table.js +3 -205
  44. package/dist/cdn/components/hexagram.js +3 -205
  45. package/dist/cdn/components/hora-table.js +3 -205
  46. package/dist/cdn/components/horoscope-card.js +3 -205
  47. package/dist/cdn/components/kp-chart.js +3 -205
  48. package/dist/cdn/components/kp-finance-card.js +3 -205
  49. package/dist/cdn/components/kp-planets-table.js +3 -205
  50. package/dist/cdn/components/kp-ruling-planets.js +3 -205
  51. package/dist/cdn/components/kua-card.js +3 -205
  52. package/dist/cdn/components/local-space-compass.js +8 -210
  53. package/dist/cdn/components/location-search.js +3 -205
  54. package/dist/cdn/components/luck-pillars.js +3 -205
  55. package/dist/cdn/components/mayan-day-sign.js +3 -205
  56. package/dist/cdn/components/moon-phase.js +3 -205
  57. package/dist/cdn/components/nakshatra-card.js +3 -205
  58. package/dist/cdn/components/natal-chart.js +6 -208
  59. package/dist/cdn/components/numerology-card.js +3 -205
  60. package/dist/cdn/components/panchang-table.js +3 -205
  61. package/dist/cdn/components/positions-table.js +3 -205
  62. package/dist/cdn/components/profection-card.js +3 -205
  63. package/dist/cdn/components/reference-card.js +3 -205
  64. package/dist/cdn/components/relocation-wheel.js +6 -208
  65. package/dist/cdn/components/shadbala-table.js +3 -205
  66. package/dist/cdn/components/synastry-chart.js +7 -209
  67. package/dist/cdn/components/tarot-card.js +3 -205
  68. package/dist/cdn/components/tarot-catalog.js +3 -205
  69. package/dist/cdn/components/tarot-spread.js +3 -205
  70. package/dist/cdn/components/transit-wheel.js +8 -210
  71. package/dist/cdn/components/transits-table.js +3 -205
  72. package/dist/cdn/components/upagraha-table.js +2 -204
  73. package/dist/cdn/components/vastu-mandala.js +4 -206
  74. package/dist/cdn/components/vedic-aspects.js +2 -204
  75. package/dist/cdn/components/vedic-daily.js +3 -205
  76. package/dist/cdn/components/vedic-kundli.js +10 -212
  77. package/dist/cdn/components/vedic-planets-table.js +3 -205
  78. package/dist/cdn/components/western-planets-table.js +2 -204
  79. package/dist/cdn/components/yoga-list.js +3 -205
  80. package/dist/cdn/components/zodiac-card.js +2 -204
  81. package/dist/cdn/locales/de.js +1 -1
  82. package/dist/cdn/roxy-ui.js +49 -251
  83. package/dist/components/almanac-day.js +1 -203
  84. package/dist/components/angel-number-card.js +1 -203
  85. package/dist/components/angel-number-lookup.js +1 -203
  86. package/dist/components/arudha-padas.js +1 -203
  87. package/dist/components/ashtakavarga-grid.js +1 -203
  88. package/dist/components/aspects-table.js +1 -203
  89. package/dist/components/astrocartography-map.js +6 -208
  90. package/dist/components/bazi-chart.js +1 -203
  91. package/dist/components/bhav-chalit-table.js +1 -203
  92. package/dist/components/bhava-bala-table.js +1 -203
  93. package/dist/components/biorhythm-chart.js +1 -203
  94. package/dist/components/bodygraph.js +3 -205
  95. package/dist/components/chara-karakas.js +1 -203
  96. package/dist/components/choghadiya-grid.js +1 -203
  97. package/dist/components/compatibility-card.js +1 -203
  98. package/dist/components/compound-number.js +1 -203
  99. package/dist/components/crystal-card.js +1 -203
  100. package/dist/components/crystal-grid.js +1 -203
  101. package/dist/components/dasha-timeline.js +1 -203
  102. package/dist/components/data.js +1 -203
  103. package/dist/components/divisional-chart.js +45 -247
  104. package/dist/components/dosha-card.js +1 -203
  105. package/dist/components/dosha-constitution.js +1 -203
  106. package/dist/components/dream-card.js +1 -203
  107. package/dist/components/dream-search.js +1 -203
  108. package/dist/components/endpoint-form.js +1 -203
  109. package/dist/components/ephemeris-table.js +1 -203
  110. package/dist/components/fixed-stars.js +1 -203
  111. package/dist/components/flying-star-chart.js +1 -203
  112. package/dist/components/forecast-digest.js +1 -203
  113. package/dist/components/forecast-timeline.js +1 -203
  114. package/dist/components/gematria.js +1 -203
  115. package/dist/components/gochara-table.js +1 -203
  116. package/dist/components/guna-milan.js +1 -203
  117. package/dist/components/hd-connection.js +3 -205
  118. package/dist/components/hd-penta.js +5 -207
  119. package/dist/components/hd-type-card.js +1 -203
  120. package/dist/components/hd-variables.js +1 -203
  121. package/dist/components/heliacal-table.js +1 -203
  122. package/dist/components/hexagram.d.ts +1 -1
  123. package/dist/components/hexagram.js +1 -203
  124. package/dist/components/hora-table.js +1 -203
  125. package/dist/components/horoscope-card.js +1 -203
  126. package/dist/components/kp-chart.js +1 -203
  127. package/dist/components/kp-finance-card.js +1 -203
  128. package/dist/components/kp-planets-table.js +1 -203
  129. package/dist/components/kp-ruling-planets.js +1 -203
  130. package/dist/components/kua-card.js +1 -203
  131. package/dist/components/local-space-compass.js +4 -206
  132. package/dist/components/location-search.js +1 -203
  133. package/dist/components/luck-pillars.js +1 -203
  134. package/dist/components/mayan-day-sign.js +1 -203
  135. package/dist/components/moon-phase.js +1 -203
  136. package/dist/components/nakshatra-card.js +1 -203
  137. package/dist/components/natal-chart.d.ts +1 -1
  138. package/dist/components/natal-chart.js +5 -207
  139. package/dist/components/numerology-card.js +1 -203
  140. package/dist/components/panchang-table.js +1 -203
  141. package/dist/components/positions-table.js +1 -203
  142. package/dist/components/profection-card.js +1 -203
  143. package/dist/components/reference-card.js +1 -203
  144. package/dist/components/relocation-wheel.js +3 -205
  145. package/dist/components/shadbala-table.js +1 -203
  146. package/dist/components/synastry-chart.js +6 -208
  147. package/dist/components/tarot-card.js +1 -203
  148. package/dist/components/tarot-catalog.js +1 -203
  149. package/dist/components/tarot-spread.js +1 -203
  150. package/dist/components/transit-wheel.js +8 -210
  151. package/dist/components/transits-table.js +1 -203
  152. package/dist/components/upagraha-table.js +1 -203
  153. package/dist/components/vastu-mandala.js +6 -208
  154. package/dist/components/vedic-aspects.js +1 -203
  155. package/dist/components/vedic-daily.js +1 -203
  156. package/dist/components/vedic-kundli.js +15 -217
  157. package/dist/components/vedic-planets-table.js +1 -203
  158. package/dist/components/western-planets-table.js +1 -203
  159. package/dist/components/yoga-list.js +1 -203
  160. package/dist/components/zodiac-card.js +1 -203
  161. package/dist/forms.json +1 -1
  162. package/dist/index.cjs +49 -251
  163. package/dist/index.js +50 -252
  164. package/dist/locales/de.js +1 -1
  165. package/dist/schemas/post--astrology-lilith.json +1 -1
  166. package/dist/schemas/post--astrology-progressions.json +1 -1
  167. package/dist/schemas/post--kabbalah-birth-profile.json +1 -1
  168. package/dist/schemas/post--numerology-chart.json +1 -1
  169. package/dist/schemas/post--vedic-astrology-daily.json +1 -1
  170. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  171. package/dist/schemas/post--vedic-astrology-dasha-major.json +1 -1
  172. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha-sookshma.json +1 -1
  173. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha.json +1 -1
  174. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha.json +1 -1
  175. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha.json +1 -1
  176. package/dist/schemas/post--vedic-astrology-kp-chart.json +1 -1
  177. package/dist/schemas/post--vedic-astrology-kp-cusps.json +1 -1
  178. package/dist/schemas/post--vedic-astrology-kp-daily-finance.json +1 -1
  179. package/dist/schemas/post--vedic-astrology-kp-horary.json +1 -1
  180. package/dist/schemas/post--vedic-astrology-kp-planets.json +1 -1
  181. package/dist/schemas/post--vedic-astrology-kp-ruling-planets-interval.json +1 -1
  182. package/dist/schemas/post--vedic-astrology-kp-ruling-planets.json +1 -1
  183. package/dist/schemas/post--vedic-astrology-transit.json +1 -1
  184. package/dist/styles/palettes.d.ts +4 -0
  185. package/dist/styles/themes/celeste.css +1 -115
  186. package/dist/styles/themes/eucalyptus.css +1 -121
  187. package/dist/styles/themes/kiln.css +1 -121
  188. package/dist/styles/themes/moonlit.css +1 -121
  189. package/dist/styles/themes/practitioner.css +1 -170
  190. package/dist/styles/tokens-css.d.ts +1 -1
  191. package/dist/styles/tokens.css +1 -202
  192. package/dist/types/types.gen.d.ts +48 -36
  193. package/dist/utils/string.d.ts +2 -0
  194. package/dist/version.d.ts +1 -1
  195. package/package.json +1 -1
@@ -1,121 +1 @@
1
- /*
2
- * Eucalyptus theme preset for Roxy UI. GENERATED by scripts/sync-themes.ts
3
- * from src/styles/palettes.ts. Do not edit; change the palette data and
4
- * rerun the codegen.
5
- *
6
- * It only reassigns --roxy-* tokens, so it composes with the core token
7
- * contract instead of replacing it: link it AFTER the base tokens (or the
8
- * CDN bundle that injects them) and every component on the page adopts the
9
- * look. Light and dark blocks mirror the trigger structure of tokens.css
10
- * exactly (OS preference, [data-theme] / .dark opt-in, and the explicit-
11
- * light opt-out), all at :where() zero specificity and inside the
12
- * roxy.theme cascade layer, so a per-page override still wins and the
13
- * preset still outranks the token defaults whichever file loads first.
14
- *
15
- * Fonts are loaded below via one Google Fonts @import (both families are
16
- * OFL, loaded from Google, never bundled here). To load them with markup
17
- * instead, drop the @import line and add these to the page <head>:
18
- *
19
- * <link rel="preconnect" href="https://fonts.googleapis.com">
20
- * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21
- * <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap">
22
- *
23
- * To use the whole preset with one line instead of copying tokens, link
24
- * the file:
25
- *
26
- * <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/eucalyptus.css">
27
- */
28
- @import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap");
29
-
30
- @layer roxy.tokens, roxy.theme;
31
-
32
- @layer roxy.theme {
33
- /* Light defaults. Fonts, radius, and shadow do not vary by theme, so they are
34
- * set once here and inherited by the dark blocks unchanged. */
35
- :where(:root, :host) {
36
- --roxy-font-sans:
37
- "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
38
- sans-serif;
39
- --roxy-font-display:
40
- "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
41
-
42
- --roxy-radius-sm: 0.4375rem;
43
- --roxy-radius-md: 0.875rem;
44
- --roxy-radius-lg: 1.575rem;
45
-
46
- --roxy-shadow-sm: none;
47
- --roxy-shadow-md: none;
48
- --roxy-shadow-lg: none;
49
-
50
- --roxy-accent: #4c7060;
51
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
52
- --roxy-ring: var(--roxy-accent);
53
- /* Secondary ink (form labels, generic-renderer text, chart strokes): tuned per palette between fg and muted, so it stays stronger than help text. */
54
- --roxy-secondary: #3a4037;
55
- --roxy-danger: #b23a38;
56
-
57
- --roxy-bg: #f8f7f2;
58
- --roxy-surface: #edefe6;
59
- --roxy-fg: #22281f;
60
- --roxy-muted: #666d63;
61
- --roxy-border: #dce0d3;
62
- }
63
-
64
- /* Dark theme via system preference. Mirrors tokens.css: only the theme-varying
65
- * tokens are reassigned; accent-ink follows the accent (already legible on the
66
- * dark surface) rather than mixing toward black. */
67
- @media (prefers-color-scheme: dark) {
68
- :where(:root, :host) {
69
- --roxy-accent: #9cc0ac;
70
- --roxy-accent-ink: var(--roxy-accent);
71
- --roxy-secondary: #cfd5ca;
72
- --roxy-danger: #e4736b;
73
-
74
- --roxy-bg: #191e19;
75
- --roxy-surface: #2a312a;
76
- --roxy-fg: #e9ede3;
77
- --roxy-muted: #9fa89b;
78
- --roxy-border: #384138;
79
- }
80
- }
81
-
82
- /* Light opt-out: beats the OS-dark block when the host explicitly chooses light. */
83
- :where(
84
- :root[data-theme="light"],
85
- [data-theme="light"],
86
- :root.light,
87
- .light,
88
- :host([data-theme="light"])
89
- ) {
90
- --roxy-accent: #4c7060;
91
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
92
- --roxy-secondary: #3a4037;
93
- --roxy-danger: #b23a38;
94
-
95
- --roxy-bg: #f8f7f2;
96
- --roxy-surface: #edefe6;
97
- --roxy-fg: #22281f;
98
- --roxy-muted: #666d63;
99
- --roxy-border: #dce0d3;
100
- }
101
-
102
- /* Dark theme via explicit opt-in ([data-theme=dark] or .dark on any ancestor). */
103
- :where(
104
- :root[data-theme="dark"],
105
- [data-theme="dark"],
106
- :root.dark,
107
- .dark,
108
- :host([data-theme="dark"])
109
- ) {
110
- --roxy-accent: #9cc0ac;
111
- --roxy-accent-ink: var(--roxy-accent);
112
- --roxy-secondary: #cfd5ca;
113
- --roxy-danger: #e4736b;
114
-
115
- --roxy-bg: #191e19;
116
- --roxy-surface: #2a312a;
117
- --roxy-fg: #e9ede3;
118
- --roxy-muted: #9fa89b;
119
- --roxy-border: #384138;
120
- }
121
- }
1
+ @import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap";@layer roxy.tokens,roxy.theme;@layer roxy.theme{:where(:root,:host){--roxy-font-sans: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--roxy-font-display: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--roxy-radius-sm: 0.4375rem;--roxy-radius-md: 0.875rem;--roxy-radius-lg: 1.575rem;--roxy-shadow-sm: none;--roxy-shadow-md: none;--roxy-shadow-lg: none;--roxy-accent: #4c7060;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-ring: var(--roxy-accent);--roxy-secondary: #3a4037;--roxy-danger: #b23a38;--roxy-bg: #f8f7f2;--roxy-surface: #edefe6;--roxy-fg: #22281f;--roxy-muted: #666d63;--roxy-border: #dce0d3}@media(prefers-color-scheme:dark){:where(:root,:host){--roxy-accent: #9cc0ac;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #cfd5ca;--roxy-danger: #e4736b;--roxy-bg: #191e19;--roxy-surface: #2a312a;--roxy-fg: #e9ede3;--roxy-muted: #9fa89b;--roxy-border: #384138}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme="light"])){--roxy-accent: #4c7060;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-secondary: #3a4037;--roxy-danger: #b23a38;--roxy-bg: #f8f7f2;--roxy-surface: #edefe6;--roxy-fg: #22281f;--roxy-muted: #666d63;--roxy-border: #dce0d3}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme="dark"])){--roxy-accent: #9cc0ac;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #cfd5ca;--roxy-danger: #e4736b;--roxy-bg: #191e19;--roxy-surface: #2a312a;--roxy-fg: #e9ede3;--roxy-muted: #9fa89b;--roxy-border: #384138}}
@@ -1,121 +1 @@
1
- /*
2
- * Kiln theme preset for Roxy UI. GENERATED by scripts/sync-themes.ts
3
- * from src/styles/palettes.ts. Do not edit; change the palette data and
4
- * rerun the codegen.
5
- *
6
- * It only reassigns --roxy-* tokens, so it composes with the core token
7
- * contract instead of replacing it: link it AFTER the base tokens (or the
8
- * CDN bundle that injects them) and every component on the page adopts the
9
- * look. Light and dark blocks mirror the trigger structure of tokens.css
10
- * exactly (OS preference, [data-theme] / .dark opt-in, and the explicit-
11
- * light opt-out), all at :where() zero specificity and inside the
12
- * roxy.theme cascade layer, so a per-page override still wins and the
13
- * preset still outranks the token defaults whichever file loads first.
14
- *
15
- * Fonts are loaded below via one Google Fonts @import (both families are
16
- * OFL, loaded from Google, never bundled here). To load them with markup
17
- * instead, drop the @import line and add these to the page <head>:
18
- *
19
- * <link rel="preconnect" href="https://fonts.googleapis.com">
20
- * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21
- * <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap">
22
- *
23
- * To use the whole preset with one line instead of copying tokens, link
24
- * the file:
25
- *
26
- * <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/kiln.css">
27
- */
28
- @import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap");
29
-
30
- @layer roxy.tokens, roxy.theme;
31
-
32
- @layer roxy.theme {
33
- /* Light defaults. Fonts, radius, and shadow do not vary by theme, so they are
34
- * set once here and inherited by the dark blocks unchanged. */
35
- :where(:root, :host) {
36
- --roxy-font-sans:
37
- "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
38
- sans-serif;
39
- --roxy-font-display:
40
- "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
41
-
42
- --roxy-radius-sm: 0.4375rem;
43
- --roxy-radius-md: 0.875rem;
44
- --roxy-radius-lg: 1.575rem;
45
-
46
- --roxy-shadow-sm: none;
47
- --roxy-shadow-md: none;
48
- --roxy-shadow-lg: none;
49
-
50
- --roxy-accent: #a44a24;
51
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
52
- --roxy-ring: var(--roxy-accent);
53
- /* Secondary ink (form labels, generic-renderer text, chart strokes): tuned per palette between fg and muted, so it stays stronger than help text. */
54
- --roxy-secondary: #493d30;
55
- --roxy-danger: #b23a38;
56
-
57
- --roxy-bg: #faf4ea;
58
- --roxy-surface: #efe6d6;
59
- --roxy-fg: #322820;
60
- --roxy-muted: #74634f;
61
- --roxy-border: #e6d8c2;
62
- }
63
-
64
- /* Dark theme via system preference. Mirrors tokens.css: only the theme-varying
65
- * tokens are reassigned; accent-ink follows the accent (already legible on the
66
- * dark surface) rather than mixing toward black. */
67
- @media (prefers-color-scheme: dark) {
68
- :where(:root, :host) {
69
- --roxy-accent: #d98d5f;
70
- --roxy-accent-ink: var(--roxy-accent);
71
- --roxy-secondary: #dccdbc;
72
- --roxy-danger: #e4736b;
73
-
74
- --roxy-bg: #211710;
75
- --roxy-surface: #35281e;
76
- --roxy-fg: #f2e7d9;
77
- --roxy-muted: #b49d87;
78
- --roxy-border: #463729;
79
- }
80
- }
81
-
82
- /* Light opt-out: beats the OS-dark block when the host explicitly chooses light. */
83
- :where(
84
- :root[data-theme="light"],
85
- [data-theme="light"],
86
- :root.light,
87
- .light,
88
- :host([data-theme="light"])
89
- ) {
90
- --roxy-accent: #a44a24;
91
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
92
- --roxy-secondary: #493d30;
93
- --roxy-danger: #b23a38;
94
-
95
- --roxy-bg: #faf4ea;
96
- --roxy-surface: #efe6d6;
97
- --roxy-fg: #322820;
98
- --roxy-muted: #74634f;
99
- --roxy-border: #e6d8c2;
100
- }
101
-
102
- /* Dark theme via explicit opt-in ([data-theme=dark] or .dark on any ancestor). */
103
- :where(
104
- :root[data-theme="dark"],
105
- [data-theme="dark"],
106
- :root.dark,
107
- .dark,
108
- :host([data-theme="dark"])
109
- ) {
110
- --roxy-accent: #d98d5f;
111
- --roxy-accent-ink: var(--roxy-accent);
112
- --roxy-secondary: #dccdbc;
113
- --roxy-danger: #e4736b;
114
-
115
- --roxy-bg: #211710;
116
- --roxy-surface: #35281e;
117
- --roxy-fg: #f2e7d9;
118
- --roxy-muted: #b49d87;
119
- --roxy-border: #463729;
120
- }
121
- }
1
+ @import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap";@layer roxy.tokens,roxy.theme;@layer roxy.theme{:where(:root,:host){--roxy-font-sans: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--roxy-font-display: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--roxy-radius-sm: 0.4375rem;--roxy-radius-md: 0.875rem;--roxy-radius-lg: 1.575rem;--roxy-shadow-sm: none;--roxy-shadow-md: none;--roxy-shadow-lg: none;--roxy-accent: #a44a24;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-ring: var(--roxy-accent);--roxy-secondary: #493d30;--roxy-danger: #b23a38;--roxy-bg: #faf4ea;--roxy-surface: #efe6d6;--roxy-fg: #322820;--roxy-muted: #74634f;--roxy-border: #e6d8c2}@media(prefers-color-scheme:dark){:where(:root,:host){--roxy-accent: #d98d5f;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #dccdbc;--roxy-danger: #e4736b;--roxy-bg: #211710;--roxy-surface: #35281e;--roxy-fg: #f2e7d9;--roxy-muted: #b49d87;--roxy-border: #463729}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme="light"])){--roxy-accent: #a44a24;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-secondary: #493d30;--roxy-danger: #b23a38;--roxy-bg: #faf4ea;--roxy-surface: #efe6d6;--roxy-fg: #322820;--roxy-muted: #74634f;--roxy-border: #e6d8c2}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme="dark"])){--roxy-accent: #d98d5f;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #dccdbc;--roxy-danger: #e4736b;--roxy-bg: #211710;--roxy-surface: #35281e;--roxy-fg: #f2e7d9;--roxy-muted: #b49d87;--roxy-border: #463729}}
@@ -1,121 +1 @@
1
- /*
2
- * Moonlit theme preset for Roxy UI. GENERATED by scripts/sync-themes.ts
3
- * from src/styles/palettes.ts. Do not edit; change the palette data and
4
- * rerun the codegen.
5
- *
6
- * It only reassigns --roxy-* tokens, so it composes with the core token
7
- * contract instead of replacing it: link it AFTER the base tokens (or the
8
- * CDN bundle that injects them) and every component on the page adopts the
9
- * look. Light and dark blocks mirror the trigger structure of tokens.css
10
- * exactly (OS preference, [data-theme] / .dark opt-in, and the explicit-
11
- * light opt-out), all at :where() zero specificity and inside the
12
- * roxy.theme cascade layer, so a per-page override still wins and the
13
- * preset still outranks the token defaults whichever file loads first.
14
- *
15
- * Fonts are loaded below via one Google Fonts @import (both families are
16
- * OFL, loaded from Google, never bundled here). To load them with markup
17
- * instead, drop the @import line and add these to the page <head>:
18
- *
19
- * <link rel="preconnect" href="https://fonts.googleapis.com">
20
- * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21
- * <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap">
22
- *
23
- * To use the whole preset with one line instead of copying tokens, link
24
- * the file:
25
- *
26
- * <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/moonlit.css">
27
- */
28
- @import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap");
29
-
30
- @layer roxy.tokens, roxy.theme;
31
-
32
- @layer roxy.theme {
33
- /* Light defaults. Fonts, radius, and shadow do not vary by theme, so they are
34
- * set once here and inherited by the dark blocks unchanged. */
35
- :where(:root, :host) {
36
- --roxy-font-sans:
37
- "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
38
- sans-serif;
39
- --roxy-font-display:
40
- "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
41
-
42
- --roxy-radius-sm: 0.4375rem;
43
- --roxy-radius-md: 0.875rem;
44
- --roxy-radius-lg: 1.575rem;
45
-
46
- --roxy-shadow-sm: none;
47
- --roxy-shadow-md: none;
48
- --roxy-shadow-lg: none;
49
-
50
- --roxy-accent: #254b5a;
51
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
52
- --roxy-ring: var(--roxy-accent);
53
- /* Secondary ink (form labels, generic-renderer text, chart strokes): tuned per palette between fg and muted, so it stays stronger than help text. */
54
- --roxy-secondary: #2d3c47;
55
- --roxy-danger: #b23a38;
56
-
57
- --roxy-bg: #faf6ec;
58
- --roxy-surface: #f1eadb;
59
- --roxy-fg: #14232e;
60
- --roxy-muted: #5c6a76;
61
- --roxy-border: #e4dbc6;
62
- }
63
-
64
- /* Dark theme via system preference. Mirrors tokens.css: only the theme-varying
65
- * tokens are reassigned; accent-ink follows the accent (already legible on the
66
- * dark surface) rather than mixing toward black. */
67
- @media (prefers-color-scheme: dark) {
68
- :where(:root, :host) {
69
- --roxy-accent: #c9a96b;
70
- --roxy-accent-ink: var(--roxy-accent);
71
- --roxy-secondary: #ced0c7;
72
- --roxy-danger: #e4736b;
73
-
74
- --roxy-bg: #0b1826;
75
- --roxy-surface: #1b2a39;
76
- --roxy-fg: #efe7d3;
77
- --roxy-muted: #92a4b2;
78
- --roxy-border: #263a4c;
79
- }
80
- }
81
-
82
- /* Light opt-out: beats the OS-dark block when the host explicitly chooses light. */
83
- :where(
84
- :root[data-theme="light"],
85
- [data-theme="light"],
86
- :root.light,
87
- .light,
88
- :host([data-theme="light"])
89
- ) {
90
- --roxy-accent: #254b5a;
91
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
92
- --roxy-secondary: #2d3c47;
93
- --roxy-danger: #b23a38;
94
-
95
- --roxy-bg: #faf6ec;
96
- --roxy-surface: #f1eadb;
97
- --roxy-fg: #14232e;
98
- --roxy-muted: #5c6a76;
99
- --roxy-border: #e4dbc6;
100
- }
101
-
102
- /* Dark theme via explicit opt-in ([data-theme=dark] or .dark on any ancestor). */
103
- :where(
104
- :root[data-theme="dark"],
105
- [data-theme="dark"],
106
- :root.dark,
107
- .dark,
108
- :host([data-theme="dark"])
109
- ) {
110
- --roxy-accent: #c9a96b;
111
- --roxy-accent-ink: var(--roxy-accent);
112
- --roxy-secondary: #ced0c7;
113
- --roxy-danger: #e4736b;
114
-
115
- --roxy-bg: #0b1826;
116
- --roxy-surface: #1b2a39;
117
- --roxy-fg: #efe7d3;
118
- --roxy-muted: #92a4b2;
119
- --roxy-border: #263a4c;
120
- }
121
- }
1
+ @import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap";@layer roxy.tokens,roxy.theme;@layer roxy.theme{:where(:root,:host){--roxy-font-sans: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--roxy-font-display: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--roxy-radius-sm: 0.4375rem;--roxy-radius-md: 0.875rem;--roxy-radius-lg: 1.575rem;--roxy-shadow-sm: none;--roxy-shadow-md: none;--roxy-shadow-lg: none;--roxy-accent: #254b5a;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-ring: var(--roxy-accent);--roxy-secondary: #2d3c47;--roxy-danger: #b23a38;--roxy-bg: #faf6ec;--roxy-surface: #f1eadb;--roxy-fg: #14232e;--roxy-muted: #5c6a76;--roxy-border: #e4dbc6}@media(prefers-color-scheme:dark){:where(:root,:host){--roxy-accent: #c9a96b;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #ced0c7;--roxy-danger: #e4736b;--roxy-bg: #0b1826;--roxy-surface: #1b2a39;--roxy-fg: #efe7d3;--roxy-muted: #92a4b2;--roxy-border: #263a4c}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme="light"])){--roxy-accent: #254b5a;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-secondary: #2d3c47;--roxy-danger: #b23a38;--roxy-bg: #faf6ec;--roxy-surface: #f1eadb;--roxy-fg: #14232e;--roxy-muted: #5c6a76;--roxy-border: #e4dbc6}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme="dark"])){--roxy-accent: #c9a96b;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #ced0c7;--roxy-danger: #e4736b;--roxy-bg: #0b1826;--roxy-surface: #1b2a39;--roxy-fg: #efe7d3;--roxy-muted: #92a4b2;--roxy-border: #263a4c}}
@@ -1,170 +1 @@
1
- /*
2
- * Rosewater theme preset for Roxy UI. GENERATED by scripts/sync-themes.ts
3
- * from src/styles/palettes.ts. Do not edit; change the palette data and
4
- * rerun the codegen.
5
- *
6
- * It only reassigns --roxy-* tokens, so it composes with the core token
7
- * contract instead of replacing it: link it AFTER the base tokens (or the
8
- * CDN bundle that injects them) and every component on the page adopts the
9
- * look. Light and dark blocks mirror the trigger structure of tokens.css
10
- * exactly (OS preference, [data-theme] / .dark opt-in, and the explicit-
11
- * light opt-out), all at :where() zero specificity and inside the
12
- * roxy.theme cascade layer, so a per-page override still wins and the
13
- * preset still outranks the token defaults whichever file loads first.
14
- *
15
- * Fonts are self-hosted: both families are OFL, bundled under
16
- * dist/styles/fonts and served from jsDelivr pinned to this package
17
- * version, so linking this file makes no request to a third-party font
18
- * host. The OFL license text for each font family ships beside its files.
19
- *
20
- * To use the whole preset with one line instead of copying tokens, link
21
- * the file:
22
- *
23
- * <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">
24
- */
25
- @font-face {
26
- font-family: "Fraunces";
27
- font-style: normal;
28
- font-weight: 400 600;
29
- font-display: swap;
30
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/styles/fonts/fraunces/fraunces-latin.woff2")
31
- format("woff2");
32
- unicode-range:
33
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
34
- }
35
-
36
- @font-face {
37
- font-family: "Fraunces";
38
- font-style: normal;
39
- font-weight: 400 600;
40
- font-display: swap;
41
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/styles/fonts/fraunces/fraunces-latin-ext.woff2")
42
- format("woff2");
43
- unicode-range:
44
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
45
- }
46
-
47
- @font-face {
48
- font-family: "Jost";
49
- font-style: normal;
50
- font-weight: 400 600;
51
- font-display: swap;
52
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/styles/fonts/jost/jost-latin.woff2")
53
- format("woff2");
54
- unicode-range:
55
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
56
- }
57
-
58
- @font-face {
59
- font-family: "Jost";
60
- font-style: normal;
61
- font-weight: 400 600;
62
- font-display: swap;
63
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/styles/fonts/jost/jost-latin-ext.woff2")
64
- format("woff2");
65
- unicode-range:
66
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
67
- }
68
-
69
- @font-face {
70
- font-family: "Jost";
71
- font-style: normal;
72
- font-weight: 400 600;
73
- font-display: swap;
74
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/styles/fonts/jost/jost-cyrillic.woff2")
75
- format("woff2");
76
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
77
- }
78
-
79
- @layer roxy.tokens, roxy.theme;
80
-
81
- @layer roxy.theme {
82
- /* Light defaults. Fonts, radius, and shadow do not vary by theme, so they are
83
- * set once here and inherited by the dark blocks unchanged. */
84
- :where(:root, :host) {
85
- --roxy-font-sans:
86
- "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
87
- sans-serif;
88
- --roxy-font-display:
89
- "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
90
-
91
- --roxy-radius-sm: 0.4375rem;
92
- --roxy-radius-md: 0.875rem;
93
- --roxy-radius-lg: 1.575rem;
94
-
95
- --roxy-shadow-sm: none;
96
- --roxy-shadow-md: none;
97
- --roxy-shadow-lg: none;
98
-
99
- --roxy-accent: #914955;
100
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
101
- --roxy-ring: var(--roxy-accent);
102
- /* Secondary ink (form labels, generic-renderer text, chart strokes): tuned per palette between fg and muted, so it stays stronger than help text. */
103
- --roxy-secondary: #503a3a;
104
- --roxy-danger: #b23a38;
105
-
106
- --roxy-bg: #fbf6f3;
107
- --roxy-surface: #f5e8e0;
108
- --roxy-fg: #3e2a2c;
109
- --roxy-muted: #7e625f;
110
- --roxy-border: #ead9d2;
111
- }
112
-
113
- /* Dark theme via system preference. Mirrors tokens.css: only the theme-varying
114
- * tokens are reassigned; accent-ink follows the accent (already legible on the
115
- * dark surface) rather than mixing toward black. */
116
- @media (prefers-color-scheme: dark) {
117
- :where(:root, :host) {
118
- --roxy-accent: #d9a2a6;
119
- --roxy-accent-ink: var(--roxy-accent);
120
- --roxy-secondary: #e0cecb;
121
- --roxy-danger: #e4736b;
122
-
123
- --roxy-bg: #231619;
124
- --roxy-surface: #37272b;
125
- --roxy-fg: #f2e4df;
126
- --roxy-muted: #b39698;
127
- --roxy-border: #49353a;
128
- }
129
- }
130
-
131
- /* Light opt-out: beats the OS-dark block when the host explicitly chooses light. */
132
- :where(
133
- :root[data-theme="light"],
134
- [data-theme="light"],
135
- :root.light,
136
- .light,
137
- :host([data-theme="light"])
138
- ) {
139
- --roxy-accent: #914955;
140
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
141
- --roxy-secondary: #503a3a;
142
- --roxy-danger: #b23a38;
143
-
144
- --roxy-bg: #fbf6f3;
145
- --roxy-surface: #f5e8e0;
146
- --roxy-fg: #3e2a2c;
147
- --roxy-muted: #7e625f;
148
- --roxy-border: #ead9d2;
149
- }
150
-
151
- /* Dark theme via explicit opt-in ([data-theme=dark] or .dark on any ancestor). */
152
- :where(
153
- :root[data-theme="dark"],
154
- [data-theme="dark"],
155
- :root.dark,
156
- .dark,
157
- :host([data-theme="dark"])
158
- ) {
159
- --roxy-accent: #d9a2a6;
160
- --roxy-accent-ink: var(--roxy-accent);
161
- --roxy-secondary: #e0cecb;
162
- --roxy-danger: #e4736b;
163
-
164
- --roxy-bg: #231619;
165
- --roxy-surface: #37272b;
166
- --roxy-fg: #f2e4df;
167
- --roxy-muted: #b39698;
168
- --roxy-border: #49353a;
169
- }
170
- }
1
+ @font-face{font-family:"Fraunces";font-style:normal;font-weight:400 600;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.3/dist/styles/fonts/fraunces/fraunces-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Fraunces";font-style:normal;font-weight:400 600;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.3/dist/styles/fonts/fraunces/fraunces-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.3/dist/styles/fonts/jost/jost-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.3/dist/styles/fonts/jost/jost-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.3/dist/styles/fonts/jost/jost-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@layer roxy.tokens,roxy.theme;@layer roxy.theme{:where(:root,:host){--roxy-font-sans: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--roxy-font-display: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--roxy-radius-sm: 0.4375rem;--roxy-radius-md: 0.875rem;--roxy-radius-lg: 1.575rem;--roxy-shadow-sm: none;--roxy-shadow-md: none;--roxy-shadow-lg: none;--roxy-accent: #914955;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-ring: var(--roxy-accent);--roxy-secondary: #503a3a;--roxy-danger: #b23a38;--roxy-bg: #fbf6f3;--roxy-surface: #f5e8e0;--roxy-fg: #3e2a2c;--roxy-muted: #7e625f;--roxy-border: #ead9d2}@media(prefers-color-scheme:dark){:where(:root,:host){--roxy-accent: #d9a2a6;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #e0cecb;--roxy-danger: #e4736b;--roxy-bg: #231619;--roxy-surface: #37272b;--roxy-fg: #f2e4df;--roxy-muted: #b39698;--roxy-border: #49353a}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme="light"])){--roxy-accent: #914955;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-secondary: #503a3a;--roxy-danger: #b23a38;--roxy-bg: #fbf6f3;--roxy-surface: #f5e8e0;--roxy-fg: #3e2a2c;--roxy-muted: #7e625f;--roxy-border: #ead9d2}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme="dark"])){--roxy-accent: #d9a2a6;--roxy-accent-ink: var(--roxy-accent);--roxy-secondary: #e0cecb;--roxy-danger: #e4736b;--roxy-bg: #231619;--roxy-surface: #37272b;--roxy-fg: #f2e4df;--roxy-muted: #b39698;--roxy-border: #49353a}}
@@ -1 +1 @@
1
- export declare const ROXY_UI_TOKENS_CSS = "/**\n * Roxy UI design tokens: every colour, size, space, radius, font and duration a component reads.\n *\n * Two tiers. BASES are the few values a host tunes: fonts, base text size and its scale ratio, the\n * space unit, the base radius, motion, and the colour bases (bg, fg, accent and the four status\n * colours). Every other token DERIVES from them with calc() or color-mix(), so dark mode reassigns\n * the colour bases only and one font token restyles every heading. A host may still set any\n * derived token directly, and its value wins.\n *\n * Delivery: a global light-DOM stylesheet (linked, or injected by the CDN bundle). Custom properties\n * inherit through the shadow boundary, so a token set on any light-DOM ancestor reaches every\n * component. The :host selectors apply only if this sheet is adopted into a shadow root.\n *\n * Light is the default. Dark applies under prefers-color-scheme: dark, or [data-theme=\"dark\"] or\n * .dark on the element or any ancestor; [data-theme=\"light\"] or .light opts back into light. An\n * explicit choice wins over the OS because those blocks come later in source order.\n *\n * A derivation is computed where it is declared, so the derived block also matches every theme\n * trigger: a base reassigned on :root or on an element carrying data-theme, .light or .dark\n * re-derives everything below it.\n *\n * Font: --roxy-font-sans is unset by default, so every component inherits the host page font; any\n * value set by the host or a preset replaces it, and --roxy-font-display follows it until set.\n *\n * Motion: --roxy-motion-duration defaults to 200ms and prefers-reduced-motion forces 0ms.\n */\n\n/*\n * Two mechanisms keep the host page in charge of every token, and both are load bearing.\n *\n * Every rule sits in the roxy.tokens cascade layer, and an unlayered declaration beats a layered\n * one at ANY specificity, so a plain `:root { --roxy-accent: #8b5cf6 }` on the host page wins, and\n * so does the same line inside a layer of its own, because this statement registers ours first\n * and the CDN bundle injects this sheet at the top of <head>. A host that links this file after its\n * own CSS orders the layers itself: `@layer roxy, base, components, utilities;` before either sheet.\n *\n * Every selector is ALSO wrapped in :where(), which has ZERO specificity, so a host declaration\n * still wins wherever a layer cannot decide it, under every dark signal alike.\n *\n * The theme presets in styles/themes/*.css write into roxy.theme; both files declare this order,\n * so either one loading alone still ranks a preset above these defaults.\n */\n@layer roxy.tokens, roxy.theme;\n\n@layer roxy.tokens {\n\t/* Bases, light. Also the mode-specific derivations: accent ink and status inks mix toward black. */\n\t:where(:root, :host) {\n\t\t/* A real inherited property: native controls, popups and scrollbars follow it. */\n\t\tcolor-scheme: light;\n\n\t\t--roxy-bg: #ffffff;\n\t\t--roxy-fg: #0a0a0a;\n\t\t--roxy-accent: #4a6297;\n\t\t--roxy-success: #16a34a;\n\t\t--roxy-warning: #ea580c;\n\t\t--roxy-danger: #dc2626;\n\t\t--roxy-info: #0284c7;\n\n\t\t/* Accent and status inks: 70 percent toward black reads at AA on the card and on a tint of the base. */\n\t\t--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);\n\t\t--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);\n\t\t--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);\n\t\t--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);\n\t\t--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);\n\n\t\t/* Unset on purpose: a component inherits the host page font until a host or preset sets one. */\n\t\t--roxy-font-sans: initial;\n\t\t--roxy-font-mono:\n\t\t\tui-monospace, \"SF Mono\", \"Cascadia Code\", Menlo, Consolas,\n\t\t\t\"Liberation Mono\", monospace;\n\n\t\t--roxy-text-base: 1rem;\n\t\t--roxy-text-scale: 1.15;\n\t\t--roxy-weight-normal: 400;\n\t\t--roxy-weight-bold: 600;\n\t\t--roxy-leading-tight: 1.25;\n\t\t--roxy-leading-normal: 1.5;\n\t\t--roxy-tracking-tight: -0.01em;\n\t\t--roxy-tracking-normal: 0em;\n\n\t\t--roxy-space-unit: 0.25rem;\n\t\t--roxy-radius: 6px;\n\n\t\t--roxy-motion-duration: 200ms;\n\t\t--roxy-motion-easing: cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t/* Derived roles, identical in every mode, restated on every theme trigger so they follow its bases. */\n\t:where(:root, :host, [data-theme], .light, .dark) {\n\t\t/* Flat: the card is the page colour, separated by a hairline. */\n\t\t--roxy-surface: var(--roxy-bg);\n\t\t--roxy-primary: var(--roxy-fg);\n\t\t--roxy-secondary: color-mix(in oklab, var(--roxy-fg) 78%, var(--roxy-bg));\n\t\t--roxy-muted: color-mix(in oklab, var(--roxy-fg) 60%, var(--roxy-bg));\n\t\t--roxy-border: color-mix(in oklab, var(--roxy-fg) 14%, var(--roxy-bg));\n\t\t--roxy-ring: color-mix(in srgb, var(--roxy-accent) 40%, transparent);\n\t\t--roxy-heat: var(--roxy-danger);\n\n\t\t--roxy-font-display: var(--roxy-font-sans);\n\n\t\t--roxy-text-sm: calc(var(--roxy-text-base) / var(--roxy-text-scale));\n\t\t--roxy-text-xs: calc(var(--roxy-text-sm) / var(--roxy-text-scale));\n\t\t--roxy-text-lg: calc(var(--roxy-text-base) * var(--roxy-text-scale));\n\t\t--roxy-text-xl: calc(\n\t\t\tvar(--roxy-text-lg) *\n\t\t\tvar(--roxy-text-scale) *\n\t\t\tvar(--roxy-text-scale)\n\t\t);\n\n\t\t--roxy-space-xs: var(--roxy-space-unit);\n\t\t--roxy-space-sm: calc(var(--roxy-space-unit) * 2);\n\t\t--roxy-space-md: calc(var(--roxy-space-unit) * 4);\n\t\t--roxy-space-lg: calc(var(--roxy-space-unit) * 6);\n\t\t--roxy-space-xl: calc(var(--roxy-space-unit) * 10);\n\t\t--roxy-line-thick: calc(var(--roxy-space-unit) / 2);\n\t\t--roxy-touch: calc(var(--roxy-space-unit) * 11);\n\n\t\t--roxy-radius-sm: calc(var(--roxy-radius) / 2);\n\t\t--roxy-radius-md: var(--roxy-radius);\n\t\t--roxy-radius-lg: calc(var(--roxy-radius) * 5 / 3);\n\t\t--roxy-radius-full: 9999px;\n\n\t\t/* Flat surfaces cast nothing; only a floating layer (a popup, an enlarged chart) lifts. */\n\t\t--roxy-shadow-sm: none;\n\t\t--roxy-shadow-md: 0 4px 12px color-mix(in srgb, black 10%, transparent);\n\t\t--roxy-shadow-lg: 0 12px 32px color-mix(in srgb, black 18%, transparent);\n\t}\n\n\t/* Bases, dark, by system preference. Inks mix toward white so they read on a dark card. */\n\t@media (prefers-color-scheme: dark) {\n\t\t:where(:root, :host) {\n\t\t\tcolor-scheme: dark;\n\t\t\t--roxy-bg: #0a0a0a;\n\t\t\t--roxy-fg: #fafafa;\n\t\t\t--roxy-accent: #92aade;\n\t\t\t--roxy-success: #22c55e;\n\t\t\t--roxy-warning: #fb923c;\n\t\t\t--roxy-danger: #ef4444;\n\t\t\t--roxy-info: #38bdf8;\n\n\t\t\t--roxy-accent-ink: var(--roxy-accent);\n\t\t\t--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);\n\t\t\t--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);\n\t\t\t--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);\n\t\t\t--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white);\n\t\t}\n\t}\n\n\t/* Explicit light: beats the OS dark block when the host chooses light. */\n\t:where(\n\t\t:root[data-theme=\"light\"],\n\t\t[data-theme=\"light\"],\n\t\t:root.light,\n\t\t.light,\n\t\t:host([data-theme=\"light\"])\n\t) {\n\t\tcolor-scheme: light;\n\t\t--roxy-bg: #ffffff;\n\t\t--roxy-fg: #0a0a0a;\n\t\t--roxy-accent: #4a6297;\n\t\t--roxy-success: #16a34a;\n\t\t--roxy-warning: #ea580c;\n\t\t--roxy-danger: #dc2626;\n\t\t--roxy-info: #0284c7;\n\n\t\t--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);\n\t\t--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);\n\t\t--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);\n\t\t--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);\n\t\t--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);\n\t}\n\n\t/* Explicit dark: a .dark class or data-theme=\"dark\" on any ancestor themes every component below it. */\n\t:where(\n\t\t:root[data-theme=\"dark\"],\n\t\t[data-theme=\"dark\"],\n\t\t:root.dark,\n\t\t.dark,\n\t\t:host([data-theme=\"dark\"])\n\t) {\n\t\tcolor-scheme: dark;\n\t\t--roxy-bg: #0a0a0a;\n\t\t--roxy-fg: #fafafa;\n\t\t--roxy-accent: #92aade;\n\t\t--roxy-success: #22c55e;\n\t\t--roxy-warning: #fb923c;\n\t\t--roxy-danger: #ef4444;\n\t\t--roxy-info: #38bdf8;\n\n\t\t--roxy-accent-ink: var(--roxy-accent);\n\t\t--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);\n\t\t--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);\n\t\t--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);\n\t\t--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white);\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t:where(:root, :host) {\n\t\t\t--roxy-motion-duration: 0ms;\n\t\t}\n\t}\n}\n";
1
+ export declare const ROXY_UI_TOKENS_CSS = "@layer roxy.tokens,roxy.theme;@layer roxy.tokens{:where(:root,:host){color-scheme:light;--roxy-bg: #ffffff;--roxy-fg: #0a0a0a;--roxy-accent: #4a6297;--roxy-success: #16a34a;--roxy-warning: #ea580c;--roxy-danger: #dc2626;--roxy-info: #0284c7;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);--roxy-font-sans: initial;--roxy-font-mono: ui-monospace, \"SF Mono\", \"Cascadia Code\", Menlo, Consolas, \"Liberation Mono\", monospace;--roxy-text-base: 1rem;--roxy-text-scale: 1.15;--roxy-weight-normal: 400;--roxy-weight-bold: 600;--roxy-leading-tight: 1.25;--roxy-leading-normal: 1.5;--roxy-tracking-tight: -0.01em;--roxy-tracking-normal: 0em;--roxy-space-unit: 0.25rem;--roxy-radius: 6px;--roxy-motion-duration: 200ms;--roxy-motion-easing: cubic-bezier(0.4, 0, 0.2, 1)}:where(:root,:host,[data-theme],.light,.dark){--roxy-surface: var(--roxy-bg);--roxy-primary: var(--roxy-fg);--roxy-secondary: color-mix(in oklab, var(--roxy-fg) 78%, var(--roxy-bg));--roxy-muted: color-mix(in oklab, var(--roxy-fg) 60%, var(--roxy-bg));--roxy-border: color-mix(in oklab, var(--roxy-fg) 14%, var(--roxy-bg));--roxy-ring: color-mix(in srgb, var(--roxy-accent) 40%, transparent);--roxy-heat: var(--roxy-danger);--roxy-font-display: var(--roxy-font-sans);--roxy-text-sm: calc(var(--roxy-text-base) / var(--roxy-text-scale));--roxy-text-xs: calc(var(--roxy-text-sm) / var(--roxy-text-scale));--roxy-text-lg: calc(var(--roxy-text-base) * var(--roxy-text-scale));--roxy-text-xl: calc( var(--roxy-text-lg) * var(--roxy-text-scale) * var(--roxy-text-scale) );--roxy-space-xs: var(--roxy-space-unit);--roxy-space-sm: calc(var(--roxy-space-unit) * 2);--roxy-space-md: calc(var(--roxy-space-unit) * 4);--roxy-space-lg: calc(var(--roxy-space-unit) * 6);--roxy-space-xl: calc(var(--roxy-space-unit) * 10);--roxy-line-thick: calc(var(--roxy-space-unit) / 2);--roxy-touch: calc(var(--roxy-space-unit) * 11);--roxy-radius-sm: calc(var(--roxy-radius) / 2);--roxy-radius-md: var(--roxy-radius);--roxy-radius-lg: calc(var(--roxy-radius) * 5 / 3);--roxy-radius-full: 9999px;--roxy-shadow-sm: none;--roxy-shadow-md: 0 4px 12px color-mix(in srgb, black 10%, transparent);--roxy-shadow-lg: 0 12px 32px color-mix(in srgb, black 18%, transparent)}@media(prefers-color-scheme:dark){:where(:root,:host){color-scheme:dark;--roxy-bg: #0a0a0a;--roxy-fg: #fafafa;--roxy-accent: #92aade;--roxy-success: #22c55e;--roxy-warning: #fb923c;--roxy-danger: #ef4444;--roxy-info: #38bdf8;--roxy-accent-ink: var(--roxy-accent);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white)}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme=\"light\"])){color-scheme:light;--roxy-bg: #ffffff;--roxy-fg: #0a0a0a;--roxy-accent: #4a6297;--roxy-success: #16a34a;--roxy-warning: #ea580c;--roxy-danger: #dc2626;--roxy-info: #0284c7;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black)}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme=\"dark\"])){color-scheme:dark;--roxy-bg: #0a0a0a;--roxy-fg: #fafafa;--roxy-accent: #92aade;--roxy-success: #22c55e;--roxy-warning: #fb923c;--roxy-danger: #ef4444;--roxy-info: #38bdf8;--roxy-accent-ink: var(--roxy-accent);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white)}@media(prefers-reduced-motion:reduce){:where(:root,:host){--roxy-motion-duration: 0ms}}}";