Files
SnowLuma/.pnpm-store/v11/files/f7/44e012fce0b29b9afebf79e201dad9b1c2dd1fa8eb744b1f0fa6199189f55658d2dae19ddcf50a83dbb18eebc3ab61b5981e17f685298cf55bd8c0fb9372a9
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
329 B
Plaintext

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