@quieto/design-tokens 0.3.0 → 1.0.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.
- package/CHANGELOG.md +16 -0
- package/README.md +5 -4
- package/dist/css/qds.css +63 -0
- package/dist/css/qds.dark.css +63 -0
- package/dist/css/qds.light.css +63 -0
- package/dist/js/tokens.js +5392 -3300
- package/dist/tokens.json +5392 -3300
- package/package.json +1 -1
- package/tokens.json +414 -3
package/package.json
CHANGED
package/tokens.json
CHANGED
|
@@ -3164,6 +3164,399 @@
|
|
|
3164
3164
|
}
|
|
3165
3165
|
}
|
|
3166
3166
|
},
|
|
3167
|
+
"component/toast": {
|
|
3168
|
+
"toast": {
|
|
3169
|
+
"gap": {
|
|
3170
|
+
"$value": "{spacing.300}",
|
|
3171
|
+
"$type": "dimension"
|
|
3172
|
+
},
|
|
3173
|
+
"padding": {
|
|
3174
|
+
"$value": "{spacing.400}",
|
|
3175
|
+
"$type": "dimension"
|
|
3176
|
+
},
|
|
3177
|
+
"margin": {
|
|
3178
|
+
"$value": "{spacing.400}",
|
|
3179
|
+
"$type": "dimension",
|
|
3180
|
+
"$description": "Distance from the edge of the viewport to the stack of toasts."
|
|
3181
|
+
},
|
|
3182
|
+
"max-width": {
|
|
3183
|
+
"$value": "{size.sm}",
|
|
3184
|
+
"$type": "dimension"
|
|
3185
|
+
},
|
|
3186
|
+
"border-radius": {
|
|
3187
|
+
"$value": "{radius.default}",
|
|
3188
|
+
"$type": "dimension"
|
|
3189
|
+
},
|
|
3190
|
+
"border-width": {
|
|
3191
|
+
"$value": "{border.default}",
|
|
3192
|
+
"$type": "dimension"
|
|
3193
|
+
},
|
|
3194
|
+
"box-shadow": {
|
|
3195
|
+
"$value": "{elevation.default}",
|
|
3196
|
+
"$type": "shadow"
|
|
3197
|
+
},
|
|
3198
|
+
"font-size": {
|
|
3199
|
+
"$value": "{typography.font-size.200}",
|
|
3200
|
+
"$type": "dimension"
|
|
3201
|
+
},
|
|
3202
|
+
"line-height": {
|
|
3203
|
+
"$value": "{typography.line-height.normal}",
|
|
3204
|
+
"$type": "number"
|
|
3205
|
+
},
|
|
3206
|
+
"duration": {
|
|
3207
|
+
"$value": "{animation.subtle}",
|
|
3208
|
+
"$type": "duration"
|
|
3209
|
+
},
|
|
3210
|
+
"color": {
|
|
3211
|
+
"background": {
|
|
3212
|
+
"rest": {
|
|
3213
|
+
"$value": "{color.background.raised}",
|
|
3214
|
+
"$type": "color"
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3217
|
+
"border": {
|
|
3218
|
+
"rest": {
|
|
3219
|
+
"$value": "{color.border.subtle}",
|
|
3220
|
+
"$type": "color"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
"content": {
|
|
3224
|
+
"rest": {
|
|
3225
|
+
"$value": "{color.content.default}",
|
|
3226
|
+
"$type": "color"
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
},
|
|
3230
|
+
"heading": {
|
|
3231
|
+
"font-weight": {
|
|
3232
|
+
"$value": "{typography.font-weight.semibold}",
|
|
3233
|
+
"$type": "fontWeight"
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
"info": {
|
|
3237
|
+
"color": {
|
|
3238
|
+
"content": {
|
|
3239
|
+
"rest": {
|
|
3240
|
+
"$value": "{color.content.info}",
|
|
3241
|
+
"$type": "color"
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
"success": {
|
|
3247
|
+
"color": {
|
|
3248
|
+
"content": {
|
|
3249
|
+
"rest": {
|
|
3250
|
+
"$value": "{color.content.success}",
|
|
3251
|
+
"$type": "color"
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
"warning": {
|
|
3257
|
+
"color": {
|
|
3258
|
+
"content": {
|
|
3259
|
+
"rest": {
|
|
3260
|
+
"$value": "{color.content.warning}",
|
|
3261
|
+
"$type": "color"
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
"error": {
|
|
3267
|
+
"color": {
|
|
3268
|
+
"content": {
|
|
3269
|
+
"rest": {
|
|
3270
|
+
"$value": "{color.content.error}",
|
|
3271
|
+
"$type": "color"
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
"component/checkbox-group": {
|
|
3279
|
+
"checkbox-group": {
|
|
3280
|
+
"gap": {
|
|
3281
|
+
"$value": "{spacing.200}",
|
|
3282
|
+
"$type": "dimension"
|
|
3283
|
+
},
|
|
3284
|
+
"label": {
|
|
3285
|
+
"font-size": {
|
|
3286
|
+
"$value": "{typography.font-size.200}",
|
|
3287
|
+
"$type": "dimension"
|
|
3288
|
+
},
|
|
3289
|
+
"font-weight": {
|
|
3290
|
+
"$value": "{typography.font-weight.semibold}",
|
|
3291
|
+
"$type": "fontWeight"
|
|
3292
|
+
},
|
|
3293
|
+
"color": {
|
|
3294
|
+
"content": {
|
|
3295
|
+
"rest": {
|
|
3296
|
+
"$value": "{color.content.default}",
|
|
3297
|
+
"$type": "color"
|
|
3298
|
+
},
|
|
3299
|
+
"disabled": {
|
|
3300
|
+
"$value": "{color.content.subtle}",
|
|
3301
|
+
"$type": "color"
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
"hint": {
|
|
3307
|
+
"font-size": {
|
|
3308
|
+
"$value": "{typography.font-size.100}",
|
|
3309
|
+
"$type": "dimension"
|
|
3310
|
+
},
|
|
3311
|
+
"color": {
|
|
3312
|
+
"content": {
|
|
3313
|
+
"rest": {
|
|
3314
|
+
"$value": "{color.content.subtle}",
|
|
3315
|
+
"$type": "color"
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
},
|
|
3320
|
+
"error": {
|
|
3321
|
+
"color": {
|
|
3322
|
+
"content": {
|
|
3323
|
+
"rest": {
|
|
3324
|
+
"$value": "{color.content.error}",
|
|
3325
|
+
"$type": "color"
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
},
|
|
3332
|
+
"component/spinner": {
|
|
3333
|
+
"spinner": {
|
|
3334
|
+
"border-width": {
|
|
3335
|
+
"$value": "{border.primary}",
|
|
3336
|
+
"$type": "dimension"
|
|
3337
|
+
},
|
|
3338
|
+
"sm": {
|
|
3339
|
+
"width": {
|
|
3340
|
+
"$value": "{size.icon.sm}",
|
|
3341
|
+
"$type": "dimension"
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"md": {
|
|
3345
|
+
"width": {
|
|
3346
|
+
"$value": "{size.icon.md}",
|
|
3347
|
+
"$type": "dimension"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
"lg": {
|
|
3351
|
+
"width": {
|
|
3352
|
+
"$value": "{size.icon.lg}",
|
|
3353
|
+
"$type": "dimension"
|
|
3354
|
+
}
|
|
3355
|
+
},
|
|
3356
|
+
"color": {
|
|
3357
|
+
"content": {
|
|
3358
|
+
"rest": {
|
|
3359
|
+
"$value": "{color.content.primary.rest}",
|
|
3360
|
+
"$type": "color"
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
"border": {
|
|
3364
|
+
"rest": {
|
|
3365
|
+
"$value": "{color.border.subtle}",
|
|
3366
|
+
"$type": "color"
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"component/avatar": {
|
|
3373
|
+
"avatar": {
|
|
3374
|
+
"border-radius": {
|
|
3375
|
+
"$value": "{border.radius.full}",
|
|
3376
|
+
"$type": "dimension"
|
|
3377
|
+
},
|
|
3378
|
+
"font-weight": {
|
|
3379
|
+
"$value": "{typography.font-weight.medium}",
|
|
3380
|
+
"$type": "fontWeight"
|
|
3381
|
+
},
|
|
3382
|
+
"sm": {
|
|
3383
|
+
"width": {
|
|
3384
|
+
"$value": "{spacing.500}",
|
|
3385
|
+
"$type": "dimension",
|
|
3386
|
+
"$description": "Square, from the spacing scale, whose steps these sizes match: there is no size step this small."
|
|
3387
|
+
},
|
|
3388
|
+
"font-size": {
|
|
3389
|
+
"$value": "{typography.font-size.100}",
|
|
3390
|
+
"$type": "dimension"
|
|
3391
|
+
}
|
|
3392
|
+
},
|
|
3393
|
+
"md": {
|
|
3394
|
+
"width": {
|
|
3395
|
+
"$value": "{spacing.600}",
|
|
3396
|
+
"$type": "dimension",
|
|
3397
|
+
"$description": "Square, from the spacing scale, whose steps these sizes match: there is no size step this small."
|
|
3398
|
+
},
|
|
3399
|
+
"font-size": {
|
|
3400
|
+
"$value": "{typography.font-size.200}",
|
|
3401
|
+
"$type": "dimension"
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
"lg": {
|
|
3405
|
+
"width": {
|
|
3406
|
+
"$value": "{spacing.700}",
|
|
3407
|
+
"$type": "dimension",
|
|
3408
|
+
"$description": "Square, from the spacing scale, whose steps these sizes match: there is no size step this small."
|
|
3409
|
+
},
|
|
3410
|
+
"font-size": {
|
|
3411
|
+
"$value": "{typography.font-size.400}",
|
|
3412
|
+
"$type": "dimension"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
"color": {
|
|
3416
|
+
"background": {
|
|
3417
|
+
"rest": {
|
|
3418
|
+
"$value": "{color.background.neutral}",
|
|
3419
|
+
"$type": "color"
|
|
3420
|
+
}
|
|
3421
|
+
},
|
|
3422
|
+
"content": {
|
|
3423
|
+
"rest": {
|
|
3424
|
+
"$value": "{color.content.default}",
|
|
3425
|
+
"$type": "color"
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
},
|
|
3431
|
+
"component/breadcrumbs": {
|
|
3432
|
+
"breadcrumbs": {
|
|
3433
|
+
"gap": {
|
|
3434
|
+
"$value": "{spacing.200}",
|
|
3435
|
+
"$type": "dimension"
|
|
3436
|
+
},
|
|
3437
|
+
"font-size": {
|
|
3438
|
+
"$value": "{typography.font-size.200}",
|
|
3439
|
+
"$type": "dimension"
|
|
3440
|
+
},
|
|
3441
|
+
"line-height": {
|
|
3442
|
+
"$value": "{typography.line-height.normal}",
|
|
3443
|
+
"$type": "number"
|
|
3444
|
+
},
|
|
3445
|
+
"color": {
|
|
3446
|
+
"content": {
|
|
3447
|
+
"rest": {
|
|
3448
|
+
"$value": "{color.content.primary.rest}",
|
|
3449
|
+
"$type": "color"
|
|
3450
|
+
},
|
|
3451
|
+
"hover": {
|
|
3452
|
+
"$value": "{color.content.primary.hover}",
|
|
3453
|
+
"$type": "color"
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
},
|
|
3457
|
+
"current": {
|
|
3458
|
+
"color": {
|
|
3459
|
+
"content": {
|
|
3460
|
+
"rest": {
|
|
3461
|
+
"$value": "{color.content.default}",
|
|
3462
|
+
"$type": "color"
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
"separator": {
|
|
3468
|
+
"color": {
|
|
3469
|
+
"content": {
|
|
3470
|
+
"rest": {
|
|
3471
|
+
"$value": "{color.content.subtle}",
|
|
3472
|
+
"$type": "color"
|
|
3473
|
+
}
|
|
3474
|
+
}
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3479
|
+
"component/pagination": {
|
|
3480
|
+
"pagination": {
|
|
3481
|
+
"gap": {
|
|
3482
|
+
"$value": "{spacing.100}",
|
|
3483
|
+
"$type": "dimension"
|
|
3484
|
+
},
|
|
3485
|
+
"min-width": {
|
|
3486
|
+
"$value": "{spacing.600}",
|
|
3487
|
+
"$type": "dimension",
|
|
3488
|
+
"$description": "A page button is at least this wide, so single digits make a square."
|
|
3489
|
+
},
|
|
3490
|
+
"height": {
|
|
3491
|
+
"$value": "{spacing.600}",
|
|
3492
|
+
"$type": "dimension"
|
|
3493
|
+
},
|
|
3494
|
+
"padding-inline": {
|
|
3495
|
+
"$value": "{spacing.200}",
|
|
3496
|
+
"$type": "dimension"
|
|
3497
|
+
},
|
|
3498
|
+
"border-radius": {
|
|
3499
|
+
"$value": "{radius.default}",
|
|
3500
|
+
"$type": "dimension"
|
|
3501
|
+
},
|
|
3502
|
+
"font-size": {
|
|
3503
|
+
"$value": "{typography.font-size.200}",
|
|
3504
|
+
"$type": "dimension"
|
|
3505
|
+
},
|
|
3506
|
+
"font-weight": {
|
|
3507
|
+
"$value": "{typography.font-weight.medium}",
|
|
3508
|
+
"$type": "fontWeight"
|
|
3509
|
+
},
|
|
3510
|
+
"duration": {
|
|
3511
|
+
"$value": "{animation.default}",
|
|
3512
|
+
"$type": "duration"
|
|
3513
|
+
},
|
|
3514
|
+
"color": {
|
|
3515
|
+
"background": {
|
|
3516
|
+
"hover": {
|
|
3517
|
+
"$value": "{color.background.subtle}",
|
|
3518
|
+
"$type": "color"
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
"content": {
|
|
3522
|
+
"rest": {
|
|
3523
|
+
"$value": "{color.content.default}",
|
|
3524
|
+
"$type": "color"
|
|
3525
|
+
},
|
|
3526
|
+
"disabled": {
|
|
3527
|
+
"$value": "{color.content.subtle}",
|
|
3528
|
+
"$type": "color"
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"current": {
|
|
3533
|
+
"color": {
|
|
3534
|
+
"background": {
|
|
3535
|
+
"rest": {
|
|
3536
|
+
"$value": "{color.background.primary.rest}",
|
|
3537
|
+
"$type": "color"
|
|
3538
|
+
}
|
|
3539
|
+
},
|
|
3540
|
+
"content": {
|
|
3541
|
+
"rest": {
|
|
3542
|
+
"$value": "{color.content.inverse}",
|
|
3543
|
+
"$type": "color"
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3548
|
+
"ellipsis": {
|
|
3549
|
+
"color": {
|
|
3550
|
+
"content": {
|
|
3551
|
+
"rest": {
|
|
3552
|
+
"$value": "{color.content.subtle}",
|
|
3553
|
+
"$type": "color"
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3167
3560
|
"$themes": [
|
|
3168
3561
|
{
|
|
3169
3562
|
"id": "light",
|
|
@@ -3196,7 +3589,13 @@
|
|
|
3196
3589
|
"component/select": "enabled",
|
|
3197
3590
|
"component/alert": "enabled",
|
|
3198
3591
|
"component/tooltip": "enabled",
|
|
3199
|
-
"component/menu": "enabled"
|
|
3592
|
+
"component/menu": "enabled",
|
|
3593
|
+
"component/toast": "enabled",
|
|
3594
|
+
"component/checkbox-group": "enabled",
|
|
3595
|
+
"component/spinner": "enabled",
|
|
3596
|
+
"component/avatar": "enabled",
|
|
3597
|
+
"component/breadcrumbs": "enabled",
|
|
3598
|
+
"component/pagination": "enabled"
|
|
3200
3599
|
},
|
|
3201
3600
|
"$figmaStyleReferences": {},
|
|
3202
3601
|
"$figmaVariableReferences": {},
|
|
@@ -3234,7 +3633,13 @@
|
|
|
3234
3633
|
"component/select": "enabled",
|
|
3235
3634
|
"component/alert": "enabled",
|
|
3236
3635
|
"component/tooltip": "enabled",
|
|
3237
|
-
"component/menu": "enabled"
|
|
3636
|
+
"component/menu": "enabled",
|
|
3637
|
+
"component/toast": "enabled",
|
|
3638
|
+
"component/checkbox-group": "enabled",
|
|
3639
|
+
"component/spinner": "enabled",
|
|
3640
|
+
"component/avatar": "enabled",
|
|
3641
|
+
"component/breadcrumbs": "enabled",
|
|
3642
|
+
"component/pagination": "enabled"
|
|
3238
3643
|
},
|
|
3239
3644
|
"$figmaStyleReferences": {},
|
|
3240
3645
|
"$figmaVariableReferences": {},
|
|
@@ -3271,7 +3676,13 @@
|
|
|
3271
3676
|
"component/select",
|
|
3272
3677
|
"component/alert",
|
|
3273
3678
|
"component/tooltip",
|
|
3274
|
-
"component/menu"
|
|
3679
|
+
"component/menu",
|
|
3680
|
+
"component/toast",
|
|
3681
|
+
"component/checkbox-group",
|
|
3682
|
+
"component/spinner",
|
|
3683
|
+
"component/avatar",
|
|
3684
|
+
"component/breadcrumbs",
|
|
3685
|
+
"component/pagination"
|
|
3275
3686
|
]
|
|
3276
3687
|
}
|
|
3277
3688
|
}
|