Skip to Content
Referencefusion-uiStyleTokensPrimitive Tokens

Primitive Tokens

Warning

This reference documentation is AI-generated and may contain errors.

interface PrimitiveTokens { borderRadius: BorderRadii; borderWidth: BorderWidths; boxShadow: BoxShadows; colors: Colors; fontFamily: FontFamilies; fontSize: FontSizes; fontWeight: FontWeights; letterSpacing: LetterSpacings; lineHeight: LineHeights; opacity: Opacities; sizing: Sizings; spacing: Spacings; }

Border Radius

type BorderRadii = Record<BorderRadius, string>; type BorderRadius = | 50 | 100 | 150 | 200 | 250 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | 1100 | 1200 | 1300;

Border Width

type BorderWidths = Record<BorderWidth, string>; type BorderWidth = 100 | 200;

Box Shadow

type BoxShadows = Record<BoxShadow, string>; type BoxShadow = 0 | 100 | 200 | 300 | 400 | 500;

Colors

type Colors = { red: Record<Shade, string>; pink: Record<Shade, string>; purple: Record<Shade, string>; deepPurple: Record<Shade, string>; indigo: Record<Shade, string>; blue: Record<Shade, string>; lightBlue: Record<Shade, string>; cyan: Record<Shade, string>; teal: Record<Shade, string>; green: Record<Shade, string>; lightGreen: Record<Shade, string>; lime: Record<Shade, string>; yellow: Record<Shade, string>; amber: Record<Shade, string>; orange: Record<Shade, string>; deepOrange: Record<Shade, string>; brown: Record<Shade, string>; gray: Record<Shade, string>; blueGray: Record<Shade, string>; }; type Shade = | 0 | 2 | 5 | 10 | 15 | 20 | 25 | 30 | 40 | 50 | 60 | 70 | 75 | 80 | 85 | 90 | 95 | 98 | 100;

Font Family

type FontFamilies = Record<FontFamily, string>; type FontFamily = 1 | 2 | 3 | 4 | 5;

Font Size

type FontSizes = Record<FontSize, string>; type FontSize = | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 | 550 | 600 | 650 | 700 | 750 | 775 | 800 | 850 | 900 | 950 | 1000;

Font Weight

type FontWeights = Record<FontWeight, string>; type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;

Letter Spacing

type LetterSpacings = Record<LetterSpacing, string>; type LetterSpacing = | 100 | 200 | 300 | 400 | 450 | 500 | 550 | 600 | 700 | 750 | 775 | 800 | 850 | 900 | 950;

Line Height

type LineHeights = Record<LineHeight, string>; type LineHeight = | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 | 550 | 600 | 650 | 700 | 750 | 775 | 800 | 850 | 900 | 950 | 1000;

Opacity

type Opacities = Record<Opacity, string>; type Opacity = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;

Sizing

type Sizings = Record<Sizing, string>; type Sizing = | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 | 550 | 600 | 650 | 700 | 750 | 800 | 850 | 900 | 950 | 1000 | 1050 | 1100 | 1150 | 1200 | 1250 | 1300 | 1350 | 1400;

Spacing

type Spacings = Record<Spacing, string>; type Spacing = | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | 1100 | 1200 | 1300 | 1400;
Last updated on