1
0
mirror of https://github.com/yldio/copilot.git synced 2024-09-21 22:03:54 +03:00

correcting font style for H1

This commit is contained in:
Alex Windett 2017-01-17 11:18:49 +00:00
parent 7592648abc
commit 0fbe168764

View File

@ -3,10 +3,15 @@
const Styled = require('styled-components'); const Styled = require('styled-components');
const React = require('react'); const React = require('react');
const fns = require('../../shared/functions');
const { const {
default: styled default: styled
} = Styled; } = Styled;
const {
remcalc
} = fns;
// If specificity is an issue (i.e nested elements) check base/index.js first // If specificity is an issue (i.e nested elements) check base/index.js first
// before using !important // before using !important
@ -14,8 +19,12 @@ const elements = [
{ {
name: 'H1', name: 'H1',
properties: { properties: {
'line-height': '70px', 'font-size': remcalc(36),
'font-size': '60px' 'font-weight': 600,
'font-style': 'normal',
'font-stretch': 'normal',
'color': '#364acd',
'border-bottom': `${remcalc(1)} solid #d8d8d8`,
} }
}, },
{ {