defaultColors
Default color configuration object.
defaultColors
Type:
colors
Properties
colorUtilities
Composable color utilities
colorUtilities
Type:
Object<string, utility>
Example
{
red: { color: 'red' },
hoverRed: { ':hover': { color: 'red' } },
bgRed: { backgroundColor: 'red' },
borderRed: { borderColor: 'red' },
strokeRed: { stroke: 'red' },
fillRed: { fill: 'red' },
}
colors
An optional color configuration object
colors
Type:
Object<string, string>
Example
{ red: '#EE3124', redTint: '#F9C1BD' }
layoutUtilities
Composable utiltiy objects.
layoutUtilities
Type:
Object<string, utility>
Static Members
block
Returns
utility
:
{ display: 'block' }
inlineBlock
Returns
utility
:
{ display: 'inline-block' }
flex
Returns
utility
:
{ display: 'flex' }
flexHalf
Returns
utility
:
{ flex: 0.5, display: 'flex' }
flexRow
Returns
utility
:
{ flexDirection: 'row' }
flexColumn
Returns
utility
:
{ flexDirection: 'column' }
rowReverse
Returns
utility
:
{ flexDirection: 'row-reverse' }
columnReverse
Returns
utility
:
{ flexDirection: 'column-reverse' }
noWrap
Returns
utility
:
{ flexWrap: 'nowrap' }
wrap
Returns
utility
:
{ flexWrap: 'wrap' }
justifyStart
Returns
utility
:
{ justifyContent: 'flex-start' }
justifyEnd
Returns
utility
:
{ justifyContent: 'flex-end' }
justifyCenter
Returns
utility
:
{ justifyContent: 'center' }
spaceBetween
Returns
utility
:
{ justifyContent: 'space-between' }
spaceAround
Returns
utility
:
{ justifyContent: 'space-around' }
alignStart
Returns
utility
:
{ alignItems: 'flex-start' }
alignEnd
Returns
utility
:
{ alignItems: 'flex-end' }
alignCenter
Returns
utility
:
{ alignItems: 'center' }
alignBase
Returns
utility
:
{ alignItems: 'baseline' }
alignStretch
Returns
utility
:
{ alignItems: 'stretch' }
selfStart
Returns
utility
:
{ alignSelf: 'flex-start' }
selfEnd
Returns
utility
:
{ alignSelf: 'flex-end' }
selfCenter
Returns
utility
:
{ alignSelf: 'center' }
selfBase
Returns
utility
:
{ alignSelf: 'baseline' }
selfStretch
Returns
utility
:
{ alignSelf: 'stretch' }
grow0
Returns
utility
:
{ flexGrow: 0 }
grow1
Returns
utility
:
{ flexGrow: 1 }
shrink0
Returns
utility
:
{ flexShrink: 0 }
shrink1
Returns
utility
:
{ flexShrink: 1 }
overflowVisible
Returns
utility
:
{ overflow: 'visible' }
relative
Returns
utility
:
{ position: 'relative' }
fixed
Returns
utility
:
{ position: 'fixed' }
absolute
Returns
utility
:
{ position: 'absolute' }