remove old useless code

This commit is contained in:
Rhiannon Morris 2024-12-15 04:06:53 +01:00
parent 0689aa1f87
commit c6a12a73d1

View file

@ -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}`);
}
} }