@invana/ui 0.0.29 → 0.0.30

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/README.md CHANGED
@@ -33,7 +33,7 @@ import '@invana/ui/styles.css';
33
33
  ```
34
34
 
35
35
  The precompiled sheet gives you CSS custom properties but **not** the `@theme` tokens — your own
36
- Tailwind will regenerate `text-sm` at its stock `0.875rem` rather than the kit's alias. Prefer the
36
+ Tailwind will regenerate `text-sm` at its stock `0.875rem` rather than the kit's value. Prefer the
37
37
  first form when you have a Tailwind build.
38
38
 
39
39
  ## Usage
@@ -83,10 +83,16 @@ Also exported: `cn` and the `useOverflowItems` hook.
83
83
 
84
84
  ## Type scale
85
85
 
86
- Components declare no font size. Default text inherits the root, and text that is deliberately
87
- subordinate — a count, a timing, a row's subtitle — uses `text-meta`. Setting `html` to 13px gives
88
- you an application; 16px gives you a site, and every component follows. Don't hard-code
89
- `text-sm` / `text-xs` in consuming code: they are compatibility aliases, not options.
86
+ Three rungs — `base` · `sm` · `xs` — and the root is the only dial.
87
+
88
+ Components declare no font size: default text inherits the root. Text that is deliberately
89
+ subordinate — a count, a timing, a row's subtitle — uses `text-sm`, and the genuinely small uses
90
+ `text-xs`. Setting `html` to 13px gives you an application (13 / 12 / 11); 16px gives you a site
91
+ (16 / 14.8 / 13.5), and every component follows, because each step is a ratio of the root.
92
+
93
+ There is no `text-meta`. It was a third name over the same 12px as `text-xs`, while `text-sm` was an
94
+ alias of `base` — four class names over two sizes, with `text-sm` not meaning small. Retiring it was
95
+ a 1:1 rename, so no pixel moved.
90
96
 
91
97
  ## Documentation
92
98