typography-theme-us-web-design-standards
Advanced tools
Comparing version 0.15.0 to 0.15.10
{ | ||
"name": "typography-theme-us-web-design-standards", | ||
"description": "A theme for Typography.js inspired by the US Web Design Standaards https://standards.usa.gov/typography/", | ||
"version": "0.15.0", | ||
"version": "0.15.10", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
@@ -13,13 +13,7 @@ // @flow | ||
name: 'Merriweather', | ||
styles: [ | ||
'700', | ||
], | ||
styles: ['700'], | ||
}, | ||
{ | ||
name: 'Source Sans Pro', | ||
styles: [ | ||
'400', | ||
'400i', | ||
'700', | ||
], | ||
styles: ['400', '400i', '700'], | ||
}, | ||
@@ -34,9 +28,9 @@ ], | ||
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => ({ | ||
h1: scale(5/5), | ||
h2: scale(3/5), | ||
h3: scale(1/5), | ||
h4: scale(0/5), | ||
h5: scale(-1/8), | ||
h1: scale(5 / 5), | ||
h2: scale(3 / 5), | ||
h3: scale(1 / 5), | ||
h4: scale(0 / 5), | ||
h5: scale(-1 / 8), | ||
h6: { | ||
...scale(-2/8), | ||
...scale(-2 / 8), | ||
fontFamily: options.bodyFontFamily.join(','), | ||
@@ -53,9 +47,9 @@ fontWeight: options.bodyWeight, | ||
blockquote: { | ||
...scale(1/4), | ||
borderLeft: `${rhythm(1/6)} solid`, | ||
...scale(1 / 4), | ||
borderLeft: `${rhythm(1 / 6)} solid`, | ||
borderColor: gray(93), | ||
paddingTop: rhythm(1/3), | ||
paddingBottom: rhythm(1/3), | ||
paddingLeft: rhythm(2/3), | ||
paddingRight: rhythm(2/3), | ||
paddingTop: rhythm(1 / 3), | ||
paddingBottom: rhythm(1 / 3), | ||
paddingLeft: rhythm(2 / 3), | ||
paddingRight: rhythm(2 / 3), | ||
}, | ||
@@ -62,0 +56,0 @@ 'blockquote > :last-child': { |
69883
129