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