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
📦 This postcss plugin helps you to:
- write your CSS files in correct British English
- maybe makes you smile
# npm
npm i postcss-brexit
# yarn
yarn add postcss-brexit
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;
}
Changing every single CSS property to correct British English (using genitive)
E.g.
.Sky {
background's colour: var(--sometimes-blue);
}
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
Read the licence