From e5a34870f0f7154712783fb6d9c20edf4c06ad35 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 28 Dec 2019 15:55:42 +0200 Subject: [PATCH] Accent works --- src/App.scss | 2 +- src/components/color_input/color_input.vue | 42 +++++++++++++++++-- .../sticker_picker/sticker_picker.vue | 2 +- .../style_switcher/style_switcher.js | 5 ++- .../style_switcher/style_switcher.vue | 11 ++++- src/i18n/en.json | 1 + src/services/style_setter/style_setter.js | 13 +++++- static/themes/breezy-dark.json | 2 +- static/themes/breezy-light.json | 2 +- 9 files changed, 68 insertions(+), 12 deletions(-) diff --git a/src/App.scss b/src/App.scss index 754ca62e6b..3b03a76197 100644 --- a/src/App.scss +++ b/src/App.scss @@ -198,7 +198,7 @@ input, textarea, .select { &:checked + label::before { box-shadow: 0px 0px 2px black inset, 0px 0px 0px 4px $fallback--fg inset; box-shadow: var(--inputShadow), 0px 0px 0px 4px var(--fg, $fallback--fg) inset; - background-color: var(--link, $fallback--link); + background-color: var(--accent, $fallback--link); } &:disabled { &, diff --git a/src/components/color_input/color_input.vue b/src/components/color_input/color_input.vue index 9db62e8188..fa26d07956 100644 --- a/src/components/color_input/color_input.vue +++ b/src/components/color_input/color_input.vue @@ -18,7 +18,7 @@ @input="$emit('input', typeof value === 'undefined' ? fallback : undefined)" >