postcss-caralho

by SaraVieira

SaraVieira / postcss-caralho

PostCSS plugin for that changes curse words after ! to !important because why not ?

221 Stars 15 Forks Last release: Not found 67 Commits 10 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

PostCSS Caralho Plugin Travis

Coverage Status npm

PostCSS plugin for that changes curse words after ! to !important because why not ?

.foo {
    top: 20px !fuck;
}
.foo {
    top: 20px !important;
}

You can also choose from many more options in different languages and all of them will become

!important
after PostCSS does his/her thing.

Why ?

Idk, mainly boredom and the need to write !caralho or !fuck in every stylesheet I own.

I want to add words !

Awesome ! You can create a PR here: https://github.com/SaraVieira/curse-words and these tests and the ones in https://github.com/SaraVieira/babel-plugin-caralho will be generated automatically πŸŽ‰

Install

Install from NPM using:

npm i postcss-caralho --save-dev

Or Yarn:

yarn add postcss-caralho --dev

Usage

postcss([ require('postcss-caralho') ])

See PostCSS docs for examples for your environment.

License

WTFPL – Do What the Fuck You Want to Public License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.