Border tokens
Border width
borderWidth-1
The default border width and should be used in almost all cases.
borderWidth-2
Used to indicate an input field has an error, or that an interace element is currently being edited—like the Details card in templates
borderWidth-4
Special circumstance sonly, can be used to highlight an active tab
Border color
border
primary
primary-subtle
strong
emphasis
dark
on-color
interactive
interactive-subtle
interactive-strong
destructive
destructive-subtle
success
success-subtle
warning
warning-subtle
info
info-subtle
outlineDark
Used to add a subtle outline by by layering a dark overlay (#000 8%)
outlineLight
Used to add a subtle outline by by layering a light overlay (#FFFFFF 8%)
Border radius
0px
0px
borderRadius-none
Can be applied to quickly override the border radius of a component to 0
2px
2px
borderRadius-sm
Used to the soften the edges of smaller UI elements (16px or smaller) to prevent them from looking full rounded
4px
4px
borderRadius-md
The default border radius for most components and interface elements
6px
6px
borderRadius-lg
Used in floating elements like Action Menus, select dropdowns, and popovers
8px
8px
borderRadius-xl
Used in larger floating elements like modals or slideovers
12px
12px
borderRadius-xxl
Limited use currently, but should be reserved for large containers that take up a significant portion of the page
1000px
1000px
borderRadius-full
Fully rounded border radius, creates a "pill-like" shape
Focus rings
focus / warning
focus / warning / default
focus / warning / simple
focus / success
focus / success / default
focus / success / simple
focus / destruction
focus / destruction / default
focus / destruction / simple
focus / primary
focus / primary / default
focus / primary / simple
focus / info
focus / info / default
focus / info / simple
focus / neutral
focus / neutral / default
focus / neutral / simple