refactor(ui): group windi classes

This commit is contained in:
liyasthomas
2021-08-05 22:52:02 +05:30
parent 3bd78869a0
commit 3a96eb003b
14 changed files with 43 additions and 28 deletions

View File

@@ -14,7 +14,7 @@
"
:class="[
color
? `text-${color}-800 bg-${color}-200 hover:text-${color}-900 hover:bg-${color}-300 focus:text-${color}-900 focus:bg-${color}-300`
? `text-${color}-800 bg-${color}-200 hover:(text-${color}-900 bg-${color}-300) focus:(text-${color}-900 bg-${color}-300)`
: `text-accentContrast bg-accent hover:bg-accentDark focus:bg-accentDark`,
label ? 'px-4' : 'px-2',
rounded ? 'rounded-full' : 'rounded',