Switch branches/tags
Nothing to show
Clone or download
Latest commit e5e73bb Apr 4, 2017
Permalink
Failed to load latest commit information.
example Init Apr 4, 2017
lib Init Apr 4, 2017
test/specs Init Apr 4, 2017
.editorconfig Init Apr 4, 2017
.gitignore Init Apr 4, 2017
.npmignore Init Apr 4, 2017
.travis.yml Init Apr 4, 2017
LICENSE.md Init Apr 4, 2017
README.md Fix readme Apr 4, 2017
bs-config.js Init Apr 4, 2017
gulpfile.babel.js Init Apr 4, 2017
package.json 0.0.2 Apr 4, 2017
yarn.lock Init Apr 4, 2017

README.md

PostCSS BLOKK

XO code style

BLOKK auto import.

Install

yarn add -D postcss-blokk
npm i -D postcss-blokk
postcss([blokk])

Usage

Input

body {
  font-family: BLOKK;
}

.a {
  font: 16px / 1.5 BLOKK;
}

Output

@import url("https://blokkfont-losgordos.netdna-ssl.com/v2/blokkfont.css");

body {
  font-family: BLOKK;
}

.a {
  font: 16px / 1.5 BLOKK;
}

Tip

If you get an Access-Control-Allow-Origin related error during development, you may want to install https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi/related

Related

License

The MIT License (MIT)

Copyright (c) 2017 nju33 nju33.ki@gmail.com