mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 05:54:10 +03:00
4 lines
144 B
TypeScript
4 lines
144 B
TypeScript
export const convertRemToPixels = (rem: number): number => {
|
|
return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
};
|