Adding warning color to Paragrpah layout component
This commit is contained in:
parent
77ae14e98f
commit
d0ab6f4581
|
@ -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,
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
color: $fancy;
|
color: $fancy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.warning {
|
||||||
|
color: $warning;
|
||||||
|
}
|
||||||
.primary {
|
.primary {
|
||||||
color: $fontColor,
|
color: $fontColor,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue