replace hsl's l with relative luminance for better lightness detection
This commit is contained in:
parent
88f83fc9fa
commit
39dd08e694
4 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue