colours: better on colour for dark mode
This commit is contained in:
parent
f4ffaf9d71
commit
6e32b171d8
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ Singleton {
|
||||||
function on(c: color): color {
|
function on(c: color): color {
|
||||||
if (c.hslLightness < 0.5)
|
if (c.hslLightness < 0.5)
|
||||||
return Qt.hsla(c.hslHue, c.hslSaturation, 0.9, 1);
|
return Qt.hsla(c.hslHue, c.hslSaturation, 0.9, 1);
|
||||||
return Qt.hsla(c.hslHue, c.hslSaturation, 0.2, 1);
|
return Qt.hsla(c.hslHue, c.hslSaturation, 0.1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load(data: string, isPreview: bool): void {
|
function load(data: string, isPreview: bool): void {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue