const getStyle = (el, ruleName) => getComputedStyle(el)[ruleName];