@kbach/react-native 1.0.0-beta.51 → 1.0.0-beta.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,13 +10,13 @@ import {
10
10
  subscribeDynamicTokens,
11
11
  subscribeGlobalDarkMode,
12
12
  toggleGlobalDarkMode
13
- } from "./chunk-KHQ2BWYH.mjs";
13
+ } from "./chunk-23JJORPW.mjs";
14
14
  import {
15
15
  defaultTheme,
16
16
  getTheme,
17
17
  resolveClassName,
18
18
  setTheme
19
- } from "./chunk-IJAXJVB4.mjs";
19
+ } from "./chunk-Z5Q3FGXR.mjs";
20
20
 
21
21
  // src/config.ts
22
22
  function parseHexRgb(hex) {
@@ -2002,6 +2002,8 @@ function resolveTextNative(parsed, theme) {
2002
2002
  if (size !== null) return [decl("font-size", size)];
2003
2003
  const align = textAlign(parsed.value);
2004
2004
  if (align !== null) return [decl("text-align", align)];
2005
+ } else if (parsed.isArbitrary && parsed.value !== null && looksLikeLength(parsed.value)) {
2006
+ return [decl("font-size", parsed.value)];
2005
2007
  }
2006
2008
  const hex = nativeHexColor(parsed, theme);
2007
2009
  return hex === null ? null : [decl("color", hex)];