ref(theme): revert spacing to number and not rem.

There are still many places where theme.spacing is expected to be number. Reverting parts of 057dc0e4d2 .
This commit is contained in:
Hristo Terezov
2025-05-09 12:18:41 -05:00
parent f2babbf994
commit 3d5c08d86f
4 changed files with 4 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ export function createNativeTheme({ font, colorMap, shape, spacing, typography }
...DefaultTheme,
palette: createColorTokens(colorMap),
shape,
spacing: spacing.map(remToPixels),
spacing,
typography: {
font,
...convertRemValues(typography)