typography-theme-moraga
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -40,3 +40,3 @@ 'use strict'; | ||
overrideStyles: function overrideStyles(_ref, options) { | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
var scale = _ref.scale; | ||
var rhythm = _ref.rhythm; | ||
@@ -62,3 +62,3 @@ | ||
}, | ||
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), { | ||
blockquote: _extends({}, scale(1 / 5), { | ||
color: (0, _grayPercentage2.default)(40), | ||
@@ -76,3 +76,3 @@ paddingLeft: rhythm(3 / 4), | ||
}, | ||
table: _extends({}, adjustFontSizeToMSValue(-1 / 5)) | ||
table: _extends({}, scale(-1 / 5)) | ||
}); | ||
@@ -79,0 +79,0 @@ |
{ | ||
"name": "typography-theme-moraga", | ||
"description": "A theme for Typography.js", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -10,3 +10,3 @@ "main": "./dist/index.js", | ||
"gray-percentage": "^2.0.0", | ||
"typography-breakpoint-constants": "^0.13.0" | ||
"typography-breakpoint-constants": "^0.14.0" | ||
}, | ||
@@ -19,2 +19,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" | ||
}, | ||
"scripts": { | ||
@@ -21,0 +29,0 @@ "build": "../../node_modules/.bin/babel src --out-dir dist/", |
@@ -30,3 +30,3 @@ // @flow | ||
boldWeight: 700, | ||
overrideStyles: ({ adjustFontSizeToMSValue, rhythm }, options) => { | ||
overrideStyles: ({ scale, rhythm }, options) => { | ||
const vr = verticalRhythm({ | ||
@@ -51,3 +51,3 @@ baseFontSize: '16px', | ||
blockquote: { | ||
...adjustFontSizeToMSValue(1/5), | ||
...scale(1/5), | ||
color: gray(40), | ||
@@ -69,3 +69,3 @@ paddingLeft: rhythm(3/4), | ||
table: { | ||
...adjustFontSizeToMSValue(-1/5), | ||
...scale(-1/5), | ||
}, | ||
@@ -72,0 +72,0 @@ }, |
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
66992
1
1
0
+ Addedtypography-breakpoint-constants@0.14.0(transitive)
- Removedtypography-breakpoint-constants@0.13.0(transitive)