Hey Heydon!
First of all, I love the idea. I think it does a great job showing what's not great in a web page with CSS only however I think it's a bit too agressive for someone who justs want to make sure he didn't do something awful.
I'd like to see several levels of warnings like:
smooth: not great but okay,
okay: not a good idea,
bad: mostly a bad idea,
agressive: omfg? how dare u?.
I think using Sass would make things easier. For instance, we could have a mixin accepting a warning level or something, that would then dump only the rules for this level and below.
Then a Compass extension, a npm package or anything would make it very cool to use. Like:
@import "revenge.css";
@include revenge('agressive'); // or whatever like this
Just my 2 cents. I like what you did so far. :)
Update: having a closer look at the code, I think we even could have warning levels like aria, a11y, semantics, etc.
Hey Heydon!
First of all, I love the idea. I think it does a great job showing what's not great in a web page with CSS only however I think it's a bit too agressive for someone who justs want to make sure he didn't do something awful.
I'd like to see several levels of warnings like:
smooth: not great but okay,okay: not a good idea,bad: mostly a bad idea,agressive: omfg? how dare u?.I think using Sass would make things easier. For instance, we could have a mixin accepting a warning level or something, that would then dump only the rules for this level and below.
Then a Compass extension, a npm package or anything would make it very cool to use. Like:
Just my 2 cents. I like what you did so far. :)
Update: having a closer look at the code, I think we even could have warning levels like
aria,a11y,semantics, etc.