DEV Community

Discussion on: Bringing Order to Web Design Chaos (with Web Components)

Collapse
 
equinusocio profile image
Mattia Astorino • Edited

I understand. Anyway you can read custom property value with js from the element computed style with .getPropertyValue('--foo-bar'). Or set it with setProperty()