@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/design-system",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Design system tokens and Svelte components for aiaiai products",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -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-regular);
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-wider);
104
- --type-label-font: var(--font-mono);
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);