typography-theme-trajan
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -30,8 +30,8 @@ import gray from 'gray-percentage'; | ||
blockquote: { | ||
...scale(1/5), | ||
...scale(2/16), | ||
color: gray(41), | ||
fontStyle: 'italic', | ||
paddingLeft: rhythm(13/16), | ||
marginLeft: rhythm(-1), | ||
borderLeft: `${rhythm(3/16)} solid ${gray(10)}`, | ||
marginLeft: rhythm(-1/16), | ||
borderLeft: `${rhythm(3/16)} solid ${gray(36)}`, | ||
}, | ||
@@ -38,0 +38,0 @@ 'blockquote > :last-child': { |
{ | ||
"name": "typography-theme-trajan", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A theme for Typography.js insprired by the typography-theme-wordpress-2016", | ||
@@ -19,3 +19,10 @@ "main": "index.js", | ||
"typography-breakpoint-constants": "^0.14.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/guoliim/typography-theme-trajan" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/guoliim/typography-theme-trajan/issues" | ||
} | ||
} |
# Trajan -- a [Typography.js](https://github.com/kyleamathews/typography.js) theme | ||
[![npm](https://img.shields.io/badge/npm-v0.0.1-brightgreen.svg)](https://www.npmjs.com/package/typography-theme-trajan) [![Packagist](https://img.shields.io/packagist/l/doctrine/orm.svg)]() | ||
A theme for Typography.js inspired by the typography of the typography-theme-wordpress-2016 | ||
## Install | ||
```bash | ||
npm install --save typography typography-theme-trajan | ||
``` | ||
## Usage | ||
```javascript | ||
import Typography from 'typography' | ||
import themeTrajan from 'typography-theme-trajan' | ||
const typography = new Typography(themeTrajan) | ||
``` | ||
## More on theme | ||
+ Trajan theme uses "[Trajan](https://typekit.com/fonts/trajan)" for headers and "[Merriweather](https://typekit.com/fonts/merriweather)" for body text | ||
+ Add "[Source Han Serif](https://source.typekit.com/source-han-serif/)" for supporting chinese based on local Source Han Serif font | ||
## LICENSE | ||
This project is under the MIT license. See the [LICENSE](./LISENCE) file for the full license text |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
5226
5
1
21
0