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

typography-theme-lincoln

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typography-theme-lincoln - npm Package Compare versions

Comparing version 0.11.7 to 0.12.0

8

dist/index.js

@@ -24,2 +24,3 @@ 'use strict';

var theme = {
title: 'Lincoln',
baseFontSize: '19px',

@@ -43,2 +44,3 @@ baseLineHeight: '30px',

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

@@ -72,3 +74,3 @@

// Blockquote styles.
blockquote: _extends({}, adjustFontSizeTo('22px'), {
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), {
borderLeft: rhythm(6 / 16) + ' solid ' + linkColor,

@@ -94,3 +96,3 @@ color: (0, _grayPercentage2.default)(35),

html: _extends({}, vr.establishBaseline()),
blockquote: _extends({}, adjustFontSizeTo('20px'), {
blockquote: {
borderLeft: rhythm(3 / 16) + ' solid ' + linkColor,

@@ -102,3 +104,3 @@ color: (0, _grayPercentage2.default)(41),

marginRight: 0
})
}
});

@@ -105,0 +107,0 @@ }

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

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

@@ -8,2 +8,3 @@ // @flow

const theme: OptionsType = {
title: 'Lincoln',
baseFontSize: '19px',

@@ -34,3 +35,3 @@ baseLineHeight: '30px',

boldWeight: 700,
overrideStyles: ({ adjustFontSizeTo, rhythm }, options) => {
overrideStyles: ({ adjustFontSizeTo, adjustFontSizeToMSValue, rhythm }, options) => {
const linkColor = '#134896'

@@ -63,3 +64,3 @@ const vr = verticalRhythm({

blockquote: {
...adjustFontSizeTo('22px'),
...adjustFontSizeToMSValue(1/5),
borderLeft: `${rhythm(6/16)} solid ${linkColor}`,

@@ -89,3 +90,2 @@ color: gray(35),

blockquote: {
...adjustFontSizeTo('20px'),
borderLeft: `${rhythm(3/16)} solid ${linkColor}`,

@@ -92,0 +92,0 @@ color: gray(41),

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