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

typography-theme-wordpress-2016

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

Comparing version 0.13.0 to 0.14.0

4

dist/index.js

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

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

@@ -49,3 +49,3 @@ return _ref2 = {

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

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

{
"name": "typography-theme-wordpress-2016",
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2016 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": {

@@ -37,3 +37,3 @@ // @flow

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

@@ -43,3 +43,3 @@ fontFamily: ['Montserrat', 'sans-serif'].join(','),

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

@@ -46,0 +46,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