From 7b657fcccd3524aba552cab4ee1005057fd83d41 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Sun, 21 Oct 2018 15:25:21 +0300
Subject: added contrasts for rgbo

---
 src/components/style_switcher/style_switcher.vue | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/components/style_switcher/style_switcher.vue')

diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue
index 4235d65c..cecd6bc0 100644
--- a/src/components/style_switcher/style_switcher.vue
+++ b/src/components/style_switcher/style_switcher.vue
@@ -64,11 +64,15 @@
       </div>
       <div class="color-item">
         <ColorInput name="cRedColor" v-model="cRedColorLocal" :label="$t('settings.cRed')"/>
+        <ContrastRatio :contrast="previewContrast.bgRed"/>
         <ColorInput name="cBlueColor" v-model="cBlueColorLocal" :label="$t('settings.cBlue')"/>
+        <ContrastRatio :contrast="previewContrast.bgBlue"/>
       </div>
       <div class="color-item">
         <ColorInput name="cGreenColor" v-model="cGreenColorLocal" :label="$t('settings.cGreen')"/>
+        <ContrastRatio :contrast="previewContrast.bgGreen"/>
         <ColorInput name="cOrangeColor" v-model="cOrangeColorLocal" :label="$t('settings.cOrange')"/>
+        <ContrastRatio :contrast="previewContrast.bgOrange"/>
       </div>
       <div class="color-item wide">
         <h4>Alert opacity</h4>
-- 
cgit v1.2.3-70-g09d2

