@atelier-ui/angular 0.2.13 → 0.2.14
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
CHANGED
package/src/styles/tokens.css
CHANGED
|
@@ -38,6 +38,18 @@
|
|
|
38
38
|
--ui-letter-spacing-wide: 0.01em;
|
|
39
39
|
--ui-letter-spacing-uppercase: 0.08em;
|
|
40
40
|
--ui-font-size-3xl: 2.25rem;
|
|
41
|
+
|
|
42
|
+
/* ── Control heights ────────────────────────────────────────
|
|
43
|
+
* The height of an interactive control is the primitive; its block padding
|
|
44
|
+
* is DERIVED from it (ADR-0041):
|
|
45
|
+
* padding-block: calc((height - line-height * font-size) / 2 - border)
|
|
46
|
+
* Stating the height and deriving the padding is what makes an input and a
|
|
47
|
+
* button the same height. Stating the padding and hoping, which is what the
|
|
48
|
+
* library did until 2026-08-26, made them 6px apart.
|
|
49
|
+
*/
|
|
50
|
+
--ui-control-height-sm: 2rem;
|
|
51
|
+
--ui-control-height-md: 2.5rem;
|
|
52
|
+
--ui-control-height-lg: 3rem;
|
|
41
53
|
--ui-font-weight-normal: 400;
|
|
42
54
|
--ui-font-weight-medium: 500;
|
|
43
55
|
--ui-font-weight-semibold: 600;
|