typography-theme-wordpress-2015
Advanced tools
Comparing version 0.11.7 to 0.11.9
@@ -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 @@ }; |
{ | ||
"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
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
19993
151
2
+ Addedtypography-breakpoint-constants@0.10.0(transitive)