Hacker News new | ask | show | jobs
by zozbot234 2249 days ago
There are a few extra bugs: one should be able to style a 'default' button with an extra black border giving it a lightly "inset" appearance, as is usual in this style. And "disabled" buttons shouldn't react to a click by changing their appearance. It would also be nice to support tristate checkbox and radio buttons (the "3rd" state is basically a selection with lowered contrast, so this should be achievable) and "ON/OFF switch"-like controls, which appear as "sticky" buttons where the ON state also has a lighter background.