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, noMargin?: boolean,
weight?: 'light' | 'regular' | 'bolder' | 'bold', weight?: 'light' | 'regular' | 'bolder' | 'bold',
size?: 'sm' | 'md' | 'lg' | 'xl', size?: 'sm' | 'md' | 'lg' | 'xl',
color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary', color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary' | 'warning',
transform?: 'capitalize' | 'lowercase' | 'uppercase', transform?: 'capitalize' | 'lowercase' | 'uppercase',
children: React$Node, children: React$Node,
className?: string, className?: string,

View File

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