Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

typography-theme-trajan

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typography-theme-trajan - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+21
LICENSE
MIT License
Copyright (c) [2017] [guoliim]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+3
-3

@@ -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