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.13.0 to 0.14.0

4

dist/index.js

@@ -36,3 +36,3 @@ 'use strict';

var adjustFontSizeTo = _ref.adjustFontSizeTo;
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue;
var scale = _ref.scale;
var rhythm = _ref.rhythm;

@@ -59,3 +59,3 @@ return _defineProperty({

// Blockquote.
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), {
blockquote: _extends({}, scale(1 / 5), {
color: (0, _grayPercentage2.default)(41),

@@ -62,0 +62,0 @@ fontStyle: 'italic',

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

@@ -16,2 +16,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",

@@ -18,0 +26,0 @@ "scripts": {

@@ -26,3 +26,3 @@ // @flow

boldWeight: 700,
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => ({
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => ({
'h5,h6': {

@@ -48,3 +48,3 @@ letterSpacing: '0.1em',

blockquote: {
...adjustFontSizeToMSValue(1/5),
...scale(1/5),
color: gray(41),

@@ -51,0 +51,0 @@ fontStyle: 'italic',

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