typography-theme-st-annes
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -32,4 +32,4 @@ 'use strict'; | ||
bodyFontFamily: ['Source Sans Pro', 'sans-serif'], | ||
headerGray: 0, | ||
bodyGray: 20, | ||
headerColor: 'hsla(0,0%,0%,1)', | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerWeight: 600, | ||
@@ -39,5 +39,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({ | ||
@@ -49,3 +49,3 @@ a: { | ||
'a:hover,a:active': { | ||
color: (0, _grayPercentage2.default)(options.bodyGray) | ||
color: options.bodyColor | ||
}, | ||
@@ -66,3 +66,3 @@ 'h1,h2,h3,h4,h5,h6': { | ||
'blockquote cite': _extends({}, adjustFontSizeTo(options.baseFontSize), { | ||
color: (0, _grayPercentage2.default)(options.bodyGray), | ||
color: options.bodyColor, | ||
fontWeight: options.bodyWeight | ||
@@ -69,0 +69,0 @@ }), |
{ | ||
"name": "typography-theme-st-annes", | ||
"description": "A theme for Typography.js", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -28,4 +28,4 @@ // @flow | ||
bodyFontFamily: ['Source Sans Pro', 'sans-serif'], | ||
headerGray: 0, | ||
bodyGray: 20, | ||
headerColor: 'hsla(0,0%,0%,1)', | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerWeight: 600, | ||
@@ -40,3 +40,3 @@ bodyWeight: 400, | ||
'a:hover,a:active': { | ||
color: gray(options.bodyGray), | ||
color: options.bodyColor, | ||
}, | ||
@@ -59,3 +59,3 @@ 'h1,h2,h3,h4,h5,h6': { | ||
...adjustFontSizeTo(options.baseFontSize), | ||
color: gray(options.bodyGray), | ||
color: options.bodyColor, | ||
fontWeight: options.bodyWeight, | ||
@@ -62,0 +62,0 @@ }, |
Sorry, the diff of this file is not supported yet
16728