remove old useless code
This commit is contained in:
parent
0689aa1f87
commit
c6a12a73d1
1 changed files with 0 additions and 7 deletions
|
@ -339,13 +339,6 @@ function updateSvgs(oklch: Color.Colors, rgb: Color.Rgbs) {
|
||||||
if (elem = get(`s-${layer}`)) elem.style.setProperty('--col', col);
|
if (elem = get(`s-${layer}`)) elem.style.setProperty('--col', col);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const showuiObj = document.getElementById('showui') as HTMLObjectElement;
|
|
||||||
const showui = showuiObj.contentDocument as XMLDocument | null;
|
|
||||||
|
|
||||||
if (showui) {
|
|
||||||
showui.documentElement.style.setProperty('--hue', `${oklch.outer.h}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue