Adding to Paragraph secondary color

This commit is contained in:
apanizo 2018-09-25 16:42:32 +02:00
parent 19c8f77d2f
commit c9c5d1fed7
2 changed files with 11 additions and 2 deletions

View File

@ -9,8 +9,8 @@ type Props = {
align?: 'right' | 'center' | 'left', align?: 'right' | 'center' | 'left',
noMargin?: boolean, noMargin?: boolean,
weight?: 'light' | 'regular' | 'bolder' | 'bold', weight?: 'light' | 'regular' | 'bolder' | 'bold',
size?: 'sm' | 'md' | 'lg' | 'xl', size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl',
color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary' | 'warning', color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary' | 'secondary' | 'warning',
transform?: 'capitalize' | 'lowercase' | 'uppercase', transform?: 'capitalize' | 'lowercase' | 'uppercase',
children: React$Node, children: React$Node,
dot?: boolean, dot?: boolean,

View File

@ -22,10 +22,15 @@
.warning { .warning {
color: $warning; color: $warning;
} }
.primary { .primary {
color: $fontColor; color: $fontColor;
} }
.secondary {
color: $secondary;
}
.white { .white {
color: white; color: white;
} }
@ -74,6 +79,10 @@
font-size: $extraLargeFontSize; font-size: $extraLargeFontSize;
} }
.xxl {
font-size: $xxlFontSize;
}
.light { .light {
font-weight: $lightFont; font-weight: $lightFont;
} }