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

@@ -10,12 +10,12 @@
inline-flex
items-center
justify-center
focus:outline-none
hover:bg-primaryDark
focus:outline-none
"
:class="[
color
? `text-${color}-500 hover:text-${color}-600 focus:text-${color}-600`
? `text-${color}-500 hover:(text-${color}-600 text-${color}-600)`
: 'text-secondary hover:text-secondaryDark focus:text-secondaryDark',
label ? 'px-4' : 'px-2',
rounded ? 'rounded-full' : 'rounded',