aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 23:01:22 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 23:04:12 +0800
commitdbf62ae205eb980b06a7721aab2d5e0c751fda48 (patch)
tree793a70d7f38daafe79e98506d3eb524667ed9e46 /packages/website/ts/@next/components
parent7962e4050c60e6f7eb57740da19e7b7ef9bec6a6 (diff)
downloaddexon-0x-contracts-dbf62ae205eb980b06a7721aab2d5e0c751fda48.tar.gz
dexon-0x-contracts-dbf62ae205eb980b06a7721aab2d5e0c751fda48.tar.zst
dexon-0x-contracts-dbf62ae205eb980b06a7721aab2d5e0c751fda48.zip
Correct font-weight for heading
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/text.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/text.tsx b/packages/website/ts/@next/components/text.tsx
index a25936d8e..7bb217190 100644
--- a/packages/website/ts/@next/components/text.tsx
+++ b/packages/website/ts/@next/components/text.tsx
@@ -50,6 +50,7 @@ const PARAGRAPH_SIZES: ParagraphSizes = {
const StyledHeading = styled.h1<HeadingProps>`
color: ${props => props.color || colors.white};
font-size: ${props => HEADING_SIZES[props.size || 'default']};
+ font-weight: 300;
margin-bottom: ${props => !props.noMargin && '30px'};
text-align: ${props => props.center && 'center'};
`;