Skip to content

Commit 06f8ddf

Browse files
JulienMailleactions-user
authored andcommitted
WIP: light/dark moved to settings
1 parent db0bc01 commit 06f8ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

default-dynamic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function setLightness(hex, lightness) {
106106

107107
let textColor = "#1db954";
108108
let textColorBg = getComputedStyle(document.documentElement).getPropertyValue("--spice-main");
109-
let settingsDark = getComputedStyle(document.documentElement).getPropertyValue("--spice-dark");
109+
let settingsDark = getComputedStyle(document.documentElement).getPropertyValue("--spice-dark") == "#010101";
110110

111111
function setRootColor(name, colHex) {
112112
let root = document.documentElement;

0 commit comments

Comments
 (0)