Files
mission-control-ui/node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
2026-03-27 18:36:05 +00:00

12 lines
329 B
JavaScript

import { isCSSVar } from './is-css-var.mjs';
function getComputedStyle(element, name) {
const computedStyle = window.getComputedStyle(element);
return isCSSVar(name)
? computedStyle.getPropertyValue(name)
: computedStyle[name];
}
export { getComputedStyle };
//# sourceMappingURL=style-computed.mjs.map