diff options
| author | Henry Jameson <me@hjkos.com> | 2018-10-21 15:25:21 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-10-21 15:25:21 +0300 |
| commit | 7b657fcccd3524aba552cab4ee1005057fd83d41 (patch) | |
| tree | a7fc8d7d3d8d946a6aa8b51890dfadd6faf4562c /src/components/style_switcher/style_switcher.vue | |
| parent | 4b7b7d9905b965c225fd42fb68682b9602254c82 (diff) | |
added contrasts for rgbo
Diffstat (limited to 'src/components/style_switcher/style_switcher.vue')
| -rw-r--r-- | src/components/style_switcher/style_switcher.vue | 4 |
1 files changed, 4 insertions, 0 deletions
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> |
