Adding warning color to Paragrpah layout component

This commit is contained in:
apanizo 2018-09-06 10:54:48 +02:00
parent 77ae14e98f
commit d0ab6f4581
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ type Props = {
noMargin?: boolean,
weight?: 'light' | 'regular' | 'bolder' | 'bold',
size?: 'sm' | 'md' | 'lg' | 'xl',
color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary',
color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary' | 'warning',
transform?: 'capitalize' | 'lowercase' | 'uppercase',
children: React$Node,
className?: string,

View File

@ -19,6 +19,9 @@
color: $fancy;
}
.warning {
color: $warning;
}
.primary {
color: $fontColor,
}