Light

Shadow Tokens

[!TIP] For machine-parseable token values, see tokens.json.

Shadow Scale

TokenCSS VariableValueUsage
none--shadow-nonenoneNo shadow
sm--shadow-sm0 1px 2px 0 rgb(0 0 0 / 0.05)Subtle elevation
DEFAULT--shadow0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)Default shadow
md--shadow-md0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)Medium elevation
lg--shadow-lg0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)High elevation
xl--shadow-xl0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)Very high elevation
2xl--shadow-2xl0 25px 50px -12px rgb(0 0 0 / 0.25)Maximum elevation
inner--shadow-innerinset 0 2px 4px 0 rgb(0 0 0 / 0.05)Inset/pressed state

Common Usage Patterns

ComponentTokenDescription
Cards (resting)smSubtle lift
Cards (hover)mdElevated on hover
DropdownslgFloating above content
Modals/DialogsxlMaximum separation
Buttons (pressed)innerPressed appearance
TooltipsmdFloating indicators
PopoverslgFloating panels
Navigation (sticky)mdScroll shadow

Border Width Tokens

TokenCSS VariableValueUsage
DEFAULT--border-width/border1pxStandard borders
2--border-width/border-22pxEmphasis borders (blockquotes)
4--border-width/border-44pxHeavy borders
8--border-width/border-88pxExtra heavy borders

Verified Border Widths (Extracted from Figma)

TokenValueSource
border1pxTable borders, dividers
border-22pxBlockquote left border

Ring/Focus Tokens

TokenValueUsage
ring-0noneNo ring
ring-11pxSubtle focus
ring-22pxDefault focus
ring-44pxEmphasis focus
ring-88pxMaximum focus
ring-offset-00pxNo offset
ring-offset-11pxSubtle offset
ring-offset-22pxDefault offset
ring-offset-44pxLarge offset
ring-offset-88pxMaximum offset

CSS Custom Properties

:root {
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  
  /* Border Widths */
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-4: 4px;
  --border-width-8: 8px;
}

Tailwind Classes

Shadows

shadow-none
shadow-sm
shadow
shadow-md
shadow-lg
shadow-xl
shadow-2xl
shadow-inner

Borders

border          /* 1px */
border-2        /* 2px */
border-4        /* 4px */
border-8        /* 8px */
border-0        /* 0px */

Rings (Focus)

ring-0 ring-1 ring-2 ring-4 ring-8
ring-offset-0 ring-offset-1 ring-offset-2 ring-offset-4 ring-offset-8

See Also

  • Related Tokens:
    • Colors - Border colors and background colors
    • Radii - Often paired with shadows for elevation

Last extracted: December 16, 2025