Fix #3204: Color Orb glow does not update for non-hex CSS colors (#3205)

Removed background and boxShadow styles from orb on color event.
This commit is contained in:
Fabrizio Lussana
2026-09-17 11:40:22 +10:00
committed by GitHub
parent 81f12a7f64
commit 23618867f1
-2
View File
@@ -261,8 +261,6 @@ function getHTML() {
es.addEventListener('color', (e) => {
const { color } = JSON.parse(e.data);
orb.style.setProperty('--orb-color', color);
orb.style.background = color;
orb.style.boxShadow = '0 0 60px ' + color + ', 0 0 120px ' + color + '66';
});
es.addEventListener('log', (e) => {
const { entries } = JSON.parse(e.data);