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

typography-theme-wordpress-2015

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-wordpress-2015 - npm Package Compare versions

Comparing version 0.11.7 to 0.11.9

17

dist/index.js

@@ -13,4 +13,8 @@ 'use strict';

var _typographyBreakpointConstants = require('typography-breakpoint-constants');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var theme = {

@@ -33,3 +37,3 @@ baseFontSize: '19px',

var rhythm = _ref.rhythm;
return {
return _defineProperty({
'h5,h6': {

@@ -71,3 +75,12 @@ letterSpacing: '0.1em',

}
};
}, _typographyBreakpointConstants.MOBILE_MEDIA_QUERY, {
'ul,ol': {
marginLeft: rhythm(1)
},
blockquote: {
marginLeft: rhythm(-3 / 4),
marginRight: 0,
paddingLeft: rhythm(9 / 16)
}
});
}

@@ -74,0 +87,0 @@ };

5

package.json
{
"name": "typography-theme-wordpress-2015",
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2015 default theme",
"version": "0.11.7",
"version": "0.11.9",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"gray-percentage": "^1.1.2"
"gray-percentage": "^1.1.2",
"typography-breakpoint-constants": "^0.10.0"
},

@@ -9,0 +10,0 @@ "keywords": [

// @flow
import gray from 'gray-percentage'
import type { OptionsType } from 'Types'
import { MOBILE_MEDIA_QUERY } from 'typography-breakpoint-constants'

@@ -63,2 +64,12 @@ const theme: OptionsType = {

},
[MOBILE_MEDIA_QUERY]: {
'ul,ol': {
marginLeft: rhythm(1),
},
blockquote: {
marginLeft: rhythm(-3/4),
marginRight: 0,
paddingLeft: rhythm(9/16),
},
},
}),

@@ -65,0 +76,0 @@ }

Sorry, the diff of this file is not supported yet

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