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:
parent
7592648abc
commit
0fbe168764
@ -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`,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user