Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typography-theme-github

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typography-theme-github - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

15

dist/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc