Added bolder weight semantic style in paragraph
This commit is contained in:
parent
9c4d9f97af
commit
22f32d77cc
|
@ -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',
|
||||||
|
|
|
@ -75,6 +75,10 @@
|
||||||
font-weight: $regularFont;
|
font-weight: $regularFont;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bolder {
|
||||||
|
font-weight: $bolderFont;
|
||||||
|
}
|
||||||
|
|
||||||
.bold {
|
.bold {
|
||||||
font-weight: $boldFont;
|
font-weight: $boldFont;
|
||||||
}
|
}
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue