--border-color
Default border and divider color.
Use for: cards, inputs, separators
Value: supplied by your design.
Modern CSS toolset
Use neutral dividers for structure and status colors to reinforce meaning. Border color is separate from border width and radius.
.notice--warning {
border: 1px solid var(--border-warning);
background: var(--bg-warning);
color: var(--text-warning);
}
These examples show how to consume the tokens. Assign values before using them.
--border-colorDefault border and divider color.
Use for: cards, inputs, separators
Value: supplied by your design.
--border-color-subtleQuieter border for low-emphasis dividers.
Value: supplied by your design.
--border-brandBorder accent using the primary brand color.
Value: supplied by your design.
--border-brand-secondaryBorder accent using a secondary brand color.
Value: supplied by your design.
--border-successBorder for success state outlines.
Value: supplied by your design.
--border-warningBorder for warning state outlines.
Value: supplied by your design.
--border-dangerBorder for danger/error state outlines.
Value: supplied by your design.
--border-infoBorder for informational state outlines.
Value: supplied by your design.