code.twelvefourseven.net

Debugging CSS

Published on: 2026-02-21

const root = document.documentElement;
const styles = window.getComputedStyle(root);
const myVar = styles.getPropertyValue("--myVar");