aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-12-02 10:22:25 +0300
committerHenry Jameson <me@hjkos.com>2018-12-02 10:22:25 +0300
commit80c0745558cd5dc69364bc19ee5dc1b8b3ddc3e2 (patch)
tree8b8784484e547bc86df659c5c23f0ebe4ca388c0 /src/components/style_switcher/style_switcher.js
parent67ca21b2e6c5f76d1db3e7cfdd1c0ef019156172 (diff)
some more themes, fixes
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
-rw-r--r--src/components/style_switcher/style_switcher.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js
index ccdb4c4f..d09185fa 100644
--- a/src/components/style_switcher/style_switcher.js
+++ b/src/components/style_switcher/style_switcher.js
@@ -497,10 +497,9 @@ export default {
this.textColorLocal = rgb2hex(colors.fg)
}
+ this.clearV1()
const keys = new Set(version !== 1 ? Object.keys(colors) : [])
if (version === 1 || version === 'l1') {
- // V1 ignores the rest
- this.clearV1()
keys
.add('bg')
.add('link')