typography-theme-wordpress-2012
Advanced tools
Comparing version 0.11.7 to 0.12.0
@@ -16,2 +16,3 @@ 'use strict'; | ||
var theme = { | ||
title: 'Wordpress Theme 2012', | ||
baseFontSize: '14px', | ||
@@ -35,2 +36,3 @@ baseLineHeight: '24px', | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var rhythm = _ref.rhythm; | ||
@@ -61,3 +63,3 @@ return { | ||
}, | ||
table: _extends({}, adjustFontSizeTo('12px'), { | ||
table: _extends({}, adjustFontSizeToMSValue(-1 / 5), { | ||
color: (0, _grayPercentage2.default)(46) | ||
@@ -64,0 +66,0 @@ }), |
{ | ||
"name": "typography-theme-wordpress-2012", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2012 default theme", | ||
"version": "0.11.7", | ||
"version": "0.12.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -6,2 +6,3 @@ // @flow | ||
const theme: OptionsType = { | ||
title: 'Wordpress Theme 2012', | ||
baseFontSize: '14px', | ||
@@ -31,3 +32,3 @@ baseLineHeight: '24px', | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => ({ | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({ | ||
blockquote: { | ||
@@ -57,3 +58,3 @@ fontStyle: 'italic', | ||
table: { | ||
...adjustFontSizeTo('12px'), | ||
...adjustFontSizeToMSValue(-1/5), | ||
color: gray(46), | ||
@@ -60,0 +61,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
12506
148