This commit is contained in:
Henry Jameson 2020-01-16 23:30:13 +02:00
parent 1f5ada08c1
commit 24a7a9bfd8

View file

@ -215,7 +215,10 @@
:label="$t('settings.text')" :label="$t('settings.text')"
:fallback="previewTheme.colors.alertErrorText" :fallback="previewTheme.colors.alertErrorText"
/> />
<ContrastRatio :contrast="previewContrast.alertErrorText" large="1"/> <ContrastRatio
:contrast="previewContrast.alertErrorText"
large="1"
/>
<ColorInput <ColorInput
v-model="alertWarningColorLocal" v-model="alertWarningColorLocal"
name="alertWarning" name="alertWarning"
@ -228,7 +231,10 @@
:label="$t('settings.text')" :label="$t('settings.text')"
:fallback="previewTheme.colors.alertWarningText" :fallback="previewTheme.colors.alertWarningText"
/> />
<ContrastRatio :contrast="previewContrast.alertWarningText" large="1"/> <ContrastRatio
:contrast="previewContrast.alertWarningText"
large="1"
/>
</div> </div>
<div class="color-item"> <div class="color-item">
<h4>{{ $t('settings.style.advanced_colors.badge') }}</h4> <h4>{{ $t('settings.style.advanced_colors.badge') }}</h4>
@ -244,7 +250,10 @@
:label="$t('settings.text')" :label="$t('settings.text')"
:fallback="previewTheme.colors.badgeNotificationText" :fallback="previewTheme.colors.badgeNotificationText"
/> />
<ContrastRatio :contrast="previewContrast.badgeNotificationText" large="1" /> <ContrastRatio
:contrast="previewContrast.badgeNotificationText"
large="1"
/>
</div> </div>
<div class="color-item"> <div class="color-item">
<h4>{{ $t('settings.style.advanced_colors.panel_header') }}</h4> <h4>{{ $t('settings.style.advanced_colors.panel_header') }}</h4>