refactor(ui): better font weight, icon hover states, etc

This commit is contained in:
liyasthomas
2021-08-13 16:44:02 +05:30
parent 08e3cffff8
commit 11816111ea
94 changed files with 547 additions and 514 deletions

View File

@@ -11,6 +11,7 @@
items-center
justify-center
focus:outline-none
focus-visible:bg-accentDark
"
:class="[
color

View File

@@ -4,7 +4,7 @@
:exact="exact"
:blank="blank"
class="
font-semibold
font-medium
py-2
transition
inline-flex
@@ -12,13 +12,14 @@
justify-center
hover:bg-primaryDark
focus:outline-none
focus-visible:bg-primaryDark
"
:class="[
color
? `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',
label ? 'rounded px-4' : 'px-2',
{ 'rounded-full': rounded },
{ 'opacity-75 cursor-not-allowed': disabled },
{ 'flex-row-reverse': reverse },
{ 'px-6 py-4 text-lg': large },
@@ -53,14 +54,7 @@
<kbd
v-for="(key, index) in shortcut"
:key="`key-${index}`"
class="
bg-dividerLight
rounded
text-secondaryLight
ml-1
px-1
inline-flex
"
class="bg-dividerLight text-secondaryLight ml-1 px-1 inline-flex"
>
{{ key }}
</kbd>