diff options
| author | Henry Jameson <me@hjkos.com> | 2019-12-28 15:55:42 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-12-28 15:55:42 +0200 |
| commit | e5a34870f0f7154712783fb6d9c20edf4c06ad35 (patch) | |
| tree | dfb04a3edb8b64f8ff2d5c2b7cb2b558692cdc1c /src/components/style_switcher/style_switcher.vue | |
| parent | b8f4b18ae5e362bce97553cf4bcde1749b6fea32 (diff) | |
Accent works
Diffstat (limited to 'src/components/style_switcher/style_switcher.vue')
| -rw-r--r-- | src/components/style_switcher/style_switcher.vue | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue index ad032041..8bbdc7b7 100644 --- a/src/components/style_switcher/style_switcher.vue +++ b/src/components/style_switcher/style_switcher.vue @@ -115,8 +115,17 @@ /> <ContrastRatio :contrast="previewContrast.bgText" /> <ColorInput + v-model="accentColorLocal" + name="accentColor" + :fallback="previewTheme.colors.link" + :showOptionalTickbox="typeof linkColorLocal !== 'undefined'" + :label="$t('settings.accent')" + /> + <ColorInput v-model="linkColorLocal" name="linkColor" + :fallback="previewTheme.colors.accent" + :showOptionalTickbox="typeof accentColorLocal !== 'undefined'" :label="$t('settings.links')" /> <ContrastRatio :contrast="previewContrast.bgLink" /> @@ -336,7 +345,7 @@ <ColorInput v-model="faintColorLocal" name="faintColor" - :fallback="previewTheme.colors.faint || 1" + :fallback="previewTheme.colors.faint" :label="$t('settings.text')" /> <ColorInput |
