typography-theme-ocean-beach
Advanced tools
Comparing version 0.11.9 to 0.12.0
@@ -24,2 +24,3 @@ 'use strict'; | ||
var theme = { | ||
title: 'Ocean Beach', | ||
baseFontSize: '19px', | ||
@@ -43,2 +44,3 @@ baseLineHeight: '30px', | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var rhythm = _ref.rhythm; | ||
@@ -71,3 +73,3 @@ | ||
// Blockquote styles. | ||
blockquote: _extends({}, adjustFontSizeTo('22px'), { | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
borderLeft: rhythm(6 / 16) + ' solid ' + linkColor, | ||
@@ -93,3 +95,3 @@ color: (0, _grayPercentage2.default)(35), | ||
html: _extends({}, vr.establishBaseline()), | ||
blockquote: _extends({}, adjustFontSizeTo('20px'), { | ||
blockquote: { | ||
borderLeft: rhythm(3 / 16) + ' solid ' + linkColor, | ||
@@ -101,3 +103,3 @@ color: (0, _grayPercentage2.default)(41), | ||
marginRight: 0 | ||
}) | ||
} | ||
}); | ||
@@ -104,0 +106,0 @@ } |
{ | ||
"name": "typography-theme-ocean-beach", | ||
"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": { |
@@ -8,2 +8,3 @@ // @flow | ||
const theme: OptionsType = { | ||
title: 'Ocean Beach', | ||
baseFontSize: '19px', | ||
@@ -34,3 +35,3 @@ baseLineHeight: '30px', | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => { | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => { | ||
const linkColor = '#950451' | ||
@@ -62,3 +63,3 @@ const vr = verticalRhythm({ | ||
blockquote: { | ||
...adjustFontSizeTo('22px'), | ||
...adjustFontSizeToMSValue(1/5), | ||
borderLeft: `${rhythm(6/16)} solid ${linkColor}`, | ||
@@ -88,3 +89,2 @@ color: gray(35), | ||
blockquote: { | ||
...adjustFontSizeTo('20px'), | ||
borderLeft: `${rhythm(3/16)} solid ${linkColor}`, | ||
@@ -91,0 +91,0 @@ color: gray(41), |
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
215350
187