3 ms·
Variables are ultimately used somewhere to set a property, with something like color: var(--primary-color); If care about that property, and not the varia
by spankalee 11y ago
Variables are ultimately used somewhere to set a property, with something like
color: var(--primary-color);
If care about that property, and not the variable, then get it as usual:
let value = styles['color']; // 'red'