Skip to content

Commit

Permalink
fix: #239 (btn outline style for state colors)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Oct 12, 2021
1 parent 26a4a8e commit 6796d84
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/components/styled/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,30 @@
@apply bg-accent-focus text-accent-content border-accent-focus;
}
}
&.btn-success {
@apply text-success;
&:hover {
@apply bg-success text-neutral-content border-success;
}
}
&.btn-info {
@apply text-info;
&:hover {
@apply bg-info text-neutral-content border-info;
}
}
&.btn-warning {
@apply text-warning;
&:hover {
@apply bg-warning text-neutral-content border-warning;
}
}
&.btn-error {
@apply text-error;
&:hover {
@apply bg-error text-neutral-content border-error;
}
}
}

/* disabled */
Expand Down

0 comments on commit 6796d84

Please sign in to comment.