typography-theme-stow-lake
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: 'Stow Lake', | ||
baseFontSize: '18px', | ||
title: "Stow Lake", | ||
baseFontSize: "18px", | ||
baseLineHeight: 1.722, | ||
googleFonts: [{ | ||
name: 'Neuton', | ||
styles: ['700'] | ||
name: "Neuton", | ||
styles: ["700"] | ||
}, { | ||
name: 'Lato', | ||
styles: ['400', '400i', '700'] | ||
name: "Lato", | ||
styles: ["400", "400i", "700"] | ||
}], | ||
headerFontFamily: ['Neuton', 'sans-serif'], | ||
bodyFontFamily: ['Lato', 'sans-serif'], | ||
headerColor: 'hsla(0,0%,0%,0.9)', | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerFontFamily: ["Neuton", "sans-serif"], | ||
bodyFontFamily: ["Lato", "sans-serif"], | ||
headerColor: "hsla(0,0%,0%,0.9)", | ||
bodyColor: "hsla(0,0%,0%,0.8)", | ||
headerWeight: 700, | ||
@@ -45,9 +45,9 @@ bodyWeight: 400, | ||
a: { | ||
color: '#4665b7', | ||
textDecoration: 'none' | ||
color: "#4665b7", | ||
textDecoration: "none" | ||
}, | ||
'a:hover,a:active': { | ||
"a:hover,a:active": { | ||
color: options.bodyColor | ||
}, | ||
'h1,h2,h3,h4,h5,h6': { | ||
"h1,h2,h3,h4,h5,h6": { | ||
marginTop: rhythm(2) | ||
@@ -59,13 +59,13 @@ }, | ||
marginLeft: 0, | ||
borderLeft: rhythm(6 / 16) + ' solid', | ||
borderColor: '#612423' | ||
borderLeft: rhythm(6 / 16) + " solid", | ||
borderColor: "#612423" | ||
}), | ||
'blockquote > :last-child': { | ||
"blockquote > :last-child": { | ||
marginBottom: 0 | ||
}, | ||
'blockquote cite': _extends({}, adjustFontSizeTo(options.baseFontSize), { | ||
"blockquote cite": _extends({}, adjustFontSizeTo(options.baseFontSize), { | ||
color: options.bodyColor, | ||
fontWeight: options.bodyWeight | ||
}), | ||
'blockquote cite:before': { | ||
"blockquote cite:before": { | ||
content: '"— "' | ||
@@ -77,4 +77,4 @@ } | ||
marginRight: 0, | ||
borderLeft: rhythm(3 / 16) + ' solid', | ||
borderColor: '#612423', | ||
borderLeft: rhythm(3 / 16) + " solid", | ||
borderColor: "#612423", | ||
paddingLeft: rhythm(9 / 16) | ||
@@ -81,0 +81,0 @@ } |
{ | ||
"name": "typography-theme-stow-lake", | ||
"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 @@ "dependencies": { | ||
"gray-percentage": "^2.0.0", | ||
"typography-breakpoint-constants": "^0.16.18" | ||
"typography-breakpoint-constants": "^0.16.19" | ||
}, | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "bdd749093e7055b5ab8fdcd7448ae5f1e88cad5f" | ||
"gitHead": "1a3bfc103d41d59f04e89573c2c87e1d95abdd12" | ||
} |
// @flow | ||
import gray from 'gray-percentage' | ||
import type { OptionsType } from 'Types' | ||
import { MOBILE_MEDIA_QUERY } from 'typography-breakpoint-constants' | ||
import gray from "gray-percentage" | ||
import type { OptionsType } from "Types" | ||
import { MOBILE_MEDIA_QUERY } from "typography-breakpoint-constants" | ||
const theme: OptionsType = { | ||
title: 'Stow Lake', | ||
baseFontSize: '18px', | ||
title: "Stow Lake", | ||
baseFontSize: "18px", | ||
baseLineHeight: 1.722, | ||
googleFonts: [ | ||
{ | ||
name: 'Neuton', | ||
styles: ['700'], | ||
name: "Neuton", | ||
styles: ["700"], | ||
}, | ||
{ | ||
name: 'Lato', | ||
styles: ['400', '400i', '700'], | ||
name: "Lato", | ||
styles: ["400", "400i", "700"], | ||
}, | ||
], | ||
headerFontFamily: ['Neuton', 'sans-serif'], | ||
bodyFontFamily: ['Lato', 'sans-serif'], | ||
headerColor: 'hsla(0,0%,0%,0.9)', | ||
bodyColor: 'hsla(0,0%,0%,0.8)', | ||
headerFontFamily: ["Neuton", "sans-serif"], | ||
bodyFontFamily: ["Lato", "sans-serif"], | ||
headerColor: "hsla(0,0%,0%,0.9)", | ||
bodyColor: "hsla(0,0%,0%,0.8)", | ||
headerWeight: 700, | ||
@@ -29,9 +29,9 @@ bodyWeight: 400, | ||
a: { | ||
color: '#4665b7', | ||
textDecoration: 'none', | ||
color: "#4665b7", | ||
textDecoration: "none", | ||
}, | ||
'a:hover,a:active': { | ||
"a:hover,a:active": { | ||
color: options.bodyColor, | ||
}, | ||
'h1,h2,h3,h4,h5,h6': { | ||
"h1,h2,h3,h4,h5,h6": { | ||
marginTop: rhythm(2), | ||
@@ -45,8 +45,8 @@ }, | ||
borderLeft: `${rhythm(6 / 16)} solid`, | ||
borderColor: '#612423', | ||
borderColor: "#612423", | ||
}, | ||
'blockquote > :last-child': { | ||
"blockquote > :last-child": { | ||
marginBottom: 0, | ||
}, | ||
'blockquote cite': { | ||
"blockquote cite": { | ||
...adjustFontSizeTo(options.baseFontSize), | ||
@@ -56,3 +56,3 @@ color: options.bodyColor, | ||
}, | ||
'blockquote cite:before': { | ||
"blockquote cite:before": { | ||
content: '"— "', | ||
@@ -65,3 +65,3 @@ }, | ||
borderLeft: `${rhythm(3 / 16)} solid`, | ||
borderColor: '#612423', | ||
borderColor: "#612423", | ||
paddingLeft: rhythm(9 / 16), | ||
@@ -68,0 +68,0 @@ }, |