Add a Light theme and a theme detection/selection feature

This commit is contained in:
Bubka
2023-02-01 17:21:55 +01:00
parent 4b0f2186da
commit eadebb41ac
32 changed files with 439 additions and 168 deletions

View File

@ -5,12 +5,15 @@
<button
role="radio"
type="button"
class="button is-dark"
class="button"
:aria-checked="form[fieldName] === choice.value"
:disabled="isDisabled"
v-for="(choice, index) in choices"
:key="index"
:class="{ 'is-link' : form[fieldName] === choice.value }"
:class="{
'is-link' : form[fieldName] === choice.value,
'is-dark' : $root.showDarkMode
}"
v-on:click.stop="setRadio(choice.value)"
>
<input