@podoba/tailwind 0.0.12 → 0.0.13
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/theme.css +8 -6
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -69,12 +69,14 @@
|
|
|
69
69
|
--radius-2xl: var(--radius-2xl);
|
|
70
70
|
--radius-panel: var(--radius-panel);
|
|
71
71
|
|
|
72
|
-
/* spacing
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
/* spacing — only the off-grid `nav-x` (13px). We deliberately do NOT map
|
|
73
|
+
* xs/sm/md/lg/xl into --spacing-*: in v4 that namespace also feeds the
|
|
74
|
+
* sizing utilities (max-w/min-w/w/h/size/basis), where xs…xl are the
|
|
75
|
+
* `--container-*` t-shirt scale (max-w-md = 28rem). Naming spacing keys
|
|
76
|
+
* xs…xl shadows those (max-w-md would collapse to 1rem). And they'd be
|
|
77
|
+
* redundant anyway — the token values are exactly the numeric scale
|
|
78
|
+
* (--space-md 1rem = p-4, sm = p-2, lg = p-6, xl = p-8, xs = p-1), so use
|
|
79
|
+
* the numeric utilities for spacing and leave xs…xl to sizing. */
|
|
78
80
|
--spacing-nav-x: var(--space-nav-x);
|
|
79
81
|
|
|
80
82
|
/* font families */
|