Re:Show HN: Smooth UI, a React UI Library for Humans
by kowdermeister on Monday May 28, 2018 @04:22PM
(#17174608)
Writing !important to something I extend is not what I'd expect, it feels like a hack.
[ Parent
| on HN ]
Re:Show HN: Smooth UI, a React UI Library for Humans
by pluma on Monday May 28, 2018 @05:34PM
(#17174991)
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.
Re:Show HN: Smooth UI, a React UI Library for Humans
by kowdermeister on Monday May 28, 2018 @05:43PM
(#17175036)
I did not dig into that, but I would expect some intuitive solution if they mention developer experience.