From 39dd08e69423722a172bcc3cec3791ae172a8175 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 12 Jan 2020 17:58:26 +0200 Subject: replace hsl's l with relative luminance for better lightness detection --- src/components/style_switcher/style_switcher.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 9c6f3266..49b34405 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -2,9 +2,7 @@ import { set, delete as del } from 'vue' import { rgb2hex, hex2rgb, - getContrastRatio, - getContrastRatioLayers, - alphaBlend + getContrastRatioLayers } from '../../services/color_convert/color_convert.js' import { generateColors, @@ -265,7 +263,6 @@ export default { const theme = this.previewTheme - console.log(source) return { // To separate from other random JSON files and possible future source formats _pleroma_theme_version: 2, theme, source -- cgit v1.2.3-70-g09d2