refactor(ui): minor inconsistency fixes

This commit is contained in:
liyasthomas
2021-07-18 18:53:51 +05:30
parent 393e6896ec
commit e52ed7a5ce
10 changed files with 72 additions and 57 deletions

View File

@@ -15,7 +15,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-white dark:text-accentDark bg-accent hover:bg-accentDark focus:bg-accentDark`,
: `text-white bg-accent hover:bg-accentDark focus:bg-accentDark`,
label ? 'px-3' : 'px-2',
rounded ? 'rounded-full' : 'rounded-lg',
{ 'opacity-50 cursor-not-allowed': disabled },
@@ -27,7 +27,7 @@
gradient,
},
{
'border border-divider hover:border-dividerDark focus:border-dividerDark':
'border border-accent hover:border-accentDark focus:border-accentDark':
outline,
},
]"