From 6796d8420cbb0683e22666132524b2e49b016d81 Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Tue, 12 Oct 2021 15:59:13 +0300 Subject: [PATCH] fix: #239 (btn outline style for state colors) --- src/components/styled/button.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/components/styled/button.css b/src/components/styled/button.css index c8de53c50dc..557e806fffe 100644 --- a/src/components/styled/button.css +++ b/src/components/styled/button.css @@ -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 */