Skip to content

Commit

Permalink
fix: #644
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Mar 24, 2022
1 parent 7d3aaf3 commit ee05252
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/styled/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
&.btn-accent .badge-outline {
@apply border-accent bg-transparent text-accent;
}
&.btn-info .badge-outline {
@apply border-info bg-transparent text-info;
}
&.btn-success .badge-outline {
@apply border-success bg-transparent text-success;
}
&.btn-warning .badge-outline {
@apply border-warning bg-transparent text-warning;
}
&.btn-error .badge-outline {
@apply border-error bg-transparent text-error;
}

&:hover .badge {
@apply border-base-200 bg-base-200 text-base-content;
Expand Down
12 changes: 12 additions & 0 deletions src/utilities/styled/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
&.badge-accent {
@apply text-accent;
}
&.badge-info {
@apply text-info;
}
&.badge-success {
@apply text-success;
}
&.badge-warning {
@apply text-warning;
}
&.badge-error {
@apply text-error;
}
}

&-info {
Expand Down

0 comments on commit ee05252

Please sign in to comment.