pbp
postcss-brazilian-portuguese-stylesheets
npm i postcss-brazilian-portuguese-stylesheets
pbp

postcss-brazilian-portuguese-stylesheets

šŸ˜± PostCSS plugin for writing CSS in Brazilian Portuguese

by Welkson Ramos

0.1.0 (see all)License:MITTypeScript:Not Found
npm i postcss-brazilian-portuguese-stylesheets
Readme

PostCSS Brazilian Portuguese Stylesheets

PostCSS plugin for writing CSS in Portuguese

Write your CSS in portuguese!

Installation

$ npm install postcss-brazilian-portuguese-stylesheet

Usage

Add PostCSS in your project:

$ npm install postcss --save-dev

In your script:

const fs = require('fs');
const postcss = require('postcss');
const brazilianStyleSheets = require('postcss-brazilian-portuguese-stylesheet')

// css to be processed
var css = fs.readFileSync('./path/to/file.css', 'utf8');

postcss(brazilianStyleSheets)
.process(css)
.then(result =>{
  fs.writeFileSync('./path/to/output.css', result.css);
});

Example

Brazilian Stylesheet:

div {
  margem: 0 automatico;
  largura: 300px;
  altura: 300px;
  imagemFundo: url('path/to/image.jpg') naoRepetir;
}

CSS Output:

div {
  margin: 0 auto;
  width:300px;
  height:300px;
  background-image: url('path/to/image.jpg') no-repeat;
}

Changelog

See CHANGELOG

License

Ā© MIT

Downloads/wk

9

GitHub Stars

11

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
0.1.0
latest
6yrs ago
No alternatives found
No tutorials found
Add a tutorial