@warmio/design 4.4.0 → 4.5.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.
@@ -1,4 +1,4 @@
1
- Copyright 2025 The Google Sans Code Project Authors (github.com/googlefonts/googlesans-code)
1
+ Copyright 2025 The Paper-Mono.Git Project Authors (https://github.com/paper-design/paper-mono.git)
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
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
- Numbers and money use the `--font-numeric` Inter role with tabular figures; Google Sans Code is used for code, keys, and identifiers. The interface uses regular (400) and medium (500) weights.
20
+ Numbers and money use the `--font-numeric` Inter role with tabular figures; Paper Mono is used 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
 
Binary file
package/fonts.css CHANGED
@@ -53,54 +53,23 @@
53
53
  }
54
54
 
55
55
  @font-face {
56
- font-family: 'Google Sans Code';
56
+ font-family: 'Paper Mono';
57
57
  font-style: normal;
58
58
  font-display: swap;
59
- font-weight: 300 800;
60
- src: url('./fonts/google-sans-code-latin-ext-wght-normal.woff2') format('woff2-variations');
61
- unicode-range:
62
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
63
- U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
64
- U+A720-A7FF;
65
- }
66
-
67
- @font-face {
68
- font-family: 'Google Sans Code';
69
- font-style: normal;
70
- font-display: swap;
71
- font-weight: 300 800;
72
- src: url('./fonts/google-sans-code-latin-wght-normal.woff2') format('woff2-variations');
73
- unicode-range:
74
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
75
- U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
59
+ font-weight: 100 800;
60
+ src: url('./fonts/paper-mono-wght.woff2') format('woff2-variations');
76
61
  }
77
62
 
78
- @font-face {
79
- font-family: 'Google Sans Code';
80
- font-style: italic;
81
- font-display: swap;
82
- font-weight: 300 800;
83
- src: url('./fonts/google-sans-code-latin-ext-wght-italic.woff2') format('woff2-variations');
84
- unicode-range:
85
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
86
- U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
87
- U+A720-A7FF;
88
- }
89
-
90
- @font-face {
91
- font-family: 'Google Sans Code';
92
- font-style: italic;
93
- font-display: swap;
94
- font-weight: 300 800;
95
- src: url('./fonts/google-sans-code-latin-wght-italic.woff2') format('woff2-variations');
96
- unicode-range:
97
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
98
- U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
63
+ @font-feature-values 'Paper Mono' {
64
+ @character-variant {
65
+ single-story-a: 1;
66
+ }
99
67
  }
100
68
 
101
69
  :root {
102
- --font-mono: 'Google Sans Code', ui-monospace, monospace;
70
+ --font-mono: 'Paper Mono', ui-monospace, monospace;
103
71
  --font-sans: 'Inter', sans-serif;
104
72
  --font-serif: 'Merriweather', Georgia, serif;
105
73
  --font-numeric: var(--font-mono);
74
+ font-variant-alternates: character-variant(single-story-a);
106
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmio/design",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "Warm's public design contract: CSS tokens and the Logo primitive.",
5
5
  "license": "MIT",
6
6
  "type": "module",