Skip to content

Commit 2dd7e52

Browse files
refactor(native): read the default font size from DEFAULT_REM
1 parent 5975b25 commit 2dd7e52

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/native/styles/defaults.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* eslint-disable */
2+
import { DEFAULT_REM } from "react-native-css/utilities";
3+
24
export const transformKeys = new Set([
35
"translate",
46
"translateX",
@@ -38,7 +40,7 @@ export const defaultValues: Record<string, any> = {
3840
flexBasis: 1,
3941
flexGrow: 1,
4042
flexShrink: 0,
41-
fontSize: 14,
43+
fontSize: DEFAULT_REM,
4244
fontWeight: "400",
4345
gap: 0,
4446
left: 0,

0 commit comments

Comments
 (0)