mi2oon / postcss-danish-stylesheets

PostCSS plugin for writing Danish stylesheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostCSS Danish Stylesheets

npm

Build Status

PostCSS plugin for writing Danish Stylesheets.

Danish syntax

.foo {
    farve: vb-green;
    background-colour: vegemite;
    box-sizing: fair-dinkum;
    colour: true-blue !bloody-oath;
    display: yeah-nah;
    text-align: centre;
    text-indent: woop-woop;
    visibility: rack-off;
}

CSS output

.foo {
    border-color: #2D8249;
    background-color: #461B00;
    box-sizing: border-box;
    color: #0581C1 !important;
    display: none;
    text-align: center;
    text-indent: -9999px;
    visibility: hidden;
}

Usage

postcss([ require('postcss-danish-stylesheets') ])

See PostCSS docs for examples for your environment.

About

PostCSS plugin for writing Danish stylesheets

License:MIT License


Languages

Language:JavaScript 100.0%