select[disabled]
Closed this issue · 7 comments
Hi @KaKi87, what browser are you using? It looks destyled for me:
Well, I actually meant that the gray color should also be removed.
Like input[disabled]
.
Thanks
I see, I am not sure if this should be removed. I'll leave this issue open and think about it. Thank you for pointing it out.
If you don't want to destyle select[disabled]
, then you would have, for consistency, to restyle the following components :
option[disabled]
button[disabled]
textarea[disabled]
However, this is against destyle by definition.
I use destyle precisely because I want to decide how to style myself, and that includes disabled inputs, all kind of those.
Thanks
Well that is not true, destyle is, as the description says, "opinionated" and not everything is destyled (e.g. <strong>
, <i>
) see the README here.
Consistency is not really important here, removing the bits that I do not want to overwrite every time when styling an element is the important thing and I have never run into an issue with disabled selects.
As said, I will think about this.
Well, semantically, <b>
and <i>
could stay styled while <strong>
and <em>
shouldn't.
Closed via #19