aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-28 01:29:20 +0200
committerHenry Jameson <me@hjkos.com>2020-01-28 01:29:20 +0200
commit526b43eba66c597c78857da6ded3c7f672f96e49 (patch)
treeab8ba45b3a05b4f2ee24b3a2b5d53cc0d41222a7 /src/components/style_switcher/style_switcher.vue
parent18ca2a035bc9107288e35f11be8dac83c7539503 (diff)
Kenomo (see: #624) theme. Ability to define link color for post contents. Fixes
Diffstat (limited to 'src/components/style_switcher/style_switcher.vue')
-rw-r--r--src/components/style_switcher/style_switcher.vue17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue
index 6e38bd8e..0b3b0fbf 100644
--- a/src/components/style_switcher/style_switcher.vue
+++ b/src/components/style_switcher/style_switcher.vue
@@ -248,6 +248,23 @@
</button>
</div>
<div class="color-item">
+ <h4>{{ $t('settings.style.advanced_colors.post') }}</h4>
+ <ColorInput
+ v-model="postLinkColorLocal"
+ name="postLinkColor"
+ :fallback="previewTheme.colors.accent"
+ :label="$t('settings.links')"
+ :show-optional-tickbox="typeof accentColorLocal !== 'undefined'"
+ />
+ <ContrastRatio :contrast="previewContrast.bgPostLink" />
+ <ColorInput
+ v-model="iconColorLocal"
+ name="iconColor"
+ :fallback="previewTheme.colors.accent"
+ :label="$t('settings.links')"
+ :show-optional-tickbox="typeof accentColorLocal !== 'undefined'"
+ />
+ <ContrastRatio :contrast="previewContrast.bgIcon" />
<h4>{{ $t('settings.style.advanced_colors.alert') }}</h4>
<ColorInput
v-model="alertErrorColorLocal"