Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Nov 1, 2022
1 parent 492198f commit 17b5181
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/components/styled/button.css
Expand Up @@ -135,48 +135,56 @@
/* outline */
&-outline {
@apply border-current bg-transparent text-base-content;
&:hover {
&:hover,
&.btn-active {
@apply border-base-content bg-base-content text-base-100;
}
&.btn-primary {
@apply text-primary;
&:hover {
&:hover,
&.btn-active {
@apply border-primary-focus bg-primary-focus text-primary-content;
}
}
&.btn-secondary {
@apply text-secondary;
&:hover {
&:hover,
&.btn-active {
@apply border-secondary-focus bg-secondary-focus text-secondary-content;
}
}
&.btn-accent {
@apply text-accent;
&:hover {
&:hover,
&.btn-active {
@apply border-accent-focus bg-accent-focus text-accent-content;
}
}
&.btn-success {
@apply text-success;
&:hover {
&:hover,
&.btn-active {
@apply border-success bg-success text-success-content;
}
}
&.btn-info {
@apply text-info;
&:hover {
&:hover,
&.btn-active {
@apply border-info bg-info text-info-content;
}
}
&.btn-warning {
@apply text-warning;
&:hover {
&:hover,
&.btn-active {
@apply border-warning bg-warning text-warning-content;
}
}
&.btn-error {
@apply text-error;
&:hover {
&:hover,
&.btn-active {
@apply border-error bg-error text-error-content;
}
}
Expand Down Expand Up @@ -207,7 +215,7 @@
}
}
/* group */
.btn-group {
.btn-group {
& > input[type="radio"]:checked.btn,
& > .btn-active {
@apply border-primary bg-primary text-primary-content;
Expand Down

0 comments on commit 17b5181

Please sign in to comment.