New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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

LICENSE

6

index.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc