Socket
Socket
Sign inDemoInstall

typography-theme-moraga

Package Overview
Dependencies
7
Maintainers
1
Versions
14
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

6

dist/index.js

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

overrideStyles: function overrideStyles(_ref, options) {
var adjustFontSizeToMSValue = _ref.adjustFontSizeToMSValue;
var scale = _ref.scale;
var rhythm = _ref.rhythm;

@@ -62,3 +62,3 @@

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

@@ -76,3 +76,3 @@ paddingLeft: rhythm(3 / 4),

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

@@ -79,0 +79,0 @@

{
"name": "typography-theme-moraga",
"description": "A theme for Typography.js",
"version": "0.13.0",
"version": "0.14.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -10,3 +10,3 @@ "main": "./dist/index.js",

"gray-percentage": "^2.0.0",
"typography-breakpoint-constants": "^0.13.0"
"typography-breakpoint-constants": "^0.14.0"
},

@@ -19,2 +19,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"
},
"scripts": {

@@ -21,0 +29,0 @@ "build": "../../node_modules/.bin/babel src --out-dir dist/",

@@ -30,3 +30,3 @@ // @flow

boldWeight: 700,
overrideStyles: ({ adjustFontSizeToMSValue, rhythm }, options) => {
overrideStyles: ({ scale, rhythm }, options) => {
const vr = verticalRhythm({

@@ -51,3 +51,3 @@ baseFontSize: '16px',

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

@@ -69,3 +69,3 @@ paddingLeft: rhythm(3/4),

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

@@ -72,0 +72,0 @@ },

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