Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add standart button styles (btn-success,btn-warning,btn-error) #243

Closed
wants to merge 1 commit into from
Closed

add standart button styles (btn-success,btn-warning,btn-error) #243

wants to merge 1 commit into from

Conversation

bahirul
Copy link

@bahirul bahirul commented Jul 26, 2017

Add standart button styles, already test and build with gulp.

@bahirul bahirul mentioned this pull request Jul 26, 2017
@picturepan2
Copy link
Owner

@bahirul When do you need a green(success) button?

@thehouseplant
Copy link

@picturepan2 We tend to use classes like warning, danger, and success for our applications and forms as well. An example would be something like an Edit modal of some kind. In there may be fields that you want to update and, at the bottom, you may have a "success" save button, a neutral cancel button, or a "danger/warn" delete button. Sometimes those visual cues can help prevent a user from selection the wrong option.

In addition to this, sometimes the added colors can help break up an otherwise monotone theme. It may be a simple, but coming from frameworks like Bootstrap and Foundation have also sort of put us in the mindset of having some of those colors available to us when building form interactions.

@picturepan2
Copy link
Owner

@bahirul I added success and error button colors with the button mixins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants