aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-13 21:30:55 +0200
committerHenry Jameson <me@hjkos.com>2020-01-13 21:30:55 +0200
commit4b8e0f0afa2c7f1d0f4f0c2f39f289b75b3cae08 (patch)
tree9554968d9b2c78eb8acfc9fae80643c3fa7f2190 /src/components/style_switcher/style_switcher.vue
parent8a7f3fc16a511e6c5917c0e25cba1f6163659264 (diff)
buttonPressed & buttonDisabled slots
Diffstat (limited to 'src/components/style_switcher/style_switcher.vue')
-rw-r--r--src/components/style_switcher/style_switcher.vue16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue
index 613abd1f..3921c953 100644
--- a/src/components/style_switcher/style_switcher.vue
+++ b/src/components/style_switcher/style_switcher.vue
@@ -360,7 +360,21 @@
:fallback="previewTheme.colors.btnPressedText"
:label="$t('settings.text')"
/>
- <ContrastRatio :contrast="previewContrast.btnText" />
+ <ContrastRatio :contrast="previewContrast.btnPressedText" />
+ <h4>{{ $t('settings.style.advanced_colors.disabled') }}</h4>
+ <ColorInput
+ v-model="btnDisabledColorLocal"
+ name="btnDisabledColor"
+ :fallback="previewTheme.colors.btnDisabled"
+ :label="$t('settings.background')"
+ />
+ <ColorInput
+ v-model="btnDisabledTextColorLocal"
+ name="btnDisabledTextColor"
+ :fallback="previewTheme.colors.btnDisabledText"
+ :label="$t('settings.text')"
+ />
+ <ContrastRatio :contrast="previewContrast.btnDisabledText" />
</div>
<div class="color-item">
<h4>{{ $t('settings.style.advanced_colors.borders') }}</h4>