@bsuite/theme 0.11.0 → 0.11.1
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/preset-v4.css +14 -0
package/package.json
CHANGED
package/src/preset-v4.css
CHANGED
|
@@ -293,6 +293,20 @@
|
|
|
293
293
|
--drop-shadow-xl: 0 9px 7px var(--shadow-ink);
|
|
294
294
|
--drop-shadow-2xl: 0 25px 25px var(--shadow-ink-deep);
|
|
295
295
|
|
|
296
|
+
/* THE BARE DEFAULT KEYS. Added 0.11.1.
|
|
297
|
+
0.11.0 rebound 26 SUFFIXED keys and missed the two unsuffixed ones, so the
|
|
298
|
+
`shadow` and `drop-shadow` utilities (no size suffix) kept painting pure
|
|
299
|
+
black after the upgrade. Found by measuring crm7's compiled bundle after
|
|
300
|
+
the rollout: pure-black-painting declarations fell 41 -> 18 instead of to
|
|
301
|
+
the expected floor, and two of the survivors were `.shadow` rules.
|
|
302
|
+
Verified against the INSTALLED tailwindcss@4.3.3 theme.css, which defines
|
|
303
|
+
exactly these two bare keys and no bare --inset-shadow or --text-shadow —
|
|
304
|
+
so only two are rebound here. Do not invent the other two.
|
|
305
|
+
Geometry and alpha ratios are Tailwind's; only the paint changes.
|
|
306
|
+
Upstream --shadow equals its --shadow-sm, and that equality is preserved. */
|
|
307
|
+
--shadow: 0 1px 3px 0 var(--shadow-ink), 0 1px 2px -1px var(--shadow-ink);
|
|
308
|
+
--drop-shadow: 0 1px 2px var(--shadow-ink), 0 1px 1px var(--shadow-ink-soft);
|
|
309
|
+
|
|
296
310
|
--text-shadow-2xs: 0px 1px 0px var(--shadow-ink);
|
|
297
311
|
--text-shadow-xs: 0px 1px 1px var(--shadow-ink-deep);
|
|
298
312
|
--text-shadow-sm: 0px 1px 0px var(--shadow-ink-soft), 0px 1px 1px var(--shadow-ink-soft), 0px 2px 2px var(--shadow-ink-soft);
|