@alea-design/tokens 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +4 -2
- package/dist/alea.css-data.json +1205 -0
- package/dist/figma.json +4391 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1324 -0
- package/dist/tokens.css +630 -0
- package/dist/tokens.json +1316 -0
- package/package.json +48 -4
- package/src/base.json +449 -0
- package/src/look-primitives.json +9104 -0
- package/src/primitives.json +367 -0
- package/src/semantic.json +1537 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type TokenPath = "color.purple.50" | "color.purple.100" | "color.purple.200" | "color.purple.300" | "color.purple.400" | "color.purple.500" | "color.purple.600" | "color.purple.650" | "color.purple.700" | "color.purple.800" | "color.purple.900" | "color.purple.950" | "color.yellow.50" | "color.yellow.100" | "color.yellow.200" | "color.yellow.300" | "color.yellow.400" | "color.yellow.500" | "color.yellow.600" | "color.yellow.700" | "color.yellow.800" | "color.yellow.900" | "color.yellow.950" | "color.violet.50" | "color.violet.100" | "color.violet.200" | "color.violet.300" | "color.violet.400" | "color.violet.500" | "color.violet.600" | "color.violet.700" | "color.violet.800" | "color.violet.900" | "color.violet.950" | "color.neutral.50" | "color.neutral.100" | "color.neutral.200" | "color.neutral.300" | "color.neutral.400" | "color.neutral.500" | "color.neutral.600" | "color.neutral.700" | "color.neutral.800" | "color.neutral.900" | "color.neutral.950" | "color.green.50" | "color.green.100" | "color.green.200" | "color.green.300" | "color.green.400" | "color.green.500" | "color.green.600" | "color.green.700" | "color.green.800" | "color.green.900" | "color.green.950" | "color.red.50" | "color.red.100" | "color.red.200" | "color.red.300" | "color.red.400" | "color.red.500" | "color.red.600" | "color.red.650" | "color.red.700" | "color.red.800" | "color.red.900" | "color.red.950" | "color.amber.50" | "color.amber.100" | "color.amber.200" | "color.amber.300" | "color.amber.400" | "color.amber.500" | "color.amber.600" | "color.amber.700" | "color.amber.800" | "color.amber.900" | "color.amber.950" | "color.blue.50" | "color.blue.100" | "color.blue.200" | "color.blue.300" | "color.blue.400" | "color.blue.500" | "color.blue.600" | "color.blue.700" | "color.blue.800" | "color.blue.900" | "color.blue.950" | "color.white" | "color.black" | "color.blue-gray.550" | "color.gray.50" | "color.gray.100" | "color.gray.300" | "color.gray.400" | "color.gray.700" | "color.gray.800" | "color.gray.950" | "color.gray.1000" | "color.transparent" | "color.warm-gray.350" | "spacing.base" | "space.0" | "space.1" | "space.2" | "space.3" | "space.4" | "space.5" | "space.6" | "space.7" | "space.8" | "space.10" | "space.12" | "space.16" | "space.20" | "space.22" | "space.24" | "space.0-25" | "space.0-5" | "space.1-5" | "space.2-5" | "space.3-5" | "radius.3xs" | "radius.2xs" | "radius.xs" | "radius.sm" | "radius.field" | "radius.md" | "radius.lg" | "radius.xl" | "radius.2xl" | "radius.3xl" | "radius.4xl" | "radius.full" | "font.family.display" | "font.family.body" | "font.family.mono" | "font.size.2xs" | "font.size.xs" | "font.size.sm" | "font.size.md" | "font.size.base" | "font.size.lg" | "font.size.xl" | "font.size.2xl" | "font.size.3xl" | "font.size.4xl" | "font.size.5xl" | "font.size.6xl" | "font.size.7xl" | "font.weight.light" | "font.weight.regular" | "font.weight.medium" | "font.weight.semibold" | "font.leading.tight" | "font.leading.snug" | "font.leading.normal" | "font.leading.relaxed" | "font.tracking.display" | "font.tracking.tight" | "font.tracking.normal" | "font.tracking.eyebrow" | "motion.ease.out" | "motion.ease.in-out" | "motion.ease.standard" | "motion.ease.emphasized" | "motion.ease.spring" | "motion.ease.in" | "motion.duration.instant" | "motion.duration.fast" | "motion.duration.base" | "motion.duration.slow" | "motion.duration.slower" | "motion.distance.sm" | "motion.distance.md" | "motion.distance.lg" | "motion.scale.from" | "motion.scale.press" | "motion.stagger" | "motion.lift" | "motion.spring" | "motion.blur.sm" | "motion.blur.md" | "motion.blur.lg" | "z.dropdown" | "z.sticky" | "z.overlay" | "z.modal" | "z.toast" | "z.tooltip" | "breakpoint.sm" | "breakpoint.md" | "breakpoint.lg" | "breakpoint.xl" | "size.control-sm" | "size.control-md" | "size.control-lg" | "size.field" | "size.icon-sm" | "size.icon-md" | "size.icon-lg" | "bg.default" | "bg.deep" | "surface.default" | "surface.deep" | "surface.raised" | "surface.hover" | "surface.overlay" | "border.default" | "border.strong" | "border.control" | "text.default" | "text.soft" | "text.muted" | "text.faint" | "accent.default" | "accent.strong" | "accent.second" | "accent.third" | "accent.subtle" | "accent.on" | "accent.solid" | "focus.default" | "focus.halo" | "chip.bg" | "chip.text" | "button.ring" | "button.top" | "button.bottom" | "button.text" | "effect.top-light" | "effect.glow" | "effect.glow-soft" | "field.bg" | "status.success" | "status.success-bg" | "status.danger" | "status.danger-bg" | "status.warning" | "status.warning-bg" | "status.info" | "status.info-bg" | "status.on" | "status.success-solid" | "status.success-on-solid" | "status.warning-solid" | "status.warning-on-solid" | "status.danger-solid" | "status.danger-solid-hover" | "status.danger-on-solid" | "status.info-solid" | "status.info-on-solid" | "shadow.card" | "shadow.pop" | "shadow.glow" | "gradient.accent" | "gradient.accent-linear" | "gradient.text" | "gradient.text-linear" | "gradient.button" | "presence.online" | "presence.away" | "presence.busy" | "presence.offline" | "rating.fill" | "control.thumb" | "on-media" | "media-backdrop" | "media-scrim" | "chart.2" | "chart.3" | "chart.4" | "chart.5" | "chart.6" | "chart.7" | "chart.8" | "reaction.like" | "icon.default" | "icon.muted" | "icon.soft" | "icon.faint" | "icon.accent" | "icon.brand" | "icon.on-accent" | "icon.button" | "icon.chip" | "icon.danger" | "icon.success" | "icon.warning" | "icon.info" | "icon.on-danger" | "icon.on-success" | "icon.on-warning" | "icon.on-info" | "icon.on-status" | "icon.rating" | "icon.control" | "icon.like";
|
|
2
|
+
export declare const tokens: Record<TokenPath, { value?: string; compact?: string; dark?: string; light?: string; css: string }>;
|
|
3
|
+
export declare function cssVar(path: TokenPath | string): string;
|