typography-theme-lincoln
Advanced tools
Comparing version 0.11.7 to 0.12.0
@@ -24,2 +24,3 @@ 'use strict'; | ||
var theme = { | ||
title: 'Lincoln', | ||
baseFontSize: '19px', | ||
@@ -43,2 +44,3 @@ baseLineHeight: '30px', | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var rhythm = _ref.rhythm; | ||
@@ -72,3 +74,3 @@ | ||
// Blockquote styles. | ||
blockquote: _extends({}, adjustFontSizeTo('22px'), { | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
borderLeft: rhythm(6 / 16) + ' solid ' + linkColor, | ||
@@ -94,3 +96,3 @@ color: (0, _grayPercentage2.default)(35), | ||
html: _extends({}, vr.establishBaseline()), | ||
blockquote: _extends({}, adjustFontSizeTo('20px'), { | ||
blockquote: { | ||
borderLeft: rhythm(3 / 16) + ' solid ' + linkColor, | ||
@@ -102,3 +104,3 @@ color: (0, _grayPercentage2.default)(41), | ||
marginRight: 0 | ||
}) | ||
} | ||
}); | ||
@@ -105,0 +107,0 @@ } |
{ | ||
"name": "typography-theme-lincoln", | ||
"description": "A theme for Typography.js", | ||
"version": "0.11.7", | ||
"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: 'Lincoln', | ||
baseFontSize: '19px', | ||
@@ -34,3 +35,3 @@ baseLineHeight: '30px', | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => { | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => { | ||
const linkColor = '#134896' | ||
@@ -63,3 +64,3 @@ const vr = verticalRhythm({ | ||
blockquote: { | ||
...adjustFontSizeTo('22px'), | ||
...adjustFontSizeToMSValue(1/5), | ||
borderLeft: `${rhythm(6/16)} solid ${linkColor}`, | ||
@@ -89,3 +90,2 @@ color: gray(35), | ||
blockquote: { | ||
...adjustFontSizeTo('20px'), | ||
borderLeft: `${rhythm(3/16)} solid ${linkColor}`, | ||
@@ -92,0 +92,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
79463
189