typography-theme-wordpress-2015
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -29,4 +29,3 @@ 'use strict'; | ||
bodyFontFamily: ['Noto Serif', 'serif'], | ||
headerGray: 20, | ||
bodyGray: 20, | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerWeight: '700', | ||
@@ -36,5 +35,5 @@ bodyWeight: 400, | ||
overrideStyles: function overrideStyles(_ref, options) { | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var scale = _ref.scale; | ||
var rhythm = _ref.rhythm; | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo, | ||
scale = _ref.scale, | ||
rhythm = _ref.rhythm; | ||
return _defineProperty({ | ||
@@ -71,3 +70,3 @@ 'h5,h6': { | ||
'blockquote cite': _extends({}, adjustFontSizeTo(options.baseFontSize), { | ||
color: (0, _grayPercentage2.default)(options.bodyGray), | ||
color: options.bodyColor, | ||
fontStyle: 'normal' | ||
@@ -74,0 +73,0 @@ }), |
{ | ||
"name": "typography-theme-wordpress-2015", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2015 default theme", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -21,4 +21,3 @@ // @flow | ||
bodyFontFamily: ['Noto Serif', 'serif'], | ||
headerGray: 20, | ||
bodyGray: 20, | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerWeight: '700', | ||
@@ -60,3 +59,3 @@ bodyWeight: 400, | ||
...adjustFontSizeTo(options.baseFontSize), | ||
color: gray(options.bodyGray), | ||
color: options.bodyColor, | ||
fontStyle: 'normal', | ||
@@ -63,0 +62,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28067
152