typography-theme-stow-lake
Advanced tools
Comparing version 0.11.9 to 0.12.0
@@ -20,2 +20,3 @@ 'use strict'; | ||
var theme = { | ||
title: 'Stow Lake', | ||
baseFontSize: '18px', | ||
@@ -39,2 +40,3 @@ baseLineHeight: '31px', | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var rhythm = _ref.rhythm; | ||
@@ -52,3 +54,3 @@ return _defineProperty({ | ||
}, | ||
blockquote: _extends({}, adjustFontSizeTo('19px'), { | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
color: (0, _grayPercentage2.default)(41), | ||
@@ -65,3 +67,3 @@ paddingLeft: rhythm(18 / 16), | ||
color: (0, _grayPercentage2.default)(options.bodyGray), | ||
fontStyle: options.bodyWeight | ||
fontWeight: options.bodyWeight | ||
}), | ||
@@ -68,0 +70,0 @@ 'blockquote cite:before': { |
{ | ||
"name": "typography-theme-stow-lake", | ||
"description": "A theme for Typography.js", | ||
"version": "0.11.9", | ||
"version": "0.12.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -7,2 +7,3 @@ // @flow | ||
const theme: OptionsType = { | ||
title: 'Stow Lake', | ||
baseFontSize: '18px', | ||
@@ -33,3 +34,3 @@ baseLineHeight: '31px', | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => ({ | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({ | ||
a: { | ||
@@ -46,3 +47,3 @@ color: '#4665b7', | ||
blockquote: { | ||
...adjustFontSizeTo('19px'), | ||
...adjustFontSizeToMSValue(1/5), | ||
color: gray(41), | ||
@@ -60,3 +61,3 @@ paddingLeft: rhythm(18/16), | ||
color: gray(options.bodyGray), | ||
fontStyle: options.bodyWeight, | ||
fontWeight: options.bodyWeight, | ||
}, | ||
@@ -63,0 +64,0 @@ 'blockquote cite:before': { |
Sorry, the diff of this file is not supported yet
144
9519