Socket
Socket
Sign inDemoInstall

typography-theme-wordpress-2013

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.13.0 to 0.14.0

10

dist/index.js

@@ -35,8 +35,8 @@ 'use strict';

var adjustFontSizeTo = _ref.adjustFontSizeTo;
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue;
var scale = _ref.scale;
var rhythm = _ref.rhythm;
return _ref2 = {
h1: _extends({}, adjustFontSizeToMSValue(8 / 5))
h1: _extends({}, scale(8 / 5))
}, _defineProperty(_ref2, _typographyBreakpointConstants.TABLET_MEDIA_QUERY, {
h1: _extends({}, adjustFontSizeToMSValue(5 / 5))
h1: _extends({}, scale(5 / 5))
}), _defineProperty(_ref2, 'a', {

@@ -54,3 +54,3 @@ color: '#bc360a',

paddingLeft: rhythm(1.5)
}), _defineProperty(_ref2, 'blockquote', _extends({}, adjustFontSizeToMSValue(1 / 5), {
}), _defineProperty(_ref2, 'blockquote', _extends({}, scale(1 / 5), {
fontWeight: 300,

@@ -66,3 +66,3 @@ fontStyle: 'italic',

marginBottom: rhythm(1.25)
}), _defineProperty(_ref2, 'table', _extends({}, adjustFontSizeToMSValue(-1 / 5))), _defineProperty(_ref2, 'th', {
}), _defineProperty(_ref2, 'table', _extends({}, scale(-1 / 5))), _defineProperty(_ref2, 'th', {
fontWeight: options.boldWeight,

@@ -69,0 +69,0 @@ textTransform: 'uppercase'

{
"name": "typography-theme-wordpress-2013",
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2013 default theme",
"version": "0.13.0",
"version": "0.14.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"typography-breakpoint-constants": "^0.13.0"
"typography-breakpoint-constants": "^0.14.0"
},

@@ -15,2 +15,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"
},
"main": "./dist/index.js",

@@ -17,0 +25,0 @@ "scripts": {

@@ -33,9 +33,9 @@ // @flow

boldWeight: 700,
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => ({
h1: {
...adjustFontSizeToMSValue(8/5),
...scale(8/5),
},
[TABLET_MEDIA_QUERY]: {
h1: {
...adjustFontSizeToMSValue(5/5),
...scale(5/5),
},

@@ -60,3 +60,3 @@ },

blockquote: {
...adjustFontSizeToMSValue(1/5),
...scale(1/5),
fontWeight: 300,

@@ -77,3 +77,3 @@ fontStyle: 'italic',

table: {
...adjustFontSizeToMSValue(-1/5),
...scale(-1/5),
},

@@ -80,0 +80,0 @@ th: {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc