Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-typescale

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-typescale - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

14

package.json
{
"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)
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