diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-12 17:58:26 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-12 17:58:26 +0200 |
| commit | 39dd08e69423722a172bcc3cec3791ae172a8175 (patch) | |
| tree | 5e1135978ae4350889e256b4be971cffdd027dfe /src/components/style_switcher/style_switcher.js | |
| parent | 88f83fc9fa3652efdbe6aa622d3e0089883e8057 (diff) | |
replace hsl's l with relative luminance for better lightness detection
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
