Skip to content

nju33/postcss-blokk

Repository files navigation

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