aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-12 04:00:41 +0200
committerHenry Jameson <me@hjkos.com>2020-01-12 04:00:41 +0200
commita9a1fc37f546840f3d0fbaed493b131cb9c60669 (patch)
tree928d35076d456c4ca4eca796e6bcffb41cec162d /src/components/style_switcher/style_switcher.js
parentf31ed7e5a8a9248886837311d7407b01164724c1 (diff)
fixes, cleanup
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
-rw-r--r--src/components/style_switcher/style_switcher.js13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js
index f751260a..4749d3f7 100644
--- a/src/components/style_switcher/style_switcher.js
+++ b/src/components/style_switcher/style_switcher.js
@@ -1,15 +1,20 @@
-import { rgb2hex, hex2rgb, getContrastRatio, getContrastRatioLayers, alphaBlend } from '../../services/color_convert/color_convert.js'
import { set, delete as del } from 'vue'
-import { merge } from 'lodash'
+import {
+ rgb2hex,
+ hex2rgb,
+ getContrastRatio,
+ getContrastRatioLayers,
+ alphaBlend
+} from '../../services/color_convert/color_convert.js'
import {
generateColors,
generateShadows,
generateRadii,
generateFonts,
composePreset,
- getThemes,
- CURRENT_VERSION
+ getThemes
} from '../../services/style_setter/style_setter.js'
+import { CURRENT_VERSION } from '../../services/theme_data/theme_data.service.js'
import ColorInput from '../color_input/color_input.vue'
import RangeInput from '../range_input/range_input.vue'
import OpacityInput from '../opacity_input/opacity_input.vue'