Refactor and cleanup CSS classes

This commit is contained in:
jultty 2026-05-04 09:25:56 -03:00
commit 1f718887ca
9 changed files with 129 additions and 46 deletions

31
scripts/lint.cks Normal file
View file

@ -0,0 +1,31 @@
:prefixed {
Level: error;
diagnostic: "Avoid prefixed properties";
}
style-value[name="color"]:not(:computed) {
level: error;
diagnostic: "Avoid color literals";
}
declaration:important {
level: error;
diagnostic: "Avoid !important";
}
declaration:unknown {
level: error;
diagnostic: "Unknown property";
}
declaration:empty {
level: error;
diagnostic: "Empty ruleset";
}
@stat --total-size { type: bytes; }
:root { collect: --total-size; }
/*
vi: ft=css
*/