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 = {
align?: 'right' | 'center' | 'left',
noMargin?: boolean,
weight?: 'light' | 'regular' | 'bold',
weight?: 'light' | 'regular' | 'bolder' | 'bold',
size?: 'sm' | 'md' | 'lg' | 'xl',
color?: 'soft' | 'medium' | 'dark' | 'primary' | 'fancy',
transform?: 'capitalize' | 'lowercase' | 'uppercase',

View File

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

View File

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