@bsuite/theme 0.8.0 → 0.9.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 -1
- package/src/css/vars.css +13 -0
- package/src/preset-v4.css +11 -0
package/package.json
CHANGED
package/src/css/vars.css
CHANGED
|
@@ -127,6 +127,19 @@
|
|
|
127
127
|
--role-success: var(--neon-electric-teal); /* was green — 0.043 from red */
|
|
128
128
|
--role-info: var(--neon-electric-cyan); /* oklch(0.769 0.132 191.7) */
|
|
129
129
|
|
|
130
|
+
/* ═══ TYPE ═══ Lifted from the D2C contract, which specified a font
|
|
131
|
+
stack this package never shipped. Apps were left to pick their own, so
|
|
132
|
+
the estate ran system-ui, Inter and JetBrains Mono simultaneously while
|
|
133
|
+
the contract asked for one family. Same shape of gap as the heading
|
|
134
|
+
ramp: written down, never implemented. */
|
|
135
|
+
--font-display: 'Geist Variable', Geist, system-ui, sans-serif;
|
|
136
|
+
--font-body: 'Geist Variable', Geist, system-ui, sans-serif;
|
|
137
|
+
--font-mono: 'Geist Mono Variable', 'Geist Mono', ui-monospace, monospace;
|
|
138
|
+
--track-display: -0.028em;
|
|
139
|
+
--track-heading: -0.018em;
|
|
140
|
+
--track-body: 0em;
|
|
141
|
+
--track-eyebrow: 0.09em;
|
|
142
|
+
|
|
130
143
|
/* ═══ INFORMATIONAL SCALE — categorical, NOT semantic ═══
|
|
131
144
|
Added 2026-08-03 by operator ruling: "informational hues might be handy
|
|
132
145
|
to stand out against the style colour palette."
|
package/src/preset-v4.css
CHANGED
|
@@ -168,6 +168,17 @@
|
|
|
168
168
|
--color-text-on-success: var(--text-on-success);
|
|
169
169
|
--color-text-on-warning: var(--text-on-warning);
|
|
170
170
|
|
|
171
|
+
/* ============================================================
|
|
172
|
+
TYPE — the contract's stack, bridged to Tailwind's font-* utilities.
|
|
173
|
+
`font-sans` and `font-mono` are what components actually write, so
|
|
174
|
+
without this bridge the tokens exist and nothing uses them. Every D2C
|
|
175
|
+
app had been declaring its own --font-sans locally instead, which is how
|
|
176
|
+
the estate came to run system-ui, Inter and JetBrains Mono at once.
|
|
177
|
+
============================================================ */
|
|
178
|
+
--font-sans: var(--font-body);
|
|
179
|
+
--font-display: var(--font-display);
|
|
180
|
+
--font-mono: var(--font-mono);
|
|
181
|
+
|
|
171
182
|
/* ============================================================
|
|
172
183
|
ANIMATIONS
|
|
173
184
|
============================================================ */
|