@afluem/tokens 0.6.0 → 0.8.0

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/dist/index.d.ts CHANGED
@@ -86,6 +86,11 @@ export declare const tokens: {
86
86
  "line-height": string;
87
87
  "weight": string;
88
88
  };
89
+ "nav": {
90
+ "size": string;
91
+ "line-height": string;
92
+ "weight": string;
93
+ };
89
94
  "body": {
90
95
  "size": string;
91
96
  "line-height": string;
@@ -176,7 +181,6 @@ export declare const tokens: {
176
181
  "slow": string;
177
182
  "stagger": string;
178
183
  "icon": string;
179
- "icon-stagger": string;
180
184
  "sparkline": string;
181
185
  "loader": string;
182
186
  };
package/dist/index.js CHANGED
@@ -86,6 +86,11 @@ export const tokens = {
86
86
  "line-height": "22px",
87
87
  "weight": "400"
88
88
  },
89
+ "nav": {
90
+ "size": "15px",
91
+ "line-height": "20px",
92
+ "weight": "400"
93
+ },
89
94
  "body": {
90
95
  "size": "13px",
91
96
  "line-height": "20px",
@@ -176,7 +181,6 @@ export const tokens = {
176
181
  "slow": "200ms",
177
182
  "stagger": "40ms",
178
183
  "icon": "700ms",
179
- "icon-stagger": "160ms",
180
184
  "sparkline": "1200ms",
181
185
  "loader": "2400ms"
182
186
  },
package/dist/tailwind.css CHANGED
@@ -115,6 +115,9 @@
115
115
  --text-body-l: var(--af-text-body-l-size);
116
116
  --text-body-l--line-height: var(--af-text-body-l-line-height);
117
117
  --text-body-l--font-weight: var(--af-text-body-l-weight);
118
+ --text-nav: var(--af-text-nav-size);
119
+ --text-nav--line-height: var(--af-text-nav-line-height);
120
+ --text-nav--font-weight: var(--af-text-nav-weight);
118
121
  --text-body: var(--af-text-body-size);
119
122
  --text-body--line-height: var(--af-text-body-line-height);
120
123
  --text-body--font-weight: var(--af-text-body-weight);
package/dist/tokens.css CHANGED
@@ -52,6 +52,9 @@
52
52
  --af-text-body-l-size: 14px;
53
53
  --af-text-body-l-line-height: 22px;
54
54
  --af-text-body-l-weight: 400;
55
+ --af-text-nav-size: 15px;
56
+ --af-text-nav-line-height: 20px;
57
+ --af-text-nav-weight: 400;
55
58
  --af-text-body-size: 13px;
56
59
  --af-text-body-line-height: 20px;
57
60
  --af-text-body-weight: 400;
@@ -116,7 +119,6 @@
116
119
  --af-duration-slow: 200ms;
117
120
  --af-duration-stagger: 40ms;
118
121
  --af-duration-icon: 700ms;
119
- --af-duration-icon-stagger: 160ms;
120
122
  --af-duration-sparkline: 1200ms;
121
123
  --af-duration-loader: 2400ms;
122
124
  --af-easing-out: cubic-bezier(0.16, 1, 0.3, 1);
@@ -313,7 +315,6 @@
313
315
  --af-duration-slow: 0s;
314
316
  --af-duration-stagger: 0s;
315
317
  --af-duration-icon: 0s;
316
- --af-duration-icon-stagger: 0s;
317
318
  --af-duration-sparkline: 0s;
318
319
  --af-duration-loader: 0s;
319
320
  }
package/dist/tokens.json CHANGED
@@ -370,6 +370,27 @@
370
370
  "value": "400",
371
371
  "description": ""
372
372
  },
373
+ {
374
+ "name": "text-nav-size",
375
+ "variable": "--af-text-nav-size",
376
+ "group": "text",
377
+ "value": "15px",
378
+ "description": ""
379
+ },
380
+ {
381
+ "name": "text-nav-line-height",
382
+ "variable": "--af-text-nav-line-height",
383
+ "group": "text",
384
+ "value": "20px",
385
+ "description": ""
386
+ },
387
+ {
388
+ "name": "text-nav-weight",
389
+ "variable": "--af-text-nav-weight",
390
+ "group": "text",
391
+ "value": "400",
392
+ "description": ""
393
+ },
373
394
  {
374
395
  "name": "text-body-size",
375
396
  "variable": "--af-text-body-size",
@@ -816,14 +837,7 @@
816
837
  "variable": "--af-duration-icon",
817
838
  "group": "duration",
818
839
  "value": "700ms",
819
- "description": "One part of a navigation icon motion: long enough to watch the icon act out its page. With duration-loader and duration-sparkline, the only motions above duration-slow."
820
- },
821
- {
822
- "name": "duration-icon-stagger",
823
- "variable": "--af-duration-icon-stagger",
824
- "group": "duration",
825
- "value": "160ms",
826
- "description": "Delay between the parts of a navigation icon motion. Never a duration on its own."
840
+ "description": "A page icon drawn again by its brush when its nav link or menu item is hovered: long enough to watch the stroke run. With duration-loader and duration-sparkline, the only motions above duration-slow."
827
841
  },
828
842
  {
829
843
  "name": "duration-sparkline",
@@ -865,7 +879,7 @@
865
879
  "variable": "--af-easing-in-out",
866
880
  "group": "easing",
867
881
  "value": "cubic-bezier(0.65, 0, 0.35, 1)",
868
- "description": "Navigation icon motions only: a part that starts and ends at rest."
882
+ "description": "A brush stroke being drawn, in the loader and in a page icon: it starts and ends at rest."
869
883
  },
870
884
  {
871
885
  "name": "z-band",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afluem/tokens",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Design tokens of the Afluem design system: CSS variables, a Tailwind CSS 4 theme and resolved values.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {