From a9a1fc37f546840f3d0fbaed493b131cb9c60669 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 12 Jan 2020 04:00:41 +0200 Subject: fixes, cleanup --- src/components/style_switcher/style_switcher.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/components/style_switcher') 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' -- cgit v1.2.3-70-g09d2