postcss-typescale
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "postcss-typescale", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A PostCSS plugin to set type based on a typographic scale.", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"dependencies": { | ||
"postcss": "^5.0.19" | ||
"postcss": "^5.0.21" | ||
}, | ||
@@ -33,9 +33,9 @@ "scripts": { | ||
"ava": "^0.14.0", | ||
"babel-cli": "^6.7.7", | ||
"babel-cli": "^6.8.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-register": "^6.7.2", | ||
"eslint": "^2.8.0", | ||
"babel-register": "^6.8.0", | ||
"eslint": "^2.9.0", | ||
"eslint-config-airbnb": "^8.0.0", | ||
"eslint-plugin-import": "^1.6.0", | ||
"eslint-plugin-jsx-a11y": "^1.0.2", | ||
"eslint-plugin-import": "^1.6.1", | ||
"eslint-plugin-jsx-a11y": "^1.0.4", | ||
"eslint-plugin-react": "^5.0.1" | ||
@@ -42,0 +42,0 @@ }, |
@@ -67,34 +67,3 @@ # postcss-typescale | ||
```css | ||
.title { | ||
typescale: 3 1.5; | ||
} | ||
.text { | ||
typescale: 0; | ||
} | ||
.small-text { | ||
typescale: -1; | ||
} | ||
.extra-small-text { | ||
typescale: -2 0.5; | ||
} | ||
``` | ||
``` css | ||
@typescale my-scale { | ||
scale: 1.25; | ||
font-size: 1rem; | ||
line-height: 1.5rem; | ||
} | ||
.my-small-text { | ||
typescale: my-scale -2 0.5; | ||
} | ||
``` | ||
01: [input](https://github.com/francoisromain/postcss-typescale/blob/gh-pages/test/src/01.css), [output](https://github.com/francoisromain/postcss-typescale/blob/gh-pages/test/dist/01.css), [markup](https://github.com/francoisromain/postcss-typescale/blob/gh-pages/test/01.html), [demo](http://localhost/francoisromain.github.io/postcss-typescale/test/01.html) | ||
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
8040
69
Updatedpostcss@^5.0.21