@kanzo-tech/theme 0.23.1 → 0.25.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.
package/tokens.css CHANGED
@@ -172,10 +172,9 @@
172
172
  /* Fonts. Declared as values in a plain `@theme`, never as `var(--font-x, …)` of themselves inside
173
173
  the inline bridge: that spelling made `--font-mono` refer to its own name, which is a cycle, so the
174
174
  property computed to nothing and a host that set it without a fallback lost the face entirely.
175
- `font-mono` compiles to `var(--font-mono)`, read on the element, so `[data-mono-font]` and a theme
176
- that carries a face still win. The stacks are Geist's — the defaults `themes.css` declares as
177
- `data-font="geist"` / `data-mono-font="geist-mono"` — each falling back to the system face when the
178
- host has not loaded the webfont. `static`, so the variables are emitted even where no utility asks
175
+ `font-mono` compiles to `var(--font-mono)`, read on the element, so a theme that carries a face
176
+ still wins. The faces are the theme's: these are what a theme that names none falls back to —
177
+ Geist's stacks, each falling back to the system face when the host has not loaded the webfont. `static`, so the variables are emitted even where no utility asks
179
178
  for them: `CodeEditor` reads `--font-mono` from a style object. */
180
179
  @theme static {
181
180
  --font-sans: var(--font-geist-sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
@@ -286,8 +285,8 @@
286
285
  --chart-8: #6a8a2a;
287
286
 
288
287
  /* The shape knobs with no theme applied. Plain values, never `var()` of one another — see the
289
- inheritance note on the radius scale. `themes.css` re-points them per `data-radius`, which is
290
- the user's preference layered over the theme's own declaration.
288
+ inheritance note on the radius scale. A theme declares its own; there is no user preference
289
+ layered over them.
291
290
 
292
291
  There is no `--radius` any more. It was one knob standing for three, and the size-named
293
292
  utilities now answer to `--radius-field` — `rounded-lg` sits on a button far more often than