refactor: lint + minor ui fixes

This commit is contained in:
liyasthomas
2021-11-27 19:59:28 +05:30
parent da8c446ad7
commit 0bf856291c
68 changed files with 363 additions and 1691 deletions

View File

@@ -3,16 +3,7 @@
:to="`${/^\/(?!\/).*$/.test(to) ? localePath(to) : to}`"
:exact="exact"
:blank="blank"
class="
focus:outline-none
focus-visible:bg-accentDark
inline-flex
items-center
justify-center
py-2
font-bold
transition
"
class="focus:outline-none focus-visible:bg-accentDark inline-flex items-center justify-center py-2 font-bold transition"
:class="[
color
? `text-${color}-800 bg-${color}-200 hover:(text-${color}-900 bg-${color}-300) focus-visible:(text-${color}-900 bg-${color}-300)`
@@ -38,7 +29,7 @@
>
<span
v-if="!loading"
class="inline-flex items-center justify-center whitespace-nowrap"
class="whitespace-nowrap inline-flex items-center justify-center"
:class="{ 'flex-row-reverse': reverse }"
>
<i
@@ -65,7 +56,7 @@
<kbd
v-for="(key, index) in shortcut"
:key="`key-${index}`"
class="inline-flex px-1 ml-1 rounded bg-accentLight"
class="bg-accentLight inline-flex px-1 ml-1 rounded"
>
{{ key }}
</kbd>