@bsuite/theme 0.12.1 → 0.13.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/package.json +1 -5
- package/src/css/fonts/geist-latin-ext-wght-normal.woff2 +0 -0
- package/src/css/fonts/geist-latin-wght-normal.woff2 +0 -0
- package/src/css/fonts/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/src/css/fonts/geist-mono-latin-wght-normal.woff2 +0 -0
- package/src/css/fonts.css +23 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bsuite/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -73,9 +73,5 @@
|
|
|
73
73
|
"typescript": "~6.0.3",
|
|
74
74
|
"vite": "^8.0.16",
|
|
75
75
|
"vitest": "^4.1.8"
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@fontsource-variable/geist": "^5.3.0",
|
|
79
|
-
"@fontsource-variable/geist-mono": "^5.3.0"
|
|
80
76
|
}
|
|
81
77
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/css/fonts.css
CHANGED
|
@@ -52,6 +52,25 @@
|
|
|
52
52
|
*
|
|
53
53
|
* - **variable, not static weights.** One file per subset covers 100–900. The
|
|
54
54
|
* eight discrete weights it replaces were eight separate downloads.
|
|
55
|
+
*
|
|
56
|
+
* THE FILES ARE VENDORED, and that is deliberate rather than lazy. 0.12.x
|
|
57
|
+
* referenced them as BARE SPECIFIERS —
|
|
58
|
+
* `url(@fontsource-variable/geist/files/…woff2)` — which a bundler can only
|
|
59
|
+
* resolve if the CONSUMING app also has @fontsource-variable/geist in its own
|
|
60
|
+
* resolution. conduit and throughput did, because they had been importing the
|
|
61
|
+
* package directly, so their builds emitted the four files and looked correct.
|
|
62
|
+
* R80.4 did not, and its built CSS kept the bare specifier VERBATIM: at runtime
|
|
63
|
+
* the browser requests a literal path beginning `@fontsource-variable/`, gets a
|
|
64
|
+
* 404, and silently falls back — the CSS reads correct and fetches nothing.
|
|
65
|
+
*
|
|
66
|
+
* Two apps passing was a FALSE POSITIVE caused by their pre-existing
|
|
67
|
+
* dependency. R80.4 — the one app with no font dependency of its own — was the
|
|
68
|
+
* honest test, and it is exactly the app this file was written for.
|
|
69
|
+
*
|
|
70
|
+
* Four relative `./fonts/*.woff2` files, 83,736 B total, resolve identically in
|
|
71
|
+
* every consumer with no dependency at all. The package's `dependencies` field
|
|
72
|
+
* is empty again as a result.
|
|
73
|
+
|
|
55
74
|
*
|
|
56
75
|
* The `unicode-range` values are copied verbatim from crm7's own working faces
|
|
57
76
|
* rather than re-derived. Re-typing a subset range is how a subset silently loses
|
|
@@ -80,7 +99,7 @@
|
|
|
80
99
|
font-style: normal;
|
|
81
100
|
font-display: swap;
|
|
82
101
|
font-weight: 100 900;
|
|
83
|
-
src: url('
|
|
102
|
+
src: url('./fonts/geist-latin-wght-normal.woff2')
|
|
84
103
|
format('woff2-variations');
|
|
85
104
|
unicode-range:
|
|
86
105
|
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
@@ -92,7 +111,7 @@
|
|
|
92
111
|
font-style: normal;
|
|
93
112
|
font-display: swap;
|
|
94
113
|
font-weight: 100 900;
|
|
95
|
-
src: url('
|
|
114
|
+
src: url('./fonts/geist-latin-ext-wght-normal.woff2')
|
|
96
115
|
format('woff2-variations');
|
|
97
116
|
unicode-range:
|
|
98
117
|
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
@@ -115,7 +134,7 @@
|
|
|
115
134
|
font-style: normal;
|
|
116
135
|
font-display: swap;
|
|
117
136
|
font-weight: 100 900;
|
|
118
|
-
src: url('
|
|
137
|
+
src: url('./fonts/geist-mono-latin-wght-normal.woff2')
|
|
119
138
|
format('woff2-variations');
|
|
120
139
|
unicode-range:
|
|
121
140
|
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
@@ -127,7 +146,7 @@
|
|
|
127
146
|
font-style: normal;
|
|
128
147
|
font-display: swap;
|
|
129
148
|
font-weight: 100 900;
|
|
130
|
-
src: url('
|
|
149
|
+
src: url('./fonts/geist-mono-latin-ext-wght-normal.woff2')
|
|
131
150
|
format('woff2-variations');
|
|
132
151
|
unicode-range:
|
|
133
152
|
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|