typography-theme-funston
Advanced tools
Comparing version 0.16.18 to 0.16.19
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { | ||
var _grayPercentage = require('gray-percentage'); | ||
var _grayPercentage = require("gray-percentage"); | ||
var _grayPercentage2 = _interopRequireDefault(_grayPercentage); | ||
var _typographyBreakpointConstants = require('typography-breakpoint-constants'); | ||
var _typographyBreakpointConstants = require("typography-breakpoint-constants"); | ||
@@ -21,16 +21,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var theme = { | ||
title: 'Funston', | ||
baseFontSize: '20px', | ||
title: "Funston", | ||
baseFontSize: "20px", | ||
baseLineHeight: 1.4, | ||
googleFonts: [{ | ||
name: 'Patua One', | ||
styles: ['400'] | ||
name: "Patua One", | ||
styles: ["400"] | ||
}, { | ||
name: 'Cabin Condensed', | ||
styles: ['400', '700'] | ||
name: "Cabin Condensed", | ||
styles: ["400", "700"] | ||
}], | ||
headerFontFamily: ['Patua One', 'sans-serif'], | ||
bodyFontFamily: ['Cabin Condensed', 'georgia', 'sans-serif'], | ||
bodyColor: 'hsla(0,0%,0%,0.87)', | ||
headerWeight: '400', | ||
headerFontFamily: ["Patua One", "sans-serif"], | ||
bodyFontFamily: ["Cabin Condensed", "georgia", "sans-serif"], | ||
bodyColor: "hsla(0,0%,0%,0.87)", | ||
headerWeight: "400", | ||
bodyWeight: 400, | ||
@@ -43,12 +43,12 @@ boldWeight: 700, | ||
html: { | ||
'-webkit-font-smoothing': 'antialiased' | ||
"-webkit-font-smoothing": "antialiased" | ||
}, | ||
body: { | ||
letterSpacing: '.03em' | ||
letterSpacing: ".03em" | ||
}, | ||
a: { | ||
color: 'inherit' | ||
color: "inherit" | ||
}, | ||
'a:hover': { | ||
color: '#3498DB' | ||
"a:hover": { | ||
color: "#3498DB" | ||
}, | ||
@@ -59,3 +59,3 @@ blockquote: _extends({}, scale(1 / 5), { | ||
marginLeft: rhythm(-1), | ||
borderLeft: rhythm(3 / 16) + ' solid ' + (0, _grayPercentage2.default)(13) | ||
borderLeft: rhythm(3 / 16) + " solid " + (0, _grayPercentage2.default)(13) | ||
}) | ||
@@ -62,0 +62,0 @@ }, _typographyBreakpointConstants.MOBILE_MEDIA_QUERY, { |
{ | ||
"name": "typography-theme-funston", | ||
"description": "A theme for Typography.js", | ||
"version": "0.16.18", | ||
"version": "0.16.19", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -9,3 +9,3 @@ "main": "./dist/index.js", | ||
"gray-percentage": "^2.0.0", | ||
"typography-breakpoint-constants": "^0.16.18" | ||
"typography-breakpoint-constants": "^0.16.19" | ||
}, | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "bdd749093e7055b5ab8fdcd7448ae5f1e88cad5f" | ||
"gitHead": "1a3bfc103d41d59f04e89573c2c87e1d95abdd12" | ||
} |
// @flow | ||
import type { OptionsType } from 'Types' | ||
import gray from 'gray-percentage' | ||
import { MOBILE_MEDIA_QUERY } from 'typography-breakpoint-constants' | ||
import type { OptionsType } from "Types" | ||
import gray from "gray-percentage" | ||
import { MOBILE_MEDIA_QUERY } from "typography-breakpoint-constants" | ||
const theme: OptionsType = { | ||
title: 'Funston', | ||
baseFontSize: '20px', | ||
title: "Funston", | ||
baseFontSize: "20px", | ||
baseLineHeight: 1.4, | ||
googleFonts: [ | ||
{ | ||
name: 'Patua One', | ||
styles: ['400'], | ||
name: "Patua One", | ||
styles: ["400"], | ||
}, | ||
{ | ||
name: 'Cabin Condensed', | ||
styles: ['400', '700'], | ||
name: "Cabin Condensed", | ||
styles: ["400", "700"], | ||
}, | ||
], | ||
headerFontFamily: ['Patua One', 'sans-serif'], | ||
bodyFontFamily: ['Cabin Condensed', 'georgia', 'sans-serif'], | ||
bodyColor: 'hsla(0,0%,0%,0.87)', | ||
headerWeight: '400', | ||
headerFontFamily: ["Patua One", "sans-serif"], | ||
bodyFontFamily: ["Cabin Condensed", "georgia", "sans-serif"], | ||
bodyColor: "hsla(0,0%,0%,0.87)", | ||
headerWeight: "400", | ||
bodyWeight: 400, | ||
@@ -28,12 +28,12 @@ boldWeight: 700, | ||
html: { | ||
'-webkit-font-smoothing': 'antialiased', | ||
"-webkit-font-smoothing": "antialiased", | ||
}, | ||
body: { | ||
letterSpacing: '.03em', | ||
letterSpacing: ".03em", | ||
}, | ||
a: { | ||
color: 'inherit', | ||
color: "inherit", | ||
}, | ||
'a:hover': { | ||
color: '#3498DB', | ||
"a:hover": { | ||
color: "#3498DB", | ||
}, | ||
@@ -40,0 +40,0 @@ blockquote: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package