aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-11 22:51:34 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-11 23:11:08 +0800
commitd068956b695b1eef7a721e9b428375e73380c747 (patch)
tree833b82b5a2c46b3df1f21856183bdf717fb2adb5 /packages
parent1e5bc143be07c94d311313d11c830f4db6ff97bb (diff)
downloaddexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.tar.gz
dexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.tar.zst
dexon-sol-tools-d068956b695b1eef7a721e9b428375e73380c747.zip
Adjust h4 heading weight
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/components/text.tsx2
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 => {