Darker source editor

This commit is contained in:
Lukas Martinelli
2016-12-21 16:50:34 +01:00
parent ee4bcc4c0b
commit 29bf0c2b61
7 changed files with 38 additions and 47 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
import React from 'react'
import { fontSizes } from '../config/scales'
import { fontSizes, margins } from '../config/scales'
class Heading extends React.Component {
static propTypes = {
@@ -10,7 +10,9 @@ class Heading extends React.Component {
render() {
const headingProps = {
style: {
fontWeight: 400,
fontSize: fontSizes[this.props.level - 1],
marginBottom: margins[1],
...this.props.style
}
}