Skip to content

Commit

Permalink
fix(admin-ui): Add missing primary button states
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jun 9, 2023
1 parent cb81848 commit 93d2285
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/admin-ui/src/lib/static/styles/global/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,30 @@
}
}

&.success,
&.btn-success {
&:not(:disabled) {
background-color: var(--color-success-700);
color: white;
&:hover {
background-color: var(--color-success-800);
color: white;
}
}
}

&.warning,
&.btn-warning {
&:not(:disabled) {
background-color: var(--color-warning-700);
color: white;
&:hover {
background-color: var(--color-warning-800);
color: white;
}
}
}

&.danger,
&.btn-danger {
&:not(:disabled) {
Expand Down

0 comments on commit 93d2285

Please sign in to comment.