@alea-design/tokens 0.9.0 → 0.10.1

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.
@@ -567,7 +567,7 @@
567
567
  },
568
568
  {
569
569
  "name": "--alea-font-size-sm",
570
- "description": "Labels, small text (dimension: 0.8125rem)"
570
+ "description": "DEPRECATED: an alias of md (14 px, it was 13 px before 0.10), kept so existing code keeps working. Use xs (12 px) for labels and supporting data, md (14 px) for text read as a sentence; this token is removed in the next major version. (dimension: 0.875rem)"
571
571
  },
572
572
  {
573
573
  "name": "--alea-font-size-md",
package/dist/figma.json CHANGED
@@ -3769,10 +3769,10 @@
3769
3769
  {
3770
3770
  "name": "font/size/sm",
3771
3771
  "type": "FLOAT",
3772
- "description": "Labels, small text",
3772
+ "description": "DEPRECATED: an alias of md (14 px, it was 13 px before 0.10), kept so existing code keeps working. Use xs (12 px) for labels and supporting data, md (14 px) for text read as a sentence; this token is removed in the next major version.",
3773
3773
  "values": {
3774
- "Comfy": 13,
3775
- "Compact": 13
3774
+ "Comfy": 14,
3775
+ "Compact": 14
3776
3776
  },
3777
3777
  "scopes": [
3778
3778
  "FONT_SIZE"
package/dist/index.js CHANGED
@@ -586,7 +586,7 @@ export const tokens = {
586
586
  "css": "var(--alea-font-size-xs)"
587
587
  },
588
588
  "font.size.sm": {
589
- "value": "0.8125rem",
589
+ "value": "0.875rem",
590
590
  "css": "var(--alea-font-size-sm)"
591
591
  },
592
592
  "font.size.md": {
package/dist/tokens.css CHANGED
@@ -142,7 +142,7 @@
142
142
  --alea-font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
143
143
  --alea-font-size-2xs: var(--alea-font-size-xs);
144
144
  --alea-font-size-xs: 0.75rem;
145
- --alea-font-size-sm: 0.8125rem;
145
+ --alea-font-size-sm: var(--alea-font-size-md);
146
146
  --alea-font-size-md: 0.875rem;
147
147
  --alea-font-size-base: 1rem;
148
148
  --alea-font-size-lg: 1.125rem;
package/dist/tokens.json CHANGED
@@ -585,7 +585,7 @@
585
585
  "css": "var(--alea-font-size-xs)"
586
586
  },
587
587
  "font.size.sm": {
588
- "value": "0.8125rem",
588
+ "value": "0.875rem",
589
589
  "css": "var(--alea-font-size-sm)"
590
590
  },
591
591
  "font.size.md": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alea-design/tokens",
3
- "version": "0.9.0",
3
+ "version": "0.10.1",
4
4
  "description": "Alea design tokens: CSS variables (dark and light), JSON, JS and Figma variables from one W3C source.",
5
5
  "keywords": [
6
6
  "design tokens",
package/src/base.json CHANGED
@@ -171,8 +171,8 @@
171
171
  "$description": "Eyebrows, badges"
172
172
  },
173
173
  "sm": {
174
- "$value": "0.8125rem",
175
- "$description": "Labels, small text"
174
+ "$value": "{font.size.md}",
175
+ "$description": "DEPRECATED: an alias of md (14 px, it was 13 px before 0.10), kept so existing code keeps working. Use xs (12 px) for labels and supporting data, md (14 px) for text read as a sentence; this token is removed in the next major version."
176
176
  },
177
177
  "md": {
178
178
  "$value": "0.875rem",