typography-theme-wordpress-2013
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -35,8 +35,8 @@ 'use strict'; | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var scale = _ref.scale; | ||
var rhythm = _ref.rhythm; | ||
return _ref2 = { | ||
h1: _extends({}, adjustFontSizeToMSValue(8 / 5)) | ||
h1: _extends({}, scale(8 / 5)) | ||
}, _defineProperty(_ref2, _typographyBreakpointConstants.TABLET_MEDIA_QUERY, { | ||
h1: _extends({}, adjustFontSizeToMSValue(5 / 5)) | ||
h1: _extends({}, scale(5 / 5)) | ||
}), _defineProperty(_ref2, 'a', { | ||
@@ -54,3 +54,3 @@ color: '#bc360a', | ||
paddingLeft: rhythm(1.5) | ||
}), _defineProperty(_ref2, 'blockquote', _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
}), _defineProperty(_ref2, 'blockquote', _extends({}, scale(1 / 5), { | ||
fontWeight: 300, | ||
@@ -66,3 +66,3 @@ fontStyle: 'italic', | ||
marginBottom: rhythm(1.25) | ||
}), _defineProperty(_ref2, 'table', _extends({}, adjustFontSizeToMSValue(-1 / 5))), _defineProperty(_ref2, 'th', { | ||
}), _defineProperty(_ref2, 'table', _extends({}, scale(-1 / 5))), _defineProperty(_ref2, 'th', { | ||
fontWeight: options.boldWeight, | ||
@@ -69,0 +69,0 @@ textTransform: 'uppercase' |
{ | ||
"name": "typography-theme-wordpress-2013", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2013 default theme", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
"dependencies": { | ||
"typography-breakpoint-constants": "^0.13.0" | ||
"typography-breakpoint-constants": "^0.14.0" | ||
}, | ||
@@ -15,2 +15,10 @@ "keywords": [ | ||
"license": "MIT", | ||
"homepage": "https://github.com/KyleAMathews/typography.js", | ||
"bugs": { | ||
"url": "https://github.com/KyleAMathews/typography.js/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/KyleAMathews/typography.js.git" | ||
}, | ||
"main": "./dist/index.js", | ||
@@ -17,0 +25,0 @@ "scripts": { |
@@ -33,9 +33,9 @@ // @flow | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({ | ||
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => ({ | ||
h1: { | ||
...adjustFontSizeToMSValue(8/5), | ||
...scale(8/5), | ||
}, | ||
[TABLET_MEDIA_QUERY]: { | ||
h1: { | ||
...adjustFontSizeToMSValue(5/5), | ||
...scale(5/5), | ||
}, | ||
@@ -60,3 +60,3 @@ }, | ||
blockquote: { | ||
...adjustFontSizeToMSValue(1/5), | ||
...scale(1/5), | ||
fontWeight: 300, | ||
@@ -77,3 +77,3 @@ fontStyle: 'italic', | ||
table: { | ||
...adjustFontSizeToMSValue(-1/5), | ||
...scale(-1/5), | ||
}, | ||
@@ -80,0 +80,0 @@ th: { |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
22398
1
1
0
+ Addedtypography-breakpoint-constants@0.14.0(transitive)
- Removedtypography-breakpoint-constants@0.13.0(transitive)