Skip to content

emero/postcss-polish-stylesheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postcss-polish-stylesheets

Build Status

It's time to Polish your styles! PostCSS plugin for writing CSS in Polish.

Installation

$ npm install postcss-polish-stylesheets --save-dev

Basic usage

// Load dependencies
var fs = require("fs")
var postcss = require("postcss")
var polishStylesheets = require("postcss-polish-stylesheets")

// CSS file to Polish
var css = fs.readFileSync("styles.css", "utf8")

// Process
var output = postcss()
  .use(polishStylesheets())
  .process(css)
  .css

Example

Polished styles

.polish-flag {
  cień-pudełka: wkład 0 94piksele 0 0 biały;
  góra: 5pikseli !motyla-noga;
  lewo: 2piksele;
  pozycja: absolutna;
  ramka: 1piksel jednolity szary;
  szerokość: 300pikseli;
  tło: czerwone;
  wysokość: 188pikseli;
}

Output

.polish-flag {
  box-shadow: inset 0 94px 0 0 white;
  top: 5px !important;
  left: 2px;
  position: absolute;
  border: 1px solid gray;
  width: 300px;
  background: red;
  height: 188px;
}

About

CSS styles in Polish

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published