Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.47 KB

README.md

File metadata and controls

77 lines (53 loc) · 1.47 KB

🇬🇧 post(css) brexit 🇬🇧

DISCLAIMER: this is a joke and does not want to be offensive to anyone, it's my way to laught at my worries about a hard Brexit

Put some correct British English into your CSS files before brexiting

🎉 Features

📦 This postcss plugin helps you to:

  • write your CSS files in correct British English
  • maybe makes you smile

⚙ Install

# npm
npm i postcss-brexit

# yarn
yarn add postcss-brexit

🔍 Usage

import postcss from 'postcss';
import brexit from 'postcss-brexit';

postcss(
  [
    brexit(
      {
        noDeal: true
      }
    )
  ]
).process(fs.readFileSync('./my-british-english-stylesheet.css'))

So you can write your CSS files finally with some correct English British

.MyClass {
  background-colour: blue;
  border: 1px solid;
  border-colour: white;
  colour: white;
}

What's next

Changing every single CSS property to correct British English (using genitive)

E.g.

.Sky {
  background's colour: var(--sometimes-blue);
}

️❤️ Contributing

Every contribution is really welcome!

If you feel that something can be improved or should be fixed, feel free to open an issue with the feature or the bug found.

If you want to fork and open a pull request (adding features or fixes), feel free to do it. Remember only to use the dev branch as a base.

Read the contributing guidelines

📃 Licence

Read the licence