@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
11 lines (10 loc) • 345 B
TypeScript
/**
* Type definition for w3c border composite token value
* @link https://design-tokens.github.io/community-group/format/#border
*/
export type StrokeStyleString = 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'outset' | 'inset'
export type BorderTokenValue = {
color: string
width: string
style: StrokeStyleString
}