aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-23 22:26:49 +0200
committerHenry Jameson <me@hjkos.com>2020-01-23 22:26:49 +0200
commitc752f56d0b7711e9a815468a19e440363a6dcf02 (patch)
treef5813bdf1249891a10ed08ea0227cfd2efc17dde /src/components/style_switcher/style_switcher.js
parenta69723badf45a62cb9f6e0adc09b49ff10c9eaac (diff)
v l1 compatibility
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
-rw-r--r--src/components/style_switcher/style_switcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js
index 59ec1bf5..14da4f80 100644
--- a/src/components/style_switcher/style_switcher.js
+++ b/src/components/style_switcher/style_switcher.js
@@ -590,7 +590,7 @@ export default {
const shadows = input.shadows || {}
const fonts = input.fonts || {}
const colors = !input.themeEngineVersion
- ? colors2to3(input.colors)
+ ? colors2to3(input.colors || input)
: input.colors || input
if (version === 0) {