SIGN IN SIGN UP

fix: use :root font-size as compile-time rem base (#315)

When no explicit inlineRem option is passed, the compiler now scans CSS
for :root { font-size: Npx } and uses that value as the rem multiplier
instead of hardcoding 14. This makes the documented v5 approach for
overriding rem actually work.

Closes nativewind/nativewind#1650
D
dan committed
7622a389df0a30911854575c5eceb13394c64491
Parent: ba01ca5
Committed by GitHub <noreply@github.com> on 3/31/2026, 11:25:49 PM