From d068956b695b1eef7a721e9b428375e73380c747 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Tue, 11 Dec 2018 15:51:34 +0100 Subject: Adjust h4 heading weight --- packages/website/ts/@next/components/text.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website') 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` 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 = props => { -- cgit