Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sonofmagic/weapp-tailwindcss
/ em
Function
em
packages-runtime/typography/src/styles.js:18–18 ·
view source on GitHub ↗
(px, base)
Source
from the content-addressed store, hash-verified
16
}
17
const
rem = px => `${round(px / 16)}rem`
18
const
em = (px, base) => `${round(px / base)}em`
19
const
HEX_CHAR_DOUBLE_RE = /./g
20
21
function
hexToRgb(hex) {
Callers
1
styles.js
File · 0.85
Calls
1
round
Function · 0.70
Tested by
no test coverage detected