typography-theme-ocean-beach
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -36,4 +36,4 @@ 'use strict'; | ||
bodyFontFamily: ['Roboto', 'serif'], | ||
headerGray: 10, | ||
bodyGray: 27, | ||
headerColor: 'hsla(0,0%,0%,0.9)', | ||
bodyColor: 'hsla(0,0%,0%,0.73)', | ||
headerWeight: 700, | ||
@@ -43,5 +43,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; | ||
@@ -84,3 +84,3 @@ var linkColor = '#950451'; | ||
'blockquote cite': _extends({}, adjustFontSizeTo(options.baseFontSize), { | ||
color: (0, _grayPercentage2.default)(options.bodyGray), | ||
color: options.bodyColor, | ||
fontStyle: 'normal', | ||
@@ -87,0 +87,0 @@ fontWeight: options.bodyWeight |
{ | ||
"name": "typography-theme-ocean-beach", | ||
"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": { |
@@ -29,4 +29,4 @@ // @flow | ||
bodyFontFamily: ['Roboto', 'serif'], | ||
headerGray: 10, | ||
bodyGray: 27, | ||
headerColor: 'hsla(0,0%,0%,0.9)', | ||
bodyColor: 'hsla(0,0%,0%,0.73)', | ||
headerWeight: 700, | ||
@@ -75,3 +75,3 @@ bodyWeight: 400, | ||
...adjustFontSizeTo(options.baseFontSize), | ||
color: gray(options.bodyGray), | ||
color: options.bodyColor, | ||
fontStyle: 'normal', | ||
@@ -78,0 +78,0 @@ fontWeight: options.bodyWeight, |
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
221049