seas-computing / mark-one

A UI component library for building React Apps (in development)
https://seas-computing.github.io/mark-one/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Add :disabled styles to buttons #110

Open jonseitz opened 3 years ago

jonseitz commented 3 years ago

Describe your changes

The original button implementation had a disabled prop that prevented the onClick handler from being called, but did not include any stylistic changes to indicate to the user that the button was disabled. In fact the :hover and :active pseudo-classes were still being applied so it appeared as through the button was clicked but nothing was happening. This adds some additional style rules to the :disabled pseudo-class to provide visual cues to the user that the button is disabled.

Types of changes

Checklist:

Priority:

Related Issues:

Fixes #109