New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typography-theme-st-annes

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

Comparing version 0.11.7 to 0.12.0

8

dist/index.js

@@ -20,4 +20,5 @@ 'use strict';

var theme = {
title: 'St. Annes',
baseFontSize: '16px',
baseLineHeight: '27px',
baseLineHeight: '25px',
googleFonts: [{

@@ -39,2 +40,3 @@ name: 'Source Serif Pro',

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

@@ -52,3 +54,3 @@ return _defineProperty({

},
blockquote: _extends({}, adjustFontSizeTo('19px'), {
blockquote: _extends({}, adjustFontSizeToMSValue(1 / 5), {
color: (0, _grayPercentage2.default)(41),

@@ -65,3 +67,3 @@ paddingLeft: rhythm(18 / 16),

color: (0, _grayPercentage2.default)(options.bodyGray),
fontStyle: options.bodyWeight
fontWeight: options.bodyWeight
}),

@@ -68,0 +70,0 @@ 'blockquote cite:before': {

{
"name": "typography-theme-st-annes",
"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": {

@@ -7,4 +7,5 @@ // @flow

const theme: OptionsType = {
title: 'St. Annes',
baseFontSize: '16px',
baseLineHeight: '27px',
baseLineHeight: '25px',
googleFonts: [

@@ -33,3 +34,3 @@ {

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

@@ -46,3 +47,3 @@ color: '#fb251b',

blockquote: {
...adjustFontSizeTo('19px'),
...adjustFontSizeToMSValue(1/5),
color: gray(41),

@@ -60,3 +61,3 @@ paddingLeft: rhythm(18/16),

color: gray(options.bodyGray),
fontStyle: options.bodyWeight,
fontWeight: options.bodyWeight,
},

@@ -63,0 +64,0 @@ 'blockquote cite:before': {

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