feat: refactor modal component

This commit is contained in:
liyasthomas
2021-07-28 01:08:11 +05:30
parent 78fccc8583
commit 1a4d3dc91a
8 changed files with 81 additions and 100 deletions

View File

@@ -303,12 +303,13 @@ input[type="checkbox"] {
.toasted-container {
.toasted {
&.toasted-primary {
@apply px-6 py-1;
@apply bg-tooltip;
@apply text-primary text-xs;
@apply !font-semibold;
@apply justify-start;
.action {
@apply ml-auto;
@apply transition;
@apply text-current;
@apply hover:(opacity-75 no-underline);
@@ -317,15 +318,16 @@ input[type="checkbox"] {
&.info {
@apply !bg-accent;
@apply !text-white;
}
&.error {
@apply !text-white;
@apply !bg-red-400;
@apply !text-red-800;
}
&.success {
@apply !text-white;
@apply !bg-green-400;
@apply !text-green-800;
}
}
}