mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-23 12:38:29 +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);
|
|
};
|