typography-theme-wordpress-2015
Advanced tools
Comparing version 0.11.9 to 0.12.0
@@ -20,2 +20,3 @@ 'use strict'; | ||
var theme = { | ||
title: 'Wordpress Theme 2015', | ||
baseFontSize: '19px', | ||
@@ -36,2 +37,3 @@ baseLineHeight: '32px', | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var rhythm = _ref.rhythm; | ||
@@ -58,3 +60,3 @@ return _defineProperty({ | ||
// Blockquote. | ||
blockquote: _extends({}, adjustFontSizeTo('20px'), { | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
color: (0, _grayPercentage2.default)(41), | ||
@@ -61,0 +63,0 @@ fontStyle: 'italic', |
{ | ||
"name": "typography-theme-wordpress-2015", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2015 default theme", | ||
"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: 'Wordpress Theme 2015', | ||
baseFontSize: '19px', | ||
@@ -26,3 +27,3 @@ baseLineHeight: '32px', | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => ({ | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({ | ||
'h5,h6': { | ||
@@ -48,3 +49,3 @@ letterSpacing: '0.1em', | ||
blockquote: { | ||
...adjustFontSizeTo('20px'), | ||
...adjustFontSizeToMSValue(1/5), | ||
color: gray(41), | ||
@@ -51,0 +52,0 @@ fontStyle: 'italic', |
Sorry, the diff of this file is not supported yet
22893
154