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

typography-theme-ocean-beach

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typography-theme-ocean-beach - npm Package Compare versions

Comparing version 0.11.9 to 0.12.0

8

dist/index.js

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

var theme = {
title: 'Ocean Beach',
baseFontSize: '19px',

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

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

@@ -71,3 +73,3 @@

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

@@ -93,3 +95,3 @@ color: (0, _grayPercentage2.default)(35),

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

@@ -101,3 +103,3 @@ color: (0, _grayPercentage2.default)(41),

marginRight: 0
})
}
});

@@ -104,0 +106,0 @@ }

{
"name": "typography-theme-ocean-beach",
"description": "A theme for Typography.js",
"version": "0.11.9",
"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: 'Ocean Beach',
baseFontSize: '19px',

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

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

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

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

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

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

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