@keystone-sites/marketing-design-system 1.0.6 → 1.0.7
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/grid/engine.css +3 -4
- package/package.json +1 -1
- package/primitives/text.css +7 -5
package/grid/engine.css
CHANGED
|
@@ -69,10 +69,9 @@
|
|
|
69
69
|
/* The base band interpolates 384→576 and extrapolates below 384. */
|
|
70
70
|
--wA: calc((48px - var(--t)) / 16);
|
|
71
71
|
--wB: calc((var(--t) - 32px) / 16);
|
|
72
|
-
/*
|
|
73
|
-
(
|
|
74
|
-
|
|
75
|
-
--kB: tan(atan2(var(--wB), 1px));
|
|
72
|
+
/* Type multiplies these px weights by its unitless design sizes
|
|
73
|
+
directly (primitives/text.css); no unit-stripping trig, which iOS
|
|
74
|
+
Safari has resolved wrongly. */
|
|
76
75
|
}
|
|
77
76
|
|
|
78
77
|
/* Midpoint gates select the nearest anchor. Compressed slices zoom type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystone-sites/marketing-design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Keystone's marketing design system: tokens, the tick grid, type, primitives, site chrome, and the landing kit. Source-shipped CSS and TSX for Next.js consumers.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
package/primitives/text.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
inherit, so a container may name the ramp for the plain `type` labels
|
|
34
34
|
inside it (`.csi-grid`); an element's own ts- class resets only --fs-rm.
|
|
35
35
|
|
|
36
|
-
--fs/--lh are the fluid
|
|
36
|
+
--fs/--lh are the fluid px results; --fs-band/--lh-band are the
|
|
37
37
|
current band's anchor alone, for a component that scales through its
|
|
38
38
|
own unit and pins `--fs-px: calc(var(--_u) * var(--fs-band))`.
|
|
39
39
|
|
|
@@ -71,10 +71,12 @@
|
|
|
71
71
|
--lh-band: var(--lh-rm);
|
|
72
72
|
--_lh-next: var(--lh-rm-to, var(--lh-band));
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
/* px weights times unitless anchors gives px: the same interpolation
|
|
75
|
+
the grid uses for geometry, with no unit-stripping step. */
|
|
76
|
+
--fs: calc(var(--wA) * var(--fs-band) + var(--wB) * var(--_fs-next));
|
|
77
|
+
--lh: calc(var(--wA) * var(--lh-band) + var(--wB) * var(--_lh-next));
|
|
78
|
+
font-size: var(--fs-px, var(--fs));
|
|
79
|
+
line-height: var(--lh-px, var(--lh));
|
|
78
80
|
}
|
|
79
81
|
@container (--rs) {
|
|
80
82
|
.type:not(.type-fixed) {
|