typography-theme-wordpress-2015
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -36,3 +36,3 @@ 'use strict'; | ||
var adjustFontSizeTo = _ref.adjustFontSizeTo; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var scale = _ref.scale; | ||
var rhythm = _ref.rhythm; | ||
@@ -59,3 +59,3 @@ return _defineProperty({ | ||
// Blockquote. | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
blockquote: _extends({}, scale(1 / 5), { | ||
color: (0, _grayPercentage2.default)(41), | ||
@@ -62,0 +62,0 @@ fontStyle: 'italic', |
{ | ||
"name": "typography-theme-wordpress-2015", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2015 default theme", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
"dependencies": { | ||
"gray-percentage": "^2.0.0", | ||
"typography-breakpoint-constants": "^0.13.0" | ||
"typography-breakpoint-constants": "^0.14.0" | ||
}, | ||
@@ -16,2 +16,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", | ||
@@ -18,0 +26,0 @@ "scripts": { |
@@ -26,3 +26,3 @@ // @flow | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({ | ||
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => ({ | ||
'h5,h6': { | ||
@@ -48,3 +48,3 @@ letterSpacing: '0.1em', | ||
blockquote: { | ||
...adjustFontSizeToMSValue(1/5), | ||
...scale(1/5), | ||
color: gray(41), | ||
@@ -51,0 +51,0 @@ fontStyle: 'italic', |
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
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
24905
1
1
0
+ Addedtypography-breakpoint-constants@0.14.0(transitive)
- Removedtypography-breakpoint-constants@0.13.0(transitive)