@lessonkit/themes 1.0.2 → 1.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.
- package/dist/index.cjs +5 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -421,6 +421,7 @@ function buildThemeCatalog() {
|
|
|
421
421
|
cssVariable: colorVarName(key),
|
|
422
422
|
type: "color",
|
|
423
423
|
required: true,
|
|
424
|
+
/* v8 ignore next -- REQUIRED_COLOR_KEYS are fully described above */
|
|
424
425
|
description: COLOR_DESCRIPTIONS[key] ?? `Color token: ${key}`
|
|
425
426
|
});
|
|
426
427
|
}
|
|
@@ -437,6 +438,7 @@ function buildThemeCatalog() {
|
|
|
437
438
|
cssVariable: spacingVarName(key),
|
|
438
439
|
type: "spacing",
|
|
439
440
|
required: true,
|
|
441
|
+
/* v8 ignore next -- REQUIRED_SPACING_KEYS are fully described above */
|
|
440
442
|
description: SPACING_DESCRIPTIONS[key] ?? `Spacing token: ${key}`
|
|
441
443
|
});
|
|
442
444
|
}
|
|
@@ -446,6 +448,7 @@ function buildThemeCatalog() {
|
|
|
446
448
|
cssVariable: typographyVarName(key),
|
|
447
449
|
type: "typography",
|
|
448
450
|
required: true,
|
|
451
|
+
/* v8 ignore next -- REQUIRED_TYPOGRAPHY_KEYS are fully described above */
|
|
449
452
|
description: TYPOGRAPHY_DESCRIPTIONS[key] ?? `Typography token: ${key}`
|
|
450
453
|
});
|
|
451
454
|
}
|
|
@@ -455,6 +458,7 @@ function buildThemeCatalog() {
|
|
|
455
458
|
cssVariable: radiusVarName(key),
|
|
456
459
|
type: "radius",
|
|
457
460
|
required: true,
|
|
461
|
+
/* v8 ignore next -- REQUIRED_RADIUS_KEYS are fully described above */
|
|
458
462
|
description: RADIUS_DESCRIPTIONS[key] ?? `Radius token: ${key}`
|
|
459
463
|
});
|
|
460
464
|
}
|
|
@@ -464,6 +468,7 @@ function buildThemeCatalog() {
|
|
|
464
468
|
cssVariable: shadowVarName(key),
|
|
465
469
|
type: "shadow",
|
|
466
470
|
required: true,
|
|
471
|
+
/* v8 ignore next -- REQUIRED_SHADOW_KEYS are fully described above */
|
|
467
472
|
description: SHADOW_DESCRIPTIONS[key] ?? `Shadow token: ${key}`
|
|
468
473
|
});
|
|
469
474
|
}
|
package/dist/index.js
CHANGED
|
@@ -373,6 +373,7 @@ function buildThemeCatalog() {
|
|
|
373
373
|
cssVariable: colorVarName(key),
|
|
374
374
|
type: "color",
|
|
375
375
|
required: true,
|
|
376
|
+
/* v8 ignore next -- REQUIRED_COLOR_KEYS are fully described above */
|
|
376
377
|
description: COLOR_DESCRIPTIONS[key] ?? `Color token: ${key}`
|
|
377
378
|
});
|
|
378
379
|
}
|
|
@@ -389,6 +390,7 @@ function buildThemeCatalog() {
|
|
|
389
390
|
cssVariable: spacingVarName(key),
|
|
390
391
|
type: "spacing",
|
|
391
392
|
required: true,
|
|
393
|
+
/* v8 ignore next -- REQUIRED_SPACING_KEYS are fully described above */
|
|
392
394
|
description: SPACING_DESCRIPTIONS[key] ?? `Spacing token: ${key}`
|
|
393
395
|
});
|
|
394
396
|
}
|
|
@@ -398,6 +400,7 @@ function buildThemeCatalog() {
|
|
|
398
400
|
cssVariable: typographyVarName(key),
|
|
399
401
|
type: "typography",
|
|
400
402
|
required: true,
|
|
403
|
+
/* v8 ignore next -- REQUIRED_TYPOGRAPHY_KEYS are fully described above */
|
|
401
404
|
description: TYPOGRAPHY_DESCRIPTIONS[key] ?? `Typography token: ${key}`
|
|
402
405
|
});
|
|
403
406
|
}
|
|
@@ -407,6 +410,7 @@ function buildThemeCatalog() {
|
|
|
407
410
|
cssVariable: radiusVarName(key),
|
|
408
411
|
type: "radius",
|
|
409
412
|
required: true,
|
|
413
|
+
/* v8 ignore next -- REQUIRED_RADIUS_KEYS are fully described above */
|
|
410
414
|
description: RADIUS_DESCRIPTIONS[key] ?? `Radius token: ${key}`
|
|
411
415
|
});
|
|
412
416
|
}
|
|
@@ -416,6 +420,7 @@ function buildThemeCatalog() {
|
|
|
416
420
|
cssVariable: shadowVarName(key),
|
|
417
421
|
type: "shadow",
|
|
418
422
|
required: true,
|
|
423
|
+
/* v8 ignore next -- REQUIRED_SHADOW_KEYS are fully described above */
|
|
419
424
|
description: SHADOW_DESCRIPTIONS[key] ?? `Shadow token: ${key}`
|
|
420
425
|
});
|
|
421
426
|
}
|