typography-theme-github
Advanced tools
Comparing version 0.13.1 to 0.14.0
@@ -7,4 +7,2 @@ 'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _grayPercentage = require('gray-percentage'); | ||
@@ -32,3 +30,2 @@ | ||
var rhythm = _ref.rhythm; | ||
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue; | ||
return { | ||
@@ -41,3 +38,3 @@ h1: { | ||
}, | ||
h2: _extends({}, adjustFontSizeToMSValue(3 / 5), { | ||
h2: { | ||
borderBottom: '1px solid ' + (0, _grayPercentage2.default)(93), | ||
@@ -47,9 +44,6 @@ paddingBottom: 'calc(' + rhythm(1 / 4) + ' - 1px)', | ||
marginTop: rhythm(1) | ||
}), | ||
h3: _extends({}, adjustFontSizeToMSValue(2 / 5)), | ||
h4: _extends({}, adjustFontSizeToMSValue(0 / 5)), | ||
h5: _extends({}, adjustFontSizeToMSValue(-1 / 5)), | ||
h6: _extends({}, adjustFontSizeToMSValue(-1.5 / 5), { | ||
}, | ||
h6: { | ||
color: (0, _grayPercentage2.default)(47) | ||
}), | ||
}, | ||
'h3,h4,h5,h6': { | ||
@@ -84,3 +78,2 @@ marginBottom: rhythm(1 / 2), | ||
}; | ||
exports.default = theme; |
{ | ||
"name": "typography-theme-github", | ||
"description": "A theme for Typography.js inspired by Github's Markdown typography", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -15,2 +15,10 @@ "dependencies": { | ||
"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": { |
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
1
1
0
43885
152