rcaferati / react-awesome-button

React button component. Awesome button is a 3D UI, progress, social and share enabled, animated at 60fps, light weight, performant, production ready react UI button component. 🖥️ 📱
https://awesome-button.caferati.me
MIT License
1.3k stars 133 forks source link

Add button-{primary, secondary, anchor}-active-color controls to demo/style picker site #86

Open aiddun opened 3 years ago

aiddun commented 3 years ago

The current demo website doesn't have a setting/color picker field for the button-primary-active-color, button-secondary-active-color, and button-anchor-active-color css variables, leading it to be very confusing for why there's no way to style a button's color when pressed. This fixes that issue with a few lines changed in one of the demo site's config files, which adds each input field to the correct spot and pre-populates with the correct colors per builtin theme. I hope this will save a future person a good amount of debugging time. Thanks!

Note: I don't know this project's preferred build/release process so I left the build for the demo unchanged. Please let me know if you'd like me to re-build it before a merge.

aiddun commented 3 years ago

Hi, sorry to bother but any update on this? I think it would be a really helpful (and easy) addition