commit: 2b9968eacd6f45dc5ad39796f1b2f488e2a22cbb
parent a044dc377e77aade4696984fb42f7aa5db8c2561
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 12 Sep 2024 16:10:39 +0300
lint
Diffstat:
4 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue
@@ -8,7 +8,7 @@
class="label -before"
:class="{ faint: disabled }"
>
- <slot name="before"/>
+ <slot name="before" />
</span>
<input
type="checkbox"
diff --git a/src/components/color_input/color_input.vue b/src/components/color_input/color_input.vue
@@ -20,7 +20,7 @@
<div
class="input color-input-field"
:class="{ disabled: !present || disabled }"
- >
+ >
<input
:id="name + '-t'"
class="textColor unstyled"
diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue
@@ -123,10 +123,13 @@
</div>
</div>
- <!-- eslint-disable vue/no-v-text-v-html-on-component -->
- <component :is="'style'" v-html="themeV3Preview"/>
- <!-- eslint-enable vue/no-v-text-v-html-on-component -->
- <preview id="theme-preview"/>
+ <!-- eslint-disable vue/no-v-html vue/no-v-text-v-html-on-component -->
+ <component
+ :is="'style'"
+ v-html="themeV3Preview"
+ />
+ <!-- eslint-enable vue/no-v-html vue/no-v-text-v-html-on-component -->
+ <preview id="theme-preview" />
<div>
<button
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue
@@ -60,21 +60,20 @@
>
{{ $t('settings.style.shadows.light_grid') }}
</Checkbox>
-
</div>
<div class="shadow-switcher">
<Select
- class="shadow-list"
id="shadow-list"
v-model="selectedId"
+ class="shadow-list"
size="10"
:disabled="!ready || usingFallback"
>
<option
v-for="(shadow, index) in cValue"
+ :key="index"
:value="index"
:class="{ '-active': index === Number(selectedId) }"
- :key="index"
>
{{ shadow.name ?? $t('settings.style.shadows.shadow_id', { value: index }) }}
</option>