Y
Hacker News
new
|
ask
|
show
|
jobs
by
kowdermeister
2951 days ago
Writing !important to something I extend is not what I'd expect, it feels like a hack.
1 comments
pluma
2951 days ago
Looks like the example uses that because it would otherwise be overridden by the variant=primary (which seems to be the default) so explicitly overriding that variant would probably be more intuitive and not require the !important hack.
link
kowdermeister
2951 days ago
I did not dig into that, but I would expect some intuitive solution if they mention developer experience.
link