1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02: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 React = require('react');
const fns = require('../../shared/functions');
const {
default: styled
} = Styled;
const {
remcalc
} = fns;
// If specificity is an issue (i.e nested elements) check base/index.js first
// before using !important
@ -14,8 +19,12 @@ const elements = [
{
name: 'H1',
properties: {
'line-height': '70px',
'font-size': '60px'
'font-size': remcalc(36),
'font-weight': 600,
'font-style': 'normal',
'font-stretch': 'normal',
'color': '#364acd',
'border-bottom': `${remcalc(1)} solid #d8d8d8`,
}
},
{