PostCSS plugin to acknowledge that another CSS Day went by, how many days until the next edition and to give you a bitterbal.
npm install postcss-day
Example 1:
import fs from "fs";
import postcss from "postcss";
import cssday from "postcss-day";
const css = fs.readFileSync("input.css", "utf8");
const output = postcss().use(cssday()).process(css).css;
console.log("\n====>Output CSS:\n", output);
Or just:
const output = postcss(cssday()).process(css).css;
input.css:
body {
color: rebeccapurple;
}
You will get:
body {
color: rebeccapurple;
}
This plugin doesn't do anything to your CSS! Just check your CLI output.
Please remind me to update the dates when needed.