This commit is contained in:
Henry Jameson 2024-09-12 16:10:39 +03:00
parent a044dc377e
commit 2b9968eacd
4 changed files with 11 additions and 9 deletions

View file

@ -8,7 +8,7 @@
class="label -before"
:class="{ faint: disabled }"
>
<slot name="before"/>
<slot name="before" />
</span>
<input
type="checkbox"

View file

@ -20,7 +20,7 @@
<div
class="input color-input-field"
:class="{ disabled: !present || disabled }"
>
>
<input
:id="name + '-t'"
class="textColor unstyled"

View file

@ -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

View file

@ -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>