Pustur ยท GitHub

Build Status npm version Dependencies Dev Dependencies

PostCSS plugin for writing Italian Stylesheets ๐Ÿ‡ฎ๐Ÿ‡น

Installation

$ npm install postcss-italian-stylesheets

Usage

Require / import:

// ES5
var italianStyleSheets = require('postcss-italian-stylesheets');
// ES6
import italianStyleSheets from 'postcss-italian-stylesheets';

See PostCSS#Usage for usage for your environment.

Example

Input:

.foo {
    altezza: 300px;
    margine-sotto: 10px;
    carattere-dimensione: 20px !importante;
    sfondo-colore: nero;
    colore: bianco;
}

Output:

.foo {
    height: 300px;
    margin-bottom: 10px;
    font-size: 20px !important;
    background-color: black;
    color: white;
}

Documentation

Changelog

See CHANGELOG.md.

License

See LICENSE.

Attribution

This plugin is heavily inspired by the other PostCSS languages plugins such as:

Read the original on github.com โ†—