chore: lint + minor ui tweaks

This commit is contained in:
liyasthomas
2021-06-06 16:35:30 +05:30
parent 7b6c4f71a2
commit 5c9093823b
5 changed files with 8 additions and 21 deletions

View File

@@ -1,9 +1,6 @@
<template>
<div class="flex flex-col">
<label
>{{ $t("color") }}:
{{ capitalized(active) }}</label
>
<label>{{ $t("color") }}: {{ capitalized(active) }}</label>
<div>
<!-- text-blue-400 -->
<!-- text-green-400 -->
@@ -61,7 +58,6 @@ export default {
},
watch: {
active(color) {
localStorage.setItem("THEME_COLOR", color)
},
},
@@ -72,7 +68,7 @@ export default {
this.active = color
},
capitalized(color) {
return `${color.charAt(0).toUpperCase()}${color.slice(1)}`
return `${color.charAt(0).toUpperCase()}${color.slice(1)}`
},
},
}

View File

@@ -109,7 +109,7 @@ export default {
},
value(newValue) {
this.text = newValue
}
},
},
mounted() {

View File

@@ -32,7 +32,6 @@
border-collapseer-2
text-fgLightColor
hover:text-fgColor
hover:shadow-none
"
:class="[
{ 'bg-actColor': color === $colorMode.preference },