feat: add plane docs to turbo

This commit is contained in:
pablohashescobar 2022-12-22 00:33:32 +05:30
parent 9539fca585
commit 18ff810a14
75 changed files with 8856 additions and 17 deletions

View file

@ -0,0 +1,8 @@
export function remToPx(remValue) {
let rootFontSize =
typeof window === 'undefined'
? 16
: parseFloat(window.getComputedStyle(document.documentElement).fontSize)
return parseFloat(remValue) * rootFontSize
}