Weftv0.4.0
GitHubFigma
Blade AI
Foundations · Object Styles

Object Styles

Elevation, border radius, border width and opacity. Weft surfaces are square and flat; these tokens cover the few places that need a shadow, a corner, a stroke or a tint.

Elevation Tokens

#elevation

Seven elevation styles. Shadow colour comes from the Global elevation token, so it adapts per mode. Only mid-raised exists in the file today.

ElevationNeeds decision

Specimens use the elevation colour token with the documented geometry. Six styles have no token yet.

Elevation
Token
Value (x y blur spread · alpha)
Used by
elevation.lowUNDEFINED · needs decision
0 1px 2px 0 · 5%
Inputs and outline buttons
elevation.low-raisedUNDEFINED · needs decision
0 1px 3px 0 · 10%0 1px 2px -1 · 10%
Active tab, sidebar inset
elevation.mid-raised
0 8px 24px 0 · 10%
Dropdown menu, select content
elevation.high-raisedUNDEFINED · needs decision
0 10px 15px -3 · 10%0 4px 6px -4 · 10%
Sheet, dropdown sub-menu
elevation.overlayUNDEFINED · needs decision
0 20px 25px -5 · 10%0 8px 10px -6 · 10%
Chart tooltip, popovers
elevation.maxUNDEFINED · needs decision
0 25px 50px -12 · 25%
Dialogs and command palette
elevation.insetUNDEFINED · needs decision
inset 0 2px 4px 0 · 5%
Pressed and recessed surfaces

Border Radius Tokens

#border-radius

Nine Global radius steps. Weft surfaces stay square; these tokens are for controls that need a corner.

Radius

Each swatch is drawn with its own radius token.

Radius
Token
Value
Used by
border.radius.none
0px
Tables, full-bleed media
border.radius.2xsmall
2px
Hairline accents
border.radius.xsmall
4px
Tooltip
border.radius.small
8px
Menu items, tabs, skeleton, small buttons
border.radius.medium
12px
Buttons, inputs, alerts, menus
border.radius.largeNot in code yet
16px
Cards, sidebar inset
border.radius.xlargeNot in code yet
20px
Large containers
border.radius.2xlargeNot in code yet
24px
Hero surfaces
border.radius.max
9999px
Avatars, drawer handle, dots

Border Width Tokens

#border-width

Stroke widths. Most edges are 1px hairlines; focus is a 3px ring.

Border widthNeeds decision

Widths are literal px in the swatches, since Paper drops variables in border widths.

Width
Token
Value
Used by
border.width.none
0px
Ghost and link buttons
border.width.thin
1px
Cards, inputs, alerts, menus, table rows
border.width.thicker
2px
Emphasised dividers (rare)
UNDEFINED · needs decision
4px
Accent bars (rare)
border.width.3
3px
Focus-visible ring on buttons, inputs, select, checkbox

Opacity Tokens

#opacity

Opacity steps, usually applied as colour modifiers rather than element opacity. Three of six exist in the file.

OpacityNeeds decision

Each swatch is a neutral box at the row opacity.

Opacity
Token
Value
Used by
opacity.100
10%
Card and menu rings, dark-mode borders
UNDEFINED · needs decision
20%
Destructive focus rings, badge tints
UNDEFINED · needs decision
30%
Dark-mode input fill, selected tab
opacity.600
50%
Disabled controls, focus ring colour
UNDEFINED · needs decision
80%
Hover on primary and badge fills
opacity.1300
100%
Default