@warmio/design 2.0.0 → 2.1.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/README.md +3 -1
- package/fonts.css +1 -0
- package/package.json +1 -1
- package/theme.css +1 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ import { Logo, WarmLogoIcon } from '@warmio/design/logo';
|
|
|
17
17
|
The product UI uses Inter, self-hosted from `fonts/` as wght variable latin and
|
|
18
18
|
latin-ext subsets (normal and italic, Inter 4.001 from `@fontsource-variable/inter`
|
|
19
19
|
5.3.0, OFL in `LICENSES/inter-OFL-1.1.txt`). No font loads from Google.
|
|
20
|
-
JetBrains Mono remains for
|
|
20
|
+
Numbers and money use the `--font-numeric` Inter role with tabular figures; JetBrains Mono remains for code, keys, and identifiers. The interface uses regular (400) and medium (500) weights.
|
|
21
21
|
|
|
22
22
|
`--accent-solid` is the one chromatic accent for links, badges, and highlights.
|
|
23
23
|
|
|
@@ -34,6 +34,8 @@ duplicate tokens (`--secondary` into `--accent`, `--*-bg-muted` into `--*-bg-sub
|
|
|
34
34
|
`--focus-ring-width`, and `--radius-sm/md`. Removed: `themes.css`, `--brand-*`, `--logo-gradient-*`,
|
|
35
35
|
`--marketing-*`, `--overlay-*`, `--highlight-*`, `--glass-*`, `--transition-*`, `--button-*` sizing and
|
|
36
36
|
mix tokens, `--input-*`, `--table-*`, `--card-padding`, `--spacing-md/xl/2xl`, and `--breakpoint-*`.
|
|
37
|
+
It also adds the `--font-numeric` role (Inter) for product numbers and money, exposed as the
|
|
38
|
+
`font-numeric` Tailwind utility; pair it with `tabular-nums`.
|
|
37
39
|
|
|
38
40
|
The `1.11.0` release added the 18px `--type-size-large` token for
|
|
39
41
|
large body copy, self-hosts Inter instead of importing it from Google Fonts, and
|
package/fonts.css
CHANGED
package/package.json
CHANGED