fix: increase glow color lightening from 40 to 80 in sandbox CSS variable function

This commit is contained in:
2025-05-18 23:28:22 +00:00
parent 4a2ac81809
commit cfbb28a562
+1 -1
View File
@@ -39,7 +39,7 @@ function glowCSSVariable(varName, glowColor, duration = 500) {
const root = document.documentElement;
//igetComputedStyle(root).getPropertyValue(varName).trim();
glowColor = lightenColor(glowColor, 40);
glowColor = lightenColor(glowColor, 80);
root.style.setProperty(varName, glowColor);
setTimeout(() => {
root.style.setProperty(varName, originalColor);