Socket
Socket
Sign inDemoInstall

typography-theme-github

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.15.1 to 0.15.10

2

package.json
{
"name": "typography-theme-github",
"description": "A theme for Typography.js inspired by Github's Markdown typography",
"version": "0.15.1",
"version": "0.15.10",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -39,8 +39,8 @@ // @flow

// Github has all block elements use 1/2 rhythm not a full rhythm.
blockMarginBottom: 1/2,
blockMarginBottom: 1 / 2,
overrideStyles: ({ rhythm }) => ({
h1: {
borderBottom: `1px solid ${gray(93)}`,
paddingBottom: `calc(${rhythm(1/4)} - 1px)`,
marginBottom: rhythm(3/4),
paddingBottom: `calc(${rhythm(1 / 4)} - 1px)`,
marginBottom: rhythm(3 / 4),
marginTop: rhythm(1.5),

@@ -50,4 +50,4 @@ },

borderBottom: `1px solid ${gray(93)}`,
paddingBottom: `calc(${rhythm(1/4)} - 1px)`,
marginBottom: rhythm(1/4),
paddingBottom: `calc(${rhythm(1 / 4)} - 1px)`,
marginBottom: rhythm(1 / 4),
marginTop: rhythm(1),

@@ -59,3 +59,3 @@ },

'h3,h4,h5,h6': {
marginBottom: rhythm(1/2),
marginBottom: rhythm(1 / 2),
marginTop: rhythm(1),

@@ -83,3 +83,3 @@ },

marginLeft: 0,
paddingLeft: `calc(${rhythm(1/2)} - 1px)`,
paddingLeft: `calc(${rhythm(1 / 2)} - 1px)`,
},

@@ -86,0 +86,0 @@ }),

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