@aiaiai-pt/design-system 0.8.2 → 0.8.3
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/tokens/semantic.css +10 -3
package/package.json
CHANGED
package/tokens/semantic.css
CHANGED
|
@@ -97,11 +97,18 @@
|
|
|
97
97
|
--type-body-sm-tracking: var(--raw-tracking-micro);
|
|
98
98
|
--type-body-sm-font: var(--font-sans);
|
|
99
99
|
|
|
100
|
+
/* Form labels (#63 typography). Was uppercase-monospace-light-wider —
|
|
101
|
+
the dev-tool look the action-editor walk flagged as the
|
|
102
|
+
highest-leverage single change. Now sentence-case body sans, medium
|
|
103
|
+
weight, normal tracking. Monospace is reserved for code tokens
|
|
104
|
+
(keys, layout codes, template placeholders), NOT labels. Consumers
|
|
105
|
+
should pass labels as `"Field name"`, not `"FIELD NAME"`. See
|
|
106
|
+
dev_docs/specs/typography-form-labels.md (ADR). */
|
|
100
107
|
--type-label-size: var(--raw-font-size-12);
|
|
101
|
-
--type-label-weight: var(--raw-font-weight-
|
|
108
|
+
--type-label-weight: var(--raw-font-weight-medium);
|
|
102
109
|
--type-label-leading: var(--raw-line-height-heading);
|
|
103
|
-
--type-label-tracking: var(--raw-tracking-
|
|
104
|
-
--type-label-font: var(--font-
|
|
110
|
+
--type-label-tracking: var(--raw-tracking-normal);
|
|
111
|
+
--type-label-font: var(--font-sans);
|
|
105
112
|
|
|
106
113
|
--type-data-size: var(--raw-font-size-14);
|
|
107
114
|
--type-data-weight: var(--raw-font-weight-regular);
|