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(button): danger and success variant #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 11, 2021

  1. feat(button): danger and success variant

    Adds a "danger" variant which signifies a dangerous
    action, such as deleting a user.
    
    Adds a "success" variant which signifies a positive
    action.
    
    The change affects
    
    - Button
    - IconButton
    - IconTextButton
    
    This change also affects a number of snapshots. This because
    a primary button uses `textPrimary` and `elementPrimary` to
    change the color between for instance the normal and hover state.
    `textError` and `elementError` however had the exact same color.
    
    Had to add `textSuccess` since this color didn't exist at all,
    which seems like an error due to the fact that all other `element...`
    has an equivalent `text...`.
    lekoaf committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    79506fc View commit details
    Browse the repository at this point in the history