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

View File

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