Added bolder weight semantic style in paragraph

This commit is contained in:
apanizo 2018-09-05 12:43:20 +02:00
parent 9c4d9f97af
commit 22f32d77cc
3 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const cx = classNames.bind(styles)
type Props = { type Props = {
align?: 'right' | 'center' | 'left', align?: 'right' | 'center' | 'left',
noMargin?: boolean, noMargin?: boolean,
weight?: 'light' | 'regular' | 'bold', weight?: 'light' | 'regular' | 'bolder' | 'bold',
size?: 'sm' | 'md' | 'lg' | 'xl', size?: 'sm' | 'md' | 'lg' | 'xl',
color?: 'soft' | 'medium' | 'dark' | 'primary' | 'fancy', color?: 'soft' | 'medium' | 'dark' | 'primary' | 'fancy',
transform?: 'capitalize' | 'lowercase' | 'uppercase', transform?: 'capitalize' | 'lowercase' | 'uppercase',

View File

@ -75,6 +75,10 @@
font-weight: $regularFont; font-weight: $regularFont;
} }
.bolder {
font-weight: $bolderFont;
}
.bold { .bold {
font-weight: $boldFont; font-weight: $boldFont;
} }

View File

@ -31,6 +31,7 @@ module.exports = Object.assign({}, {
fontSizeHeadingLg: 32, fontSizeHeadingLg: 32,
lightFont: 300, lightFont: 300,
regularFont: 400, regularFont: 400,
bolderFont: 500,
boldFont: 700, boldFont: 700,
smallFontSize: '11px', smallFontSize: '11px',
mediumFontSize: '13px', mediumFontSize: '13px',