diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-11 22:51:34 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-11 23:11:08 +0800 |
commit | d068956b695b1eef7a721e9b428375e73380c747 (patch) | |
tree | 833b82b5a2c46b3df1f21856183bdf717fb2adb5 | |
parent | 1e5bc143be07c94d311313d11c830f4db6ff97bb (diff) | |
download | dexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.tar.gz dexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.tar.zst dexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.zip |
Adjust h4 heading weight
-rw-r--r-- | packages/website/ts/@next/components/text.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/text.tsx b/packages/website/ts/@next/components/text.tsx index 6c6082879..07d0ebce2 100644 --- a/packages/website/ts/@next/components/text.tsx +++ b/packages/website/ts/@next/components/text.tsx @@ -32,7 +32,7 @@ const StyledHeading = styled.h1<HeadingProps>` margin-right: ${props => props.isCentered && 'auto'}; margin-bottom: ${props => !props.isNoMargin && (props.marginBottom || '30px')}; opacity: ${props => typeof props.isMuted === 'boolean' ? 0.75 : props.isMuted}; - font-weight: 300; + font-weight: ${props => ['h4'].includes(props.asElement) ? 400 : 300}; `; export const Heading: React.StatelessComponent<HeadingProps> = props => { |