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

feat(business/button): expose button component for business #39

Merged
merged 4 commits into from
Jun 21, 2019

Conversation

efux
Copy link
Contributor

@efux efux commented Jun 18, 2019

Exposes the button component for business applications.

Styling should be according to the digital guidelines of SBB for business applications.

The button component of the public package has the following modes:

  • primary
  • secondary
  • ghost
  • frameless

public-buttons

The button component from the business package allows other modes:

  • primary
  • alternative
  • ghost
  • icon Which should only contain one icon with the *sbbButtonIcon directive.

business-buttons

Business buttons also support icons along with text with the normal modes primary, alternative, ghost, even though this use case was not specifically mentioned in the style guide. However the animations on hover were removed. On hover the background color of the buttons changes the same as without icon.

@efux efux changed the title feat(business/button): expose button component for business applications feat(business/button): expose button component for business Jun 18, 2019
Copy link
Collaborator

@kyubisation kyubisation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question in regard to styling strategy for buttons.

@kyubisation
Copy link
Collaborator

@efux LGTM. Thanks for your work. 😃

@kyubisation kyubisation merged commit ed990a2 into master Jun 21, 2019
@kyubisation kyubisation deleted the feature/business-button branch June 21, 2019 10:04
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.

2 participants