typography-theme-wordpress-2012
Advanced tools
Comparing version 0.16.18 to 0.16.19
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -9,3 +9,3 @@ Object.defineProperty(exports, "__esModule", { | ||
var _grayPercentage = require('gray-percentage'); | ||
var _grayPercentage = require("gray-percentage"); | ||
@@ -17,14 +17,14 @@ var _grayPercentage2 = _interopRequireDefault(_grayPercentage); | ||
var theme = { | ||
title: 'Wordpress Theme 2012', | ||
baseFontSize: '14px', | ||
title: "Wordpress Theme 2012", | ||
baseFontSize: "14px", | ||
baseLineHeight: 1.714, | ||
scaleRatio: 8 / 5, | ||
googleFonts: [{ | ||
name: 'Open Sans', | ||
styles: ['400', '400i', '700'] | ||
name: "Open Sans", | ||
styles: ["400", "400i", "700"] | ||
}], | ||
headerFontFamily: ['Open Sans', 'sans-serif'], | ||
bodyFontFamily: ['Open Sans', 'sans-serif'], | ||
bodyColor: 'hsla(0,0%,0%,0.73)', | ||
headerWeight: '700', | ||
headerFontFamily: ["Open Sans", "sans-serif"], | ||
bodyFontFamily: ["Open Sans", "sans-serif"], | ||
bodyColor: "hsla(0,0%,0%,0.73)", | ||
headerWeight: "700", | ||
bodyWeight: 400, | ||
@@ -38,3 +38,3 @@ boldWeight: 700, | ||
blockquote: { | ||
fontStyle: 'italic', | ||
fontStyle: "italic", | ||
paddingLeft: rhythm(1), | ||
@@ -49,10 +49,10 @@ paddingRight: rhythm(1), | ||
}, | ||
'ol,ul': { | ||
"ol,ul": { | ||
marginLeft: 0 | ||
}, | ||
ol: { | ||
listStyle: 'decimal outside' | ||
listStyle: "decimal outside" | ||
}, | ||
ul: { | ||
listStyle: 'disc outside' | ||
listStyle: "disc outside" | ||
}, | ||
@@ -67,13 +67,13 @@ li: { | ||
fontWeight: options.boldWeight, | ||
textTransform: 'uppercase', | ||
textTransform: "uppercase", | ||
color: (0, _grayPercentage2.default)(39) | ||
}, | ||
a: { | ||
color: '#21759b' | ||
color: "#21759b" | ||
}, | ||
'a:hover': { | ||
color: '#0f3647' | ||
"a:hover": { | ||
color: "#0f3647" | ||
}, | ||
'a:visited': { | ||
color: '#9f9f9f' | ||
"a:visited": { | ||
color: "#9f9f9f" | ||
} | ||
@@ -80,0 +80,0 @@ }; |
{ | ||
"name": "typography-theme-wordpress-2012", | ||
"description": "A theme for Typography.js inspired by the typography of the Wordpress 2012 default theme", | ||
"version": "0.16.18", | ||
"version": "0.16.19", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -30,3 +30,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "bdd749093e7055b5ab8fdcd7448ae5f1e88cad5f" | ||
"gitHead": "1a3bfc103d41d59f04e89573c2c87e1d95abdd12" | ||
} |
// @flow | ||
import type { OptionsType } from 'Types' | ||
import gray from 'gray-percentage' | ||
import type { OptionsType } from "Types" | ||
import gray from "gray-percentage" | ||
const theme: OptionsType = { | ||
title: 'Wordpress Theme 2012', | ||
baseFontSize: '14px', | ||
title: "Wordpress Theme 2012", | ||
baseFontSize: "14px", | ||
baseLineHeight: 1.714, | ||
@@ -12,10 +12,10 @@ scaleRatio: 8 / 5, | ||
{ | ||
name: 'Open Sans', | ||
styles: ['400', '400i', '700'], | ||
name: "Open Sans", | ||
styles: ["400", "400i", "700"], | ||
}, | ||
], | ||
headerFontFamily: ['Open Sans', 'sans-serif'], | ||
bodyFontFamily: ['Open Sans', 'sans-serif'], | ||
bodyColor: 'hsla(0,0%,0%,0.73)', | ||
headerWeight: '700', | ||
headerFontFamily: ["Open Sans", "sans-serif"], | ||
bodyFontFamily: ["Open Sans", "sans-serif"], | ||
bodyColor: "hsla(0,0%,0%,0.73)", | ||
headerWeight: "700", | ||
bodyWeight: 400, | ||
@@ -25,3 +25,3 @@ boldWeight: 700, | ||
blockquote: { | ||
fontStyle: 'italic', | ||
fontStyle: "italic", | ||
paddingLeft: rhythm(1), | ||
@@ -36,10 +36,10 @@ paddingRight: rhythm(1), | ||
}, | ||
'ol,ul': { | ||
"ol,ul": { | ||
marginLeft: 0, | ||
}, | ||
ol: { | ||
listStyle: 'decimal outside', | ||
listStyle: "decimal outside", | ||
}, | ||
ul: { | ||
listStyle: 'disc outside', | ||
listStyle: "disc outside", | ||
}, | ||
@@ -55,13 +55,13 @@ li: { | ||
fontWeight: options.boldWeight, | ||
textTransform: 'uppercase', | ||
textTransform: "uppercase", | ||
color: gray(39), | ||
}, | ||
a: { | ||
color: '#21759b', | ||
color: "#21759b", | ||
}, | ||
'a:hover': { | ||
color: '#0f3647', | ||
"a:hover": { | ||
color: "#0f3647", | ||
}, | ||
'a:visited': { | ||
color: '#9f9f9f', | ||
"a:visited": { | ||
color: "#9f9f9f", | ||
}, | ||
@@ -68,0 +68,0 @@ }), |
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