@polyxd/ds-neon 0.3.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,433 @@
1
+ {
2
+ "$description": "Polyxd semantic tier for the Neon template. Every token aliases a neon.* token; the file is the same in both modes.",
3
+ "color": {
4
+ "surface": {
5
+ "default": {
6
+ "$value": "{neon.sys.surface-default}"
7
+ },
8
+ "subtle": {
9
+ "$value": "{neon.sys.surface-subtle}"
10
+ },
11
+ "raised": {
12
+ "$value": "{neon.sys.surface-raised}"
13
+ },
14
+ "overlay": {
15
+ "$value": "{neon.sys.surface-overlay}"
16
+ },
17
+ "inverse": {
18
+ "$value": "{neon.sys.surface-inverse}"
19
+ }
20
+ },
21
+ "scrim": {
22
+ "$value": "{neon.sys.scrim}"
23
+ },
24
+ "text": {
25
+ "default": {
26
+ "$value": "{neon.sys.text-default}"
27
+ },
28
+ "muted": {
29
+ "$value": "{neon.sys.text-muted}"
30
+ },
31
+ "inverse": {
32
+ "$value": "{neon.sys.text-inverse}"
33
+ },
34
+ "link": {
35
+ "$value": "{neon.sys.text-link}"
36
+ }
37
+ },
38
+ "border": {
39
+ "default": {
40
+ "$value": "{neon.sys.border-default}"
41
+ },
42
+ "strong": {
43
+ "$value": "{neon.sys.border-strong}"
44
+ },
45
+ "focus": {
46
+ "$value": "{neon.sys.border-focus}"
47
+ }
48
+ },
49
+ "action": {
50
+ "primary": {
51
+ "background": {
52
+ "$value": "{neon.sys.action-primary-background}"
53
+ },
54
+ "foreground": {
55
+ "$value": "{neon.sys.action-primary-foreground}"
56
+ }
57
+ },
58
+ "secondary": {
59
+ "background": {
60
+ "$value": "{neon.sys.action-secondary-background}"
61
+ },
62
+ "foreground": {
63
+ "$value": "{neon.sys.action-secondary-foreground}"
64
+ },
65
+ "border": {
66
+ "$value": "{neon.sys.action-secondary-border}"
67
+ }
68
+ },
69
+ "danger": {
70
+ "background": {
71
+ "$value": "{neon.sys.action-danger-background}"
72
+ },
73
+ "foreground": {
74
+ "$value": "{neon.sys.action-danger-foreground}"
75
+ }
76
+ }
77
+ },
78
+ "selection": {
79
+ "background": {
80
+ "$value": "{neon.sys.selection-background}"
81
+ },
82
+ "foreground": {
83
+ "$value": "{neon.sys.selection-foreground}"
84
+ }
85
+ },
86
+ "status": {
87
+ "info": {
88
+ "background": {
89
+ "$value": "{neon.sys.status-info-background}"
90
+ },
91
+ "foreground": {
92
+ "$value": "{neon.sys.status-info-foreground}"
93
+ },
94
+ "emphasis": {
95
+ "$value": "{neon.sys.status-info-emphasis}"
96
+ }
97
+ },
98
+ "success": {
99
+ "background": {
100
+ "$value": "{neon.sys.status-success-background}"
101
+ },
102
+ "foreground": {
103
+ "$value": "{neon.sys.status-success-foreground}"
104
+ },
105
+ "emphasis": {
106
+ "$value": "{neon.sys.status-success-emphasis}"
107
+ }
108
+ },
109
+ "warning": {
110
+ "background": {
111
+ "$value": "{neon.sys.status-warning-background}"
112
+ },
113
+ "foreground": {
114
+ "$value": "{neon.sys.status-warning-foreground}"
115
+ },
116
+ "emphasis": {
117
+ "$value": "{neon.sys.status-warning-emphasis}"
118
+ }
119
+ },
120
+ "danger": {
121
+ "background": {
122
+ "$value": "{neon.sys.status-danger-background}"
123
+ },
124
+ "foreground": {
125
+ "$value": "{neon.sys.status-danger-foreground}"
126
+ },
127
+ "emphasis": {
128
+ "$value": "{neon.sys.status-danger-emphasis}"
129
+ }
130
+ }
131
+ },
132
+ "data": {
133
+ "categorical": {
134
+ "1": {
135
+ "$value": "{neon.sys.data-1}"
136
+ },
137
+ "2": {
138
+ "$value": "{neon.sys.data-2}"
139
+ },
140
+ "3": {
141
+ "$value": "{neon.sys.data-3}"
142
+ },
143
+ "4": {
144
+ "$value": "{neon.sys.data-4}"
145
+ },
146
+ "5": {
147
+ "$value": "{neon.sys.data-5}"
148
+ },
149
+ "6": {
150
+ "$value": "{neon.sys.data-6}"
151
+ }
152
+ },
153
+ "positive": {
154
+ "$value": "{neon.sys.data-positive}"
155
+ },
156
+ "negative": {
157
+ "$value": "{neon.sys.data-negative}"
158
+ },
159
+ "neutral": {
160
+ "$value": "{neon.sys.data-neutral}"
161
+ }
162
+ },
163
+ "$type": "color"
164
+ },
165
+ "type": {
166
+ "$type": "typography",
167
+ "title": {
168
+ "page": {
169
+ "$value": {
170
+ "fontFamily": "{neon.font.display}",
171
+ "fontSize": "{neon.text.title-page}",
172
+ "fontWeight": "{neon.weight.700}",
173
+ "lineHeight": 1.1,
174
+ "letterSpacing": {
175
+ "value": -0.8,
176
+ "unit": "px"
177
+ }
178
+ }
179
+ },
180
+ "section": {
181
+ "$value": {
182
+ "fontFamily": "{neon.font.display}",
183
+ "fontSize": "{neon.text.title-section}",
184
+ "fontWeight": "{neon.weight.700}",
185
+ "lineHeight": 1.2,
186
+ "letterSpacing": {
187
+ "value": -0.4,
188
+ "unit": "px"
189
+ }
190
+ }
191
+ },
192
+ "item": {
193
+ "$value": {
194
+ "fontFamily": "{neon.font.display}",
195
+ "fontSize": "{neon.text.title-item}",
196
+ "fontWeight": "{neon.weight.600}",
197
+ "lineHeight": 1.3,
198
+ "letterSpacing": {
199
+ "value": 0,
200
+ "unit": "px"
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "body": {
206
+ "default": {
207
+ "$value": {
208
+ "fontFamily": "{neon.font.body}",
209
+ "fontSize": "{neon.text.body-default}",
210
+ "fontWeight": "{neon.weight.400}",
211
+ "lineHeight": 1.5,
212
+ "letterSpacing": {
213
+ "value": 0,
214
+ "unit": "px"
215
+ }
216
+ }
217
+ },
218
+ "small": {
219
+ "$value": {
220
+ "fontFamily": "{neon.font.body}",
221
+ "fontSize": "{neon.text.body-small}",
222
+ "fontWeight": "{neon.weight.400}",
223
+ "lineHeight": 1.5,
224
+ "letterSpacing": {
225
+ "value": 0,
226
+ "unit": "px"
227
+ }
228
+ }
229
+ }
230
+ },
231
+ "label": {
232
+ "default": {
233
+ "$value": {
234
+ "fontFamily": "{neon.font.label}",
235
+ "fontSize": "{neon.text.label-default}",
236
+ "fontWeight": "{neon.weight.600}",
237
+ "lineHeight": 1.4,
238
+ "letterSpacing": {
239
+ "value": 0.6,
240
+ "unit": "px"
241
+ }
242
+ }
243
+ },
244
+ "small": {
245
+ "$value": {
246
+ "fontFamily": "{neon.font.label}",
247
+ "fontSize": "{neon.text.label-small}",
248
+ "fontWeight": "{neon.weight.600}",
249
+ "lineHeight": 1.4,
250
+ "letterSpacing": {
251
+ "value": 1,
252
+ "unit": "px"
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "numeric": {
258
+ "display": {
259
+ "$value": {
260
+ "fontFamily": "{neon.font.display}",
261
+ "fontSize": "{neon.text.numeric-display}",
262
+ "fontWeight": "{neon.weight.700}",
263
+ "lineHeight": 1.05,
264
+ "letterSpacing": {
265
+ "value": -0.8,
266
+ "unit": "px"
267
+ }
268
+ },
269
+ "$extensions": {
270
+ "com.polyxd": {
271
+ "numeric": "tabular"
272
+ }
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "space": {
278
+ "$type": "dimension",
279
+ "inset": {
280
+ "compact": {
281
+ "$value": "{neon.space.inset.compact}"
282
+ },
283
+ "default": {
284
+ "$value": "{neon.space.inset.default}"
285
+ },
286
+ "comfortable": {
287
+ "$value": "{neon.space.inset.comfortable}"
288
+ }
289
+ },
290
+ "stack": {
291
+ "tight": {
292
+ "$value": "{neon.space.stack.tight}"
293
+ },
294
+ "default": {
295
+ "$value": "{neon.space.stack.default}"
296
+ },
297
+ "loose": {
298
+ "$value": "{neon.space.stack.loose}"
299
+ },
300
+ "section": {
301
+ "$value": "{neon.space.stack.section}"
302
+ }
303
+ },
304
+ "inline": {
305
+ "tight": {
306
+ "$value": "{neon.space.inline.tight}"
307
+ },
308
+ "default": {
309
+ "$value": "{neon.space.inline.default}"
310
+ },
311
+ "loose": {
312
+ "$value": "{neon.space.inline.loose}"
313
+ }
314
+ }
315
+ },
316
+ "size": {
317
+ "$type": "dimension",
318
+ "target": {
319
+ "min": {
320
+ "$value": "{neon.size.target}"
321
+ }
322
+ },
323
+ "icon": {
324
+ "small": {
325
+ "$value": "{neon.size.icon-small}"
326
+ },
327
+ "default": {
328
+ "$value": "{neon.size.icon-default}"
329
+ }
330
+ }
331
+ },
332
+ "radius": {
333
+ "$type": "dimension",
334
+ "small": {
335
+ "$value": "{neon.radius.small}"
336
+ },
337
+ "control": {
338
+ "$value": "{neon.radius.control}"
339
+ },
340
+ "default": {
341
+ "$value": "{neon.radius.default}"
342
+ },
343
+ "large": {
344
+ "$value": "{neon.radius.large}"
345
+ },
346
+ "full": {
347
+ "$value": "{neon.radius.full}"
348
+ }
349
+ },
350
+ "border": {
351
+ "width": {
352
+ "$type": "dimension",
353
+ "default": {
354
+ "$value": "{neon.border.default}"
355
+ },
356
+ "strong": {
357
+ "$value": "{neon.border.strong}"
358
+ }
359
+ }
360
+ },
361
+ "focus": {
362
+ "ring": {
363
+ "$type": "dimension",
364
+ "width": {
365
+ "$value": "{neon.focus.width}"
366
+ },
367
+ "offset": {
368
+ "$value": "{neon.focus.offset}"
369
+ }
370
+ }
371
+ },
372
+ "measure": {
373
+ "max": {
374
+ "$value": "{neon.measure}",
375
+ "$type": "number"
376
+ }
377
+ },
378
+ "opacity": {
379
+ "state": {
380
+ "$type": "number",
381
+ "hover": {
382
+ "$value": "{neon.opacity.hover}"
383
+ },
384
+ "pressed": {
385
+ "$value": "{neon.opacity.pressed}"
386
+ },
387
+ "focus": {
388
+ "$value": "{neon.opacity.focus}"
389
+ },
390
+ "disabled": {
391
+ "$value": "{neon.opacity.disabled}"
392
+ }
393
+ }
394
+ },
395
+ "shadow": {
396
+ "$type": "shadow",
397
+ "raised": {
398
+ "$value": "{neon.shadow.raised}"
399
+ },
400
+ "overlay": {
401
+ "$value": "{neon.shadow.overlay}"
402
+ }
403
+ },
404
+ "motion": {
405
+ "duration": {
406
+ "$type": "duration",
407
+ "instant": {
408
+ "$value": "{neon.duration.instant}"
409
+ },
410
+ "short": {
411
+ "$value": "{neon.duration.short}"
412
+ },
413
+ "medium": {
414
+ "$value": "{neon.duration.medium}"
415
+ },
416
+ "long": {
417
+ "$value": "{neon.duration.long}"
418
+ }
419
+ },
420
+ "easing": {
421
+ "$type": "cubicBezier",
422
+ "standard": {
423
+ "$value": "{neon.ease.standard}"
424
+ },
425
+ "enter": {
426
+ "$value": "{neon.ease.enter}"
427
+ },
428
+ "exit": {
429
+ "$value": "{neon.ease.exit}"
430
+ }
431
+ }
432
+ }
433
+ }