Tokens
Design tokens are a set of design decisions used to define the visual style of the system. Think of tokens as the theme that can be applied to base components to make them branded. They help maintain consistency across the system by providing a common language for designers and developers to use.
Colour (background)
All colours that can be used as a background colour. For colours that can be used on top of these background colours, see the “contents” colours below.
Â
Name
Panda CSS variable
Value
Base
Purple Haze (20%)
token('colors.background.base.20')rgba(16, 0, 48, 0.2)Siphon (90%)
token('colors.background.base.90')rgba(16, 0, 48, 0.9)Ice
token('colors.background.base.100')#F0FFFFDusty Sky
token('colors.background.base.200')#D9DDFFPurple Haze
token('colors.background.base.300')#A49FC8Hemocyanin
token('colors.background.base.500')#180048Siphon
token('colors.background.base.900')#100030Â
Primary
Soho Lights (10%)
token('colors.background.primary.10')rgba(240, 80, 248, 0.1)Akoya
token('colors.background.primary.100')#FA98FFSoho Lights
token('colors.background.primary.500')#F050F8Bubblegum
token('colors.background.primary.600')#FF2FFBPlum
token('colors.background.primary.900')#600E6BÂ
Secondary
Ink (10%)
token('colors.background.secondary.10')rgba(88, 64, 255, 0.1)Blue Tang
token('colors.background.secondary.100')#6675F6Ink
token('colors.background.secondary.500')#5840FFBlueberry
token('colors.background.secondary.900')#2D1A83Â
Tertiary
Aquamarine (10%)
token('colors.background.tertiary.10')rgba(189, 242, 255, 0.1)Aquamarine (20%)
token('colors.background.tertiary.20')rgba(189, 242, 255, 0.2)Aquamarine
token('colors.background.tertiary.100')#BDF2FFVoltage
token('colors.background.tertiary.500')#60F0F8Â
Success
Green (10%)
token('colors.background.actions.success.10')rgba(16, 195, 149, 0.1)Green (30%)
token('colors.background.actions.success.30')rgba(16, 195, 149, 0.3)Mint
token('colors.background.actions.success.100')#A4FFE8Green
token('colors.background.actions.success.500')#10C395Â
Warning
Orange (10%)
token('colors.background.actions.warning.10')rgba(236, 130, 67, 0.1)Orange (30%)
token('colors.background.actions.warning.30')rgba(236, 130, 67, 0.3)Oranda
token('colors.background.actions.warning.100')#FFA26BOrange
token('colors.background.actions.warning.500')#EC8243Â
Error
Red (10%)
token('colors.background.actions.error.10')rgba(255, 62, 104, 0.1)Red (30%)
token('colors.background.actions.error.30')rgba(255, 62, 104, 0.3)Salmon
token('colors.background.actions.error.100')#FF809BRed
token('colors.background.actions.error.500')#FF3E68Â
Info
Blue (10%)
token('colors.background.actions.information.10')rgba(0, 200, 248, 0.1)Blue (30%)
token('colors.background.actions.information.30')rgba(0, 200, 248, 0.3)Squirtle
token('colors.background.actions.information.100')#71E3FFBlue
token('colors.background.actions.information.500')#00C8F8Colour (contents)
All colours that can be used on top of the background colours above. All background colours have a corresponding content colour.
Â
Name
Panda CSS variable
Value
Base
Purple Haze
token('colors.contents.base.20')#A49FC8Ice
token('colors.contents.base.90')#F0FFFFSiphon
token('colors.contents.base.100')#100030Siphon
token('colors.contents.base.200')#100030Siphon
token('colors.contents.base.300')#100030Ice
token('colors.contents.base.500')#F0FFFFIce
token('colors.contents.base.900')#F0FFFFÂ
Primary
Siphon
token('colors.contents.primary.10')#100030Siphon
token('colors.contents.primary.100')#100030Siphon
token('colors.contents.primary.500')#100030Siphon
token('colors.contents.primary.600')#100030Purple Haze
token('colors.contents.primary.900')#A49FC8Â
Secondary
Siphon
token('colors.contents.secondary.10')#100030Siphon
token('colors.contents.secondary.100')#100030Ice
token('colors.contents.secondary.500')#F0FFFFIce
token('colors.contents.secondary.900')#F0FFFFÂ
Tertiary
Siphon
token('colors.contents.tertiary.10')#100030Siphon
token('colors.contents.tertiary.20')#100030Siphon
token('colors.contents.tertiary.100')#100030Siphon
token('colors.contents.tertiary.500')#100030Â
Success
Siphon
token('colors.contents.actions.success.10')#100030Green
token('colors.contents.actions.success.30')#10C395Siphon
token('colors.contents.actions.success.100')#100030Siphon
token('colors.contents.actions.success.500')#100030Â
Error
Siphon
token('colors.contents.actions.error.10')#100030Salmon
token('colors.contents.actions.error.30')#FF809BSiphon
token('colors.contents.actions.error.100')#100030Siphon
token('colors.contents.actions.error.500')#100030Â
Warning
Siphon
token('colors.contents.actions.warning.10')#100030Orange
token('colors.contents.actions.warning.30')#EC8243Siphon
token('colors.contents.actions.warning.100')#100030Siphon
token('colors.contents.actions.warning.500')#100030Â
Information
Siphon
token('colors.contents.actions.information.10')#100030Blue
token('colors.contents.actions.information.30')#00C8F8Siphon
token('colors.contents.actions.information.100')#100030Siphon
token('colors.contents.actions.information.500')#100030Spacing
All spacing values available across the system.
Â
Name
Figma variable
Panda CSS variable
Pixel value
Rem value
none
nonetoken('spacing.none')0px0remxxs
spacing xxstoken('spacing.xxs')4px0.4remxs
spacing xstoken('spacing.xs')8px0.8remxsSm
spacing xs-smtoken('spacing.xsSm')12px1.2remsm
spacing smtoken('spacing.sm')16px1.6remsmMd
spacing sm-mdtoken('spacing.smMd')20px2remmd
spacing mdtoken('spacing.md')24px2.4remmdLg
spacing md-lgtoken('spacing.mdLg')28px2.8remlg
spacing lgtoken('spacing.lg')32px3.2remlgXl
spacing lg-xltoken('spacing.lgXl')36px3.6remxl
spacing xltoken('spacing.xl')40px4remxxl
spacing xxltoken('spacing.xxl')48px4.8remxxxl
spacing xxxltoken('spacing.xxxl')64px6.4remTypography
All Typography styles available across the system.
Name
Figma text style
Panda CSS variable
Font size
Font weight
Line height
Hero 1
Hero 1typography.hero1144px700216pxHero 2
Hero 2typography.hero250px70075pxHeading 1
Heading 1typography.h140px50060pxHeading 2
Heading 2typography.h236px50054pxTitle 1
Title 1typography.h328px50042pxTitle 2
Title 2typography.h422px50033pxTitle 3
Title 3typography.h518px50027pxTitle 4
Title 4typography.h616px50024pxBody 1
Body 1typography.body118px30027pxBody 2
Body 2typography.body216px30024pxCaption 1
Caption 1typography.caption112px30018pxButton
Buttontypography.button18px30011.11pxBorder
Name
Figma variable
Panda CSS variable
Pixel value
Rem value
Border radius
border radius smborderRadius.base12px1.2remBorder width
border widthborderWidth.base2px0.2remAnimation
Name
Panda CSS variable
Value
duration
animation.duration.ms.asNumber200animation.duration.ms.asString200msanimation.duration.sec.asNumber0.2animation.duration.sec.asString0.2seasing
animation.easing.asStringcubic-bezier(0.4, 0, 0.2, 1)animation.easing.asArray[0.4, 0, 0.2, 1]Breakpoints
Name
Panda CSS variable
Value
xs
breakpoints.xs400pxsm
breakpoints.sm640pxmd
breakpoints.md768pxlg
breakpoints.lg1024pxxl
breakpoints.xl1280pxLast updated on