Tokens

WoozDesign manages all tokens as CSS Properties. You can access them the same way as other variables.

Reference

Token values can be customized by simply overriding the global theme styles.

.woozdesign {
--font-size-4: 18px;
}

Props

Theme Props

TypeValues
ThemeAccentColor'gray'| 'gold'| 'bronze'| 'brown'| 'yellow'| 'amber'| 'orange'| 'tomato'| 'red'| 'ruby'| 'crimson'| 'pink'| 'mauve'| 'slate'| 'olive'| 'sage'| 'sand'| 'plum'| 'purple'| 'violet'| 'iris'| 'indigo'| 'blue'| 'cyan'| 'teal' | 'jade' | 'green' | 'grass' | 'lime' | 'mint' | 'sky'
ThemeRadius'none' | 'small' | 'medium' | 'large' | 'full'
ThemeScaling'90%' | '95%' | '100%' | '105%' | '110%'
ThemeShadow'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7'
ThemeTranslucent'10%' | '20%' | '40%' | '60%' | '80%'
ThemeBorderRadius'1px' | '2px' | '3px' | '4px'

Layout Props

PropTypeDefaultRequired
positionResponsive<Position>--
widthResponsive<ScreenSize>--
maxWidthResponsive<ScreenSize>--
minWidthResponsive<ScreenSize>--
heightResponsive<ScreenSize>--
maxHeightResponsive<ScreenSize>--
minHeightResponsive<ScreenSize>--
insetResponsive<Inset>--
topResponsive<Inset>--
bottomResponsive<Inset>--
leftResponsive<Inset>--
rightResponsive<Inset>--
shrinkResponsive<Flex>--
growResponsive<Flex>--

Margin Props

PropTypeDefaultRequired
mResponsive<MarginValue>--
mxResponsive<MarginValue>--
myResponsive<MarginValue>--
mlResponsive<MarginValue>--
mrResponsive<MarginValue>--
mtResponsive<MarginValue>--
mbResponsive<MarginValue>--

Padding Props

PropTypeDefaultRequired
pResponsive<PaddingValue>--
pxResponsive<PaddingValue>--
pyResponsive<PaddingValue>--
plResponsive<PaddingValue>--
prResponsive<PaddingValue>--
ptResponsive<PaddingValue>--
pbResponsive<PaddingValue>--
Border Width
Previous
Box
Next