@sticker-pop/web 0.0.0-stage → 0.1.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.
@@ -0,0 +1,332 @@
1
+ // GENERATED by tools/build-tokens.mjs from tokens/sticker-pop.tokens.json. Do not edit.
2
+
3
+ export declare const tokens: {
4
+ readonly color: {
5
+ readonly paper: "#FFF3D6";
6
+ readonly paperDot: "#EBD9A6";
7
+ readonly ink: "#141414";
8
+ readonly inkMuted: "#4A4A4A";
9
+ readonly white: "#FFFFFF";
10
+ readonly divider: "#E3D3A6";
11
+ readonly yellow: "#FFD43B";
12
+ readonly pink: "#FF6FAE";
13
+ readonly blue: "#8DB8FF";
14
+ readonly mint: "#5EE0A8";
15
+ readonly lilac: "#C3AEFF";
16
+ readonly orange: "#FF9C5B";
17
+ readonly scrim: "#141414B8";
18
+ readonly paperScrim: "#FFF3D6E0";
19
+ };
20
+ readonly gradient: {
21
+ readonly sunrise: {
22
+ readonly angle: 135;
23
+ readonly stops: {
24
+ readonly 0: {
25
+ readonly color: "#FFD43B";
26
+ readonly position: 0;
27
+ };
28
+ readonly 1: {
29
+ readonly color: "#FF9C5B";
30
+ readonly position: 1;
31
+ };
32
+ };
33
+ };
34
+ readonly candy: {
35
+ readonly angle: 135;
36
+ readonly stops: {
37
+ readonly 0: {
38
+ readonly color: "#FF6FAE";
39
+ readonly position: 0;
40
+ };
41
+ readonly 1: {
42
+ readonly color: "#C3AEFF";
43
+ readonly position: 1;
44
+ };
45
+ };
46
+ };
47
+ readonly lagoon: {
48
+ readonly angle: 135;
49
+ readonly stops: {
50
+ readonly 0: {
51
+ readonly color: "#8DB8FF";
52
+ readonly position: 0;
53
+ };
54
+ readonly 1: {
55
+ readonly color: "#5EE0A8";
56
+ readonly position: 1;
57
+ };
58
+ };
59
+ };
60
+ };
61
+ readonly font: {
62
+ readonly family: "BricolageGrotesque";
63
+ readonly weight: {
64
+ readonly body: 600;
65
+ readonly label: 700;
66
+ readonly strong: 800;
67
+ };
68
+ };
69
+ readonly text: {
70
+ readonly welcomeTitle: {
71
+ readonly size: 44;
72
+ readonly weight: 800;
73
+ readonly letterSpacing: -1.5;
74
+ };
75
+ readonly screenTitle: {
76
+ readonly size: 34;
77
+ readonly weight: 800;
78
+ readonly letterSpacing: -1;
79
+ };
80
+ readonly heroAmount: {
81
+ readonly size: 40;
82
+ readonly weight: 800;
83
+ readonly tabular: true;
84
+ };
85
+ readonly amountEntry: {
86
+ readonly size: 32;
87
+ readonly weight: 800;
88
+ readonly tabular: true;
89
+ };
90
+ readonly subScreenTitle: {
91
+ readonly size: 30;
92
+ readonly weight: 800;
93
+ readonly letterSpacing: -1;
94
+ };
95
+ readonly cardFigure: {
96
+ readonly size: 28;
97
+ readonly weight: 800;
98
+ readonly tabular: true;
99
+ };
100
+ readonly sheetTitle: {
101
+ readonly size: 22;
102
+ readonly weight: 800;
103
+ };
104
+ readonly sectionHeading: {
105
+ readonly size: 20;
106
+ readonly weight: 800;
107
+ };
108
+ readonly buttonLabel: {
109
+ readonly size: 18;
110
+ readonly weight: 800;
111
+ readonly color: "white";
112
+ };
113
+ readonly rowTitle: {
114
+ readonly size: 16;
115
+ readonly weight: 800;
116
+ };
117
+ readonly rowAmount: {
118
+ readonly size: 16;
119
+ readonly weight: 800;
120
+ readonly tabular: true;
121
+ };
122
+ readonly input: {
123
+ readonly size: 16;
124
+ readonly weight: 700;
125
+ };
126
+ readonly inputHint: {
127
+ readonly size: 16;
128
+ readonly weight: 600;
129
+ readonly color: "inkMuted";
130
+ };
131
+ readonly body: {
132
+ readonly size: 15;
133
+ readonly weight: 600;
134
+ readonly lineHeight: 1.3;
135
+ };
136
+ readonly tileLabel: {
137
+ readonly size: 15;
138
+ readonly weight: 800;
139
+ };
140
+ readonly keypadKey: {
141
+ readonly size: 26;
142
+ readonly weight: 800;
143
+ readonly tabular: true;
144
+ };
145
+ readonly menuItem: {
146
+ readonly size: 15;
147
+ readonly weight: 700;
148
+ };
149
+ readonly textButton: {
150
+ readonly size: 15;
151
+ readonly weight: 800;
152
+ };
153
+ readonly chip: {
154
+ readonly size: 14;
155
+ readonly weight: 700;
156
+ };
157
+ readonly chipSelected: {
158
+ readonly size: 14;
159
+ readonly weight: 800;
160
+ };
161
+ readonly segment: {
162
+ readonly size: 15;
163
+ readonly weight: 700;
164
+ };
165
+ readonly segmentSelected: {
166
+ readonly size: 15;
167
+ readonly weight: 800;
168
+ };
169
+ readonly fieldLabel: {
170
+ readonly size: 14;
171
+ readonly weight: 700;
172
+ readonly color: "inkMuted";
173
+ };
174
+ readonly formError: {
175
+ readonly size: 14;
176
+ readonly weight: 800;
177
+ };
178
+ readonly legendLabel: {
179
+ readonly size: 14;
180
+ readonly weight: 700;
181
+ };
182
+ readonly legendValue: {
183
+ readonly size: 14;
184
+ readonly weight: 800;
185
+ readonly tabular: true;
186
+ };
187
+ readonly caption: {
188
+ readonly size: 13;
189
+ readonly weight: 600;
190
+ readonly color: "inkMuted";
191
+ };
192
+ readonly sectionLabel: {
193
+ readonly size: 13;
194
+ readonly weight: 800;
195
+ readonly letterSpacing: 0.6;
196
+ readonly caps: true;
197
+ };
198
+ readonly navLabel: {
199
+ readonly size: 12;
200
+ readonly weight: 700;
201
+ readonly color: "inkMuted";
202
+ };
203
+ readonly navLabelSelected: {
204
+ readonly size: 12;
205
+ readonly weight: 800;
206
+ };
207
+ readonly badge: {
208
+ readonly size: 12;
209
+ readonly weight: 800;
210
+ readonly letterSpacing: 0.6;
211
+ readonly caps: true;
212
+ };
213
+ readonly snackbar: {
214
+ readonly size: 15;
215
+ readonly weight: 700;
216
+ readonly color: "white";
217
+ };
218
+ };
219
+ readonly space: {
220
+ readonly xs: 4;
221
+ readonly sm: 8;
222
+ readonly md: 12;
223
+ readonly lg: 16;
224
+ readonly xl: 20;
225
+ readonly xxl: 24;
226
+ readonly screen: 20;
227
+ readonly card: 16;
228
+ readonly cardGap: 16;
229
+ readonly section: 24;
230
+ };
231
+ readonly border: {
232
+ readonly regular: 2.5;
233
+ readonly thin: 2;
234
+ readonly spotlight: 3;
235
+ readonly swatch: 1.5;
236
+ readonly divider: 2;
237
+ };
238
+ readonly radius: {
239
+ readonly card: 22;
240
+ readonly button: 20;
241
+ readonly addButton: 20;
242
+ readonly tile: 18;
243
+ readonly pill: 19;
244
+ readonly field: 14;
245
+ readonly badge: 10;
246
+ readonly sheet: 24;
247
+ readonly snackbar: 16;
248
+ readonly menu: 16;
249
+ readonly checkbox: 7;
250
+ readonly skeletonLine: 6;
251
+ readonly spotlight: 18;
252
+ readonly switchTrack: 15;
253
+ readonly navPill: 12;
254
+ readonly progressTrack: 9;
255
+ readonly progressFill: 7;
256
+ readonly swatch: 4;
257
+ };
258
+ readonly shadow: {
259
+ readonly none: 0;
260
+ readonly chip: 2;
261
+ readonly small: 3;
262
+ readonly regular: 4;
263
+ readonly large: 6;
264
+ };
265
+ readonly tilt: {
266
+ readonly cardMax: 3;
267
+ readonly hero: -1.5;
268
+ readonly heroAlt: 1.5;
269
+ readonly badge: -4;
270
+ readonly categoryDot: -5;
271
+ readonly addButton: -6;
272
+ readonly max: 6;
273
+ };
274
+ readonly size: {
275
+ readonly tapTarget: 48;
276
+ readonly button: 58;
277
+ readonly iconButton: 46;
278
+ readonly chip: 40;
279
+ readonly segment: 44;
280
+ readonly switchWidth: 52;
281
+ readonly switchHeight: 30;
282
+ readonly switchKnob: 21;
283
+ readonly categoryDot: 42;
284
+ readonly rowMin: 52;
285
+ readonly fieldLabelColumn: 76;
286
+ readonly progressBar: 18;
287
+ readonly progressDot: 10;
288
+ readonly progressDotCurrent: 22;
289
+ readonly swatch: 12;
290
+ readonly dialOption: 56;
291
+ readonly topBar: 64;
292
+ readonly dateTileWidth: 56;
293
+ readonly dateTileHeight: 68;
294
+ readonly calendarDay: 40;
295
+ readonly spinner: 24;
296
+ readonly sliderKnob: 28;
297
+ readonly keypadKey: 56;
298
+ readonly stateTile: 96;
299
+ readonly skeletonLine: 14;
300
+ readonly checkbox: 24;
301
+ readonly radioDot: 10;
302
+ readonly menuMinWidth: 180;
303
+ readonly menuMaxWidth: 280;
304
+ readonly menuMaxHeight: 360;
305
+ readonly iconNav: 22;
306
+ readonly iconChip: 16;
307
+ readonly iconTile: 26;
308
+ readonly iconAdd: 28;
309
+ readonly paperDotRadius: 1.3;
310
+ readonly paperDotStep: 18;
311
+ readonly sheetMaxHeightFraction: 0.9;
312
+ };
313
+ readonly motion: {
314
+ readonly toggle: 150;
315
+ readonly sheet: 250;
316
+ readonly fade: 150;
317
+ readonly snackbar: 3000;
318
+ readonly snackbarWithAction: 6000;
319
+ readonly dialOpen: 280;
320
+ readonly dialClose: 180;
321
+ readonly dialStagger: 40;
322
+ readonly dialScrim: 200;
323
+ readonly dialPress: 90;
324
+ readonly pulse: 900;
325
+ readonly spin: 800;
326
+ };
327
+ readonly opacity: {
328
+ readonly scrim: 0.72;
329
+ };
330
+ };
331
+
332
+ export default tokens;
package/src/tokens.mjs ADDED
@@ -0,0 +1,332 @@
1
+ // GENERATED by tools/build-tokens.mjs from tokens/sticker-pop.tokens.json. Do not edit.
2
+
3
+ export const tokens = {
4
+ "color": {
5
+ "paper": "#FFF3D6",
6
+ "paperDot": "#EBD9A6",
7
+ "ink": "#141414",
8
+ "inkMuted": "#4A4A4A",
9
+ "white": "#FFFFFF",
10
+ "divider": "#E3D3A6",
11
+ "yellow": "#FFD43B",
12
+ "pink": "#FF6FAE",
13
+ "blue": "#8DB8FF",
14
+ "mint": "#5EE0A8",
15
+ "lilac": "#C3AEFF",
16
+ "orange": "#FF9C5B",
17
+ "scrim": "#141414B8",
18
+ "paperScrim": "#FFF3D6E0"
19
+ },
20
+ "gradient": {
21
+ "sunrise": {
22
+ "angle": 135,
23
+ "stops": [
24
+ {
25
+ "color": "#FFD43B",
26
+ "position": 0
27
+ },
28
+ {
29
+ "color": "#FF9C5B",
30
+ "position": 1
31
+ }
32
+ ]
33
+ },
34
+ "candy": {
35
+ "angle": 135,
36
+ "stops": [
37
+ {
38
+ "color": "#FF6FAE",
39
+ "position": 0
40
+ },
41
+ {
42
+ "color": "#C3AEFF",
43
+ "position": 1
44
+ }
45
+ ]
46
+ },
47
+ "lagoon": {
48
+ "angle": 135,
49
+ "stops": [
50
+ {
51
+ "color": "#8DB8FF",
52
+ "position": 0
53
+ },
54
+ {
55
+ "color": "#5EE0A8",
56
+ "position": 1
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ "font": {
62
+ "family": "BricolageGrotesque",
63
+ "weight": {
64
+ "body": 600,
65
+ "label": 700,
66
+ "strong": 800
67
+ }
68
+ },
69
+ "text": {
70
+ "welcomeTitle": {
71
+ "size": 44,
72
+ "weight": 800,
73
+ "letterSpacing": -1.5
74
+ },
75
+ "screenTitle": {
76
+ "size": 34,
77
+ "weight": 800,
78
+ "letterSpacing": -1
79
+ },
80
+ "heroAmount": {
81
+ "size": 40,
82
+ "weight": 800,
83
+ "tabular": true
84
+ },
85
+ "amountEntry": {
86
+ "size": 32,
87
+ "weight": 800,
88
+ "tabular": true
89
+ },
90
+ "subScreenTitle": {
91
+ "size": 30,
92
+ "weight": 800,
93
+ "letterSpacing": -1
94
+ },
95
+ "cardFigure": {
96
+ "size": 28,
97
+ "weight": 800,
98
+ "tabular": true
99
+ },
100
+ "sheetTitle": {
101
+ "size": 22,
102
+ "weight": 800
103
+ },
104
+ "sectionHeading": {
105
+ "size": 20,
106
+ "weight": 800
107
+ },
108
+ "buttonLabel": {
109
+ "size": 18,
110
+ "weight": 800,
111
+ "color": "white"
112
+ },
113
+ "rowTitle": {
114
+ "size": 16,
115
+ "weight": 800
116
+ },
117
+ "rowAmount": {
118
+ "size": 16,
119
+ "weight": 800,
120
+ "tabular": true
121
+ },
122
+ "input": {
123
+ "size": 16,
124
+ "weight": 700
125
+ },
126
+ "inputHint": {
127
+ "size": 16,
128
+ "weight": 600,
129
+ "color": "inkMuted"
130
+ },
131
+ "body": {
132
+ "size": 15,
133
+ "weight": 600,
134
+ "lineHeight": 1.3
135
+ },
136
+ "tileLabel": {
137
+ "size": 15,
138
+ "weight": 800
139
+ },
140
+ "keypadKey": {
141
+ "size": 26,
142
+ "weight": 800,
143
+ "tabular": true
144
+ },
145
+ "menuItem": {
146
+ "size": 15,
147
+ "weight": 700
148
+ },
149
+ "textButton": {
150
+ "size": 15,
151
+ "weight": 800
152
+ },
153
+ "chip": {
154
+ "size": 14,
155
+ "weight": 700
156
+ },
157
+ "chipSelected": {
158
+ "size": 14,
159
+ "weight": 800
160
+ },
161
+ "segment": {
162
+ "size": 15,
163
+ "weight": 700
164
+ },
165
+ "segmentSelected": {
166
+ "size": 15,
167
+ "weight": 800
168
+ },
169
+ "fieldLabel": {
170
+ "size": 14,
171
+ "weight": 700,
172
+ "color": "inkMuted"
173
+ },
174
+ "formError": {
175
+ "size": 14,
176
+ "weight": 800
177
+ },
178
+ "legendLabel": {
179
+ "size": 14,
180
+ "weight": 700
181
+ },
182
+ "legendValue": {
183
+ "size": 14,
184
+ "weight": 800,
185
+ "tabular": true
186
+ },
187
+ "caption": {
188
+ "size": 13,
189
+ "weight": 600,
190
+ "color": "inkMuted"
191
+ },
192
+ "sectionLabel": {
193
+ "size": 13,
194
+ "weight": 800,
195
+ "letterSpacing": 0.6,
196
+ "caps": true
197
+ },
198
+ "navLabel": {
199
+ "size": 12,
200
+ "weight": 700,
201
+ "color": "inkMuted"
202
+ },
203
+ "navLabelSelected": {
204
+ "size": 12,
205
+ "weight": 800
206
+ },
207
+ "badge": {
208
+ "size": 12,
209
+ "weight": 800,
210
+ "letterSpacing": 0.6,
211
+ "caps": true
212
+ },
213
+ "snackbar": {
214
+ "size": 15,
215
+ "weight": 700,
216
+ "color": "white"
217
+ }
218
+ },
219
+ "space": {
220
+ "xs": 4,
221
+ "sm": 8,
222
+ "md": 12,
223
+ "lg": 16,
224
+ "xl": 20,
225
+ "xxl": 24,
226
+ "screen": 20,
227
+ "card": 16,
228
+ "cardGap": 16,
229
+ "section": 24
230
+ },
231
+ "border": {
232
+ "regular": 2.5,
233
+ "thin": 2,
234
+ "spotlight": 3,
235
+ "swatch": 1.5,
236
+ "divider": 2
237
+ },
238
+ "radius": {
239
+ "card": 22,
240
+ "button": 20,
241
+ "addButton": 20,
242
+ "tile": 18,
243
+ "pill": 19,
244
+ "field": 14,
245
+ "badge": 10,
246
+ "sheet": 24,
247
+ "snackbar": 16,
248
+ "menu": 16,
249
+ "checkbox": 7,
250
+ "skeletonLine": 6,
251
+ "spotlight": 18,
252
+ "switchTrack": 15,
253
+ "navPill": 12,
254
+ "progressTrack": 9,
255
+ "progressFill": 7,
256
+ "swatch": 4
257
+ },
258
+ "shadow": {
259
+ "none": 0,
260
+ "chip": 2,
261
+ "small": 3,
262
+ "regular": 4,
263
+ "large": 6
264
+ },
265
+ "tilt": {
266
+ "cardMax": 3,
267
+ "hero": -1.5,
268
+ "heroAlt": 1.5,
269
+ "badge": -4,
270
+ "categoryDot": -5,
271
+ "addButton": -6,
272
+ "max": 6
273
+ },
274
+ "size": {
275
+ "tapTarget": 48,
276
+ "button": 58,
277
+ "iconButton": 46,
278
+ "chip": 40,
279
+ "segment": 44,
280
+ "switchWidth": 52,
281
+ "switchHeight": 30,
282
+ "switchKnob": 21,
283
+ "categoryDot": 42,
284
+ "rowMin": 52,
285
+ "fieldLabelColumn": 76,
286
+ "progressBar": 18,
287
+ "progressDot": 10,
288
+ "progressDotCurrent": 22,
289
+ "swatch": 12,
290
+ "dialOption": 56,
291
+ "topBar": 64,
292
+ "dateTileWidth": 56,
293
+ "dateTileHeight": 68,
294
+ "calendarDay": 40,
295
+ "spinner": 24,
296
+ "sliderKnob": 28,
297
+ "keypadKey": 56,
298
+ "stateTile": 96,
299
+ "skeletonLine": 14,
300
+ "checkbox": 24,
301
+ "radioDot": 10,
302
+ "menuMinWidth": 180,
303
+ "menuMaxWidth": 280,
304
+ "menuMaxHeight": 360,
305
+ "iconNav": 22,
306
+ "iconChip": 16,
307
+ "iconTile": 26,
308
+ "iconAdd": 28,
309
+ "paperDotRadius": 1.3,
310
+ "paperDotStep": 18,
311
+ "sheetMaxHeightFraction": 0.9
312
+ },
313
+ "motion": {
314
+ "toggle": 150,
315
+ "sheet": 250,
316
+ "fade": 150,
317
+ "snackbar": 3000,
318
+ "snackbarWithAction": 6000,
319
+ "dialOpen": 280,
320
+ "dialClose": 180,
321
+ "dialStagger": 40,
322
+ "dialScrim": 200,
323
+ "dialPress": 90,
324
+ "pulse": 900,
325
+ "spin": 800
326
+ },
327
+ "opacity": {
328
+ "scrim": 0.72
329
+ }
330
+ };
331
+
332
+ export default tokens;