@afluem/tokens 0.3.0 → 0.5.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.
@@ -80,6 +80,33 @@
80
80
  "lc": 55,
81
81
  "apca": 65
82
82
  },
83
+ {
84
+ "theme": "dark",
85
+ "fg": "ink",
86
+ "bg": "surface-highlight",
87
+ "min": 4.5,
88
+ "ratio": 11.33,
89
+ "lc": 75,
90
+ "apca": 89
91
+ },
92
+ {
93
+ "theme": "dark",
94
+ "fg": "ink-muted",
95
+ "bg": "surface-highlight",
96
+ "min": 4.5,
97
+ "ratio": 6.95,
98
+ "lc": 58,
99
+ "apca": 60
100
+ },
101
+ {
102
+ "theme": "dark",
103
+ "fg": "airmail-text",
104
+ "bg": "surface-highlight",
105
+ "min": 4.5,
106
+ "ratio": 7.06,
107
+ "lc": 55,
108
+ "apca": 61
109
+ },
83
110
  {
84
111
  "theme": "dark",
85
112
  "fg": "ink",
@@ -701,6 +728,33 @@
701
728
  "lc": 55,
702
729
  "apca": 72
703
730
  },
731
+ {
732
+ "theme": "light",
733
+ "fg": "ink",
734
+ "bg": "surface-highlight",
735
+ "min": 4.5,
736
+ "ratio": 14.51,
737
+ "lc": 75,
738
+ "apca": 92
739
+ },
740
+ {
741
+ "theme": "light",
742
+ "fg": "ink-muted",
743
+ "bg": "surface-highlight",
744
+ "min": 4.5,
745
+ "ratio": 5.72,
746
+ "lc": 58,
747
+ "apca": 72
748
+ },
749
+ {
750
+ "theme": "light",
751
+ "fg": "airmail-text",
752
+ "bg": "surface-highlight",
753
+ "min": 4.5,
754
+ "ratio": 6.4,
755
+ "lc": 55,
756
+ "apca": 74
757
+ },
704
758
  {
705
759
  "theme": "light",
706
760
  "fg": "ink",
package/dist/index.d.ts CHANGED
@@ -167,6 +167,7 @@ export declare const tokens: {
167
167
  "content-max": string;
168
168
  "perf-hole": string;
169
169
  "perf-pitch": string;
170
+ "edge": string;
170
171
  "stamp-shift": string;
171
172
  };
172
173
  "duration": {
@@ -174,12 +175,16 @@ export declare const tokens: {
174
175
  "base": string;
175
176
  "slow": string;
176
177
  "stagger": string;
178
+ "icon": string;
179
+ "icon-stagger": string;
177
180
  };
178
181
  "easing": {
179
182
  "out": string;
180
183
  "in": string;
184
+ "in-out": string;
181
185
  };
182
186
  "z": {
187
+ "band": string;
183
188
  "hint": string;
184
189
  "backdrop": string;
185
190
  "layer": string;
@@ -196,6 +201,7 @@ export declare const tokens: {
196
201
  "surface-overlay": string;
197
202
  "surface-hover": string;
198
203
  "surface-active": string;
204
+ "surface-highlight": string;
199
205
  "line": string;
200
206
  "line-strong": string;
201
207
  "control-border": string;
@@ -256,6 +262,7 @@ export declare const tokens: {
256
262
  "surface-overlay": string;
257
263
  "surface-hover": string;
258
264
  "surface-active": string;
265
+ "surface-highlight": string;
259
266
  "line": string;
260
267
  "line-strong": string;
261
268
  "control-border": string;
package/dist/index.js CHANGED
@@ -66,10 +66,10 @@ export const tokens = {
66
66
  "weight": "400"
67
67
  },
68
68
  "page-title": {
69
- "size": "20px",
70
- "line-height": "28px",
71
- "weight": "600",
72
- "tracking": "-0.015em"
69
+ "size": "24px",
70
+ "line-height": "30px",
71
+ "weight": "700",
72
+ "tracking": "-0.02em"
73
73
  },
74
74
  "title": {
75
75
  "size": "16px",
@@ -167,19 +167,24 @@ export const tokens = {
167
167
  "content-max": "1200px",
168
168
  "perf-hole": "6px",
169
169
  "perf-pitch": "12px",
170
+ "edge": "1.5px",
170
171
  "stamp-shift": "3px"
171
172
  },
172
173
  "duration": {
173
174
  "fast": "120ms",
174
175
  "base": "160ms",
175
176
  "slow": "200ms",
176
- "stagger": "40ms"
177
+ "stagger": "40ms",
178
+ "icon": "700ms",
179
+ "icon-stagger": "160ms"
177
180
  },
178
181
  "easing": {
179
182
  "out": "cubic-bezier(0.16, 1, 0.3, 1)",
180
- "in": "cubic-bezier(0.7, 0, 0.84, 0)"
183
+ "in": "cubic-bezier(0.7, 0, 0.84, 0)",
184
+ "in-out": "cubic-bezier(0.65, 0, 0.35, 1)"
181
185
  },
182
186
  "z": {
187
+ "band": "30",
183
188
  "hint": "40",
184
189
  "backdrop": "50",
185
190
  "layer": "51",
@@ -196,6 +201,7 @@ export const tokens = {
196
201
  "surface-overlay": "#22201c",
197
202
  "surface-hover": "#22201c",
198
203
  "surface-active": "#2a2723",
204
+ "surface-highlight": "#302d28",
199
205
  "line": "#2b2924",
200
206
  "line-strong": "#3f3d37",
201
207
  "control-border": "#7e7a72",
@@ -256,6 +262,7 @@ export const tokens = {
256
262
  "surface-overlay": "#fefbf7",
257
263
  "surface-hover": "#f0e9db",
258
264
  "surface-active": "#eae2d3",
265
+ "surface-highlight": "#f1eadd",
259
266
  "line": "#dfd8cb",
260
267
  "line-strong": "#c7c0b1",
261
268
  "control-border": "#868073",
package/dist/tailwind.css CHANGED
@@ -6,6 +6,7 @@
6
6
  --color-surface-overlay: var(--af-color-surface-overlay);
7
7
  --color-surface-hover: var(--af-color-surface-hover);
8
8
  --color-surface-active: var(--af-color-surface-active);
9
+ --color-surface-highlight: var(--af-color-surface-highlight);
9
10
  --color-line: var(--af-color-line);
10
11
  --color-line-strong: var(--af-color-line-strong);
11
12
  --color-control-border: var(--af-color-control-border);
@@ -61,6 +62,7 @@
61
62
  --shadow-focus-ring: var(--af-shadow-focus-ring);
62
63
  --ease-out: var(--af-easing-out);
63
64
  --ease-in: var(--af-easing-in);
65
+ --ease-in-out: var(--af-easing-in-out);
64
66
  --spacing: var(--af-space-1);
65
67
  --text-display-xl: var(--af-text-display-xl-size);
66
68
  --text-display-xl--line-height: var(--af-text-display-xl-line-height);
package/dist/tokens.css CHANGED
@@ -39,10 +39,10 @@
39
39
  --af-text-doc-small-size: 14px;
40
40
  --af-text-doc-small-line-height: 22px;
41
41
  --af-text-doc-small-weight: 400;
42
- --af-text-page-title-size: 20px;
43
- --af-text-page-title-line-height: 28px;
44
- --af-text-page-title-weight: 600;
45
- --af-text-page-title-tracking: -0.015em;
42
+ --af-text-page-title-size: 24px;
43
+ --af-text-page-title-line-height: 30px;
44
+ --af-text-page-title-weight: 700;
45
+ --af-text-page-title-tracking: -0.02em;
46
46
  --af-text-title-size: 16px;
47
47
  --af-text-title-line-height: 24px;
48
48
  --af-text-title-weight: 600;
@@ -109,13 +109,18 @@
109
109
  --af-size-content-max: 1200px;
110
110
  --af-size-perf-hole: 6px;
111
111
  --af-size-perf-pitch: 12px;
112
+ --af-size-edge: 1.5px;
112
113
  --af-size-stamp-shift: 3px;
113
114
  --af-duration-fast: 120ms;
114
115
  --af-duration-base: 160ms;
115
116
  --af-duration-slow: 200ms;
116
117
  --af-duration-stagger: 40ms;
118
+ --af-duration-icon: 700ms;
119
+ --af-duration-icon-stagger: 160ms;
117
120
  --af-easing-out: cubic-bezier(0.16, 1, 0.3, 1);
118
121
  --af-easing-in: cubic-bezier(0.7, 0, 0.84, 0);
122
+ --af-easing-in-out: cubic-bezier(0.65, 0, 0.35, 1);
123
+ --af-z-band: 30;
119
124
  --af-z-hint: 40;
120
125
  --af-z-backdrop: 50;
121
126
  --af-z-layer: 51;
@@ -132,6 +137,7 @@
132
137
  --af-color-surface-overlay: #fefbf7;
133
138
  --af-color-surface-hover: #f0e9db;
134
139
  --af-color-surface-active: #eae2d3;
140
+ --af-color-surface-highlight: #f1eadd;
135
141
  --af-color-line: #dfd8cb;
136
142
  --af-color-line-strong: #c7c0b1;
137
143
  --af-color-control-border: #868073;
@@ -189,6 +195,7 @@
189
195
  --af-color-surface-overlay: #22201c;
190
196
  --af-color-surface-hover: #22201c;
191
197
  --af-color-surface-active: #2a2723;
198
+ --af-color-surface-highlight: #302d28;
192
199
  --af-color-line: #2b2924;
193
200
  --af-color-line-strong: #3f3d37;
194
201
  --af-color-control-border: #7e7a72;
@@ -246,6 +253,7 @@
246
253
  --af-color-surface-overlay: #22201c;
247
254
  --af-color-surface-hover: #22201c;
248
255
  --af-color-surface-active: #2a2723;
256
+ --af-color-surface-highlight: #302d28;
249
257
  --af-color-line: #2b2924;
250
258
  --af-color-line-strong: #3f3d37;
251
259
  --af-color-control-border: #7e7a72;
@@ -301,5 +309,7 @@
301
309
  --af-duration-base: 0s;
302
310
  --af-duration-slow: 0s;
303
311
  --af-duration-stagger: 0s;
312
+ --af-duration-icon: 0s;
313
+ --af-duration-icon-stagger: 0s;
304
314
  }
305
315
  }
package/dist/tokens.json CHANGED
@@ -283,28 +283,28 @@
283
283
  "name": "text-page-title-size",
284
284
  "variable": "--af-text-page-title-size",
285
285
  "group": "text",
286
- "value": "20px",
286
+ "value": "24px",
287
287
  "description": ""
288
288
  },
289
289
  {
290
290
  "name": "text-page-title-line-height",
291
291
  "variable": "--af-text-page-title-line-height",
292
292
  "group": "text",
293
- "value": "28px",
293
+ "value": "30px",
294
294
  "description": ""
295
295
  },
296
296
  {
297
297
  "name": "text-page-title-weight",
298
298
  "variable": "--af-text-page-title-weight",
299
299
  "group": "text",
300
- "value": "600",
300
+ "value": "700",
301
301
  "description": ""
302
302
  },
303
303
  {
304
304
  "name": "text-page-title-tracking",
305
305
  "variable": "--af-text-page-title-tracking",
306
306
  "group": "text",
307
- "value": "-0.015em",
307
+ "value": "-0.02em",
308
308
  "description": ""
309
309
  },
310
310
  {
@@ -769,6 +769,13 @@
769
769
  "value": "12px",
770
770
  "description": "Distance between perforation hole centers."
771
771
  },
772
+ {
773
+ "name": "size-edge",
774
+ "variable": "--af-size-edge",
775
+ "group": "size",
776
+ "value": "1.5px",
777
+ "description": "The outline of a container in line-strong: cards, panels, metrics, table boxes, the instance health. Dividers inside a container stay 1px line."
778
+ },
772
779
  {
773
780
  "name": "size-stamp-shift",
774
781
  "variable": "--af-size-stamp-shift",
@@ -804,6 +811,20 @@
804
811
  "value": "40ms",
805
812
  "description": "Delay between consecutive lines of a trace that plays in. Never a duration on its own."
806
813
  },
814
+ {
815
+ "name": "duration-icon",
816
+ "variable": "--af-duration-icon",
817
+ "group": "duration",
818
+ "value": "700ms",
819
+ "description": "One part of a navigation icon motion: long enough to watch the icon act out its page. The only motion 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."
827
+ },
807
828
  {
808
829
  "name": "easing-out",
809
830
  "variable": "--af-easing-out",
@@ -818,6 +839,20 @@
818
839
  "value": "cubic-bezier(0.7, 0, 0.84, 0)",
819
840
  "description": "Exits only, at duration-fast."
820
841
  },
842
+ {
843
+ "name": "easing-in-out",
844
+ "variable": "--af-easing-in-out",
845
+ "group": "easing",
846
+ "value": "cubic-bezier(0.65, 0, 0.35, 1)",
847
+ "description": "Navigation icon motions only: a part that starts and ends at rest."
848
+ },
849
+ {
850
+ "name": "z-band",
851
+ "variable": "--af-z-band",
852
+ "group": "z",
853
+ "value": "30",
854
+ "description": "The airmail band across the top of the console shell, over the content that scrolls under it."
855
+ },
821
856
  {
822
857
  "name": "z-hint",
823
858
  "variable": "--af-z-hint",
@@ -908,6 +943,14 @@
908
943
  "dark": "#2a2723",
909
944
  "description": "Pressed and selected fills; the eyebrow chip."
910
945
  },
946
+ {
947
+ "name": "color-surface-highlight",
948
+ "variable": "--af-color-surface-highlight",
949
+ "group": "color",
950
+ "light": "#f1eadd",
951
+ "dark": "#302d28",
952
+ "description": "The highlighted item on surface-overlay: the menu item under the pointer or the arrow keys, the selected command. Reads with ink, ink-muted and airmail-text."
953
+ },
911
954
  {
912
955
  "name": "color-line",
913
956
  "variable": "--af-color-line",
@@ -1202,7 +1245,7 @@
1202
1245
  "group": "color",
1203
1246
  "light": "#ff9478",
1204
1247
  "dark": "#ff9478",
1205
- "description": "The final reply bar on the airmail and ink faces: the mark and the tool stamps."
1248
+ "description": "The second impression under the brush circle on the airmail and ink faces of the tool stamps."
1206
1249
  },
1207
1250
  {
1208
1251
  "name": "color-stamp-edge",
@@ -1242,7 +1285,7 @@
1242
1285
  "group": "shadow",
1243
1286
  "light": "3px 3px 0 0 #1d1a14",
1244
1287
  "dark": "0 0 0 0 #0000",
1245
- "description": "The hard offset of buttons, envelopes and stamps: paper on a desk. Day shift only; small buttons in rows and toolbars do not cast it."
1288
+ "description": "The hard offset of buttons, envelopes and stamps: paper on a desk. Day shift only; every button casts it, at every size."
1246
1289
  },
1247
1290
  {
1248
1291
  "name": "shadow-edge",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afluem/tokens",
3
- "version": "0.3.0",
3
+ "version": "0.5.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": {