@hoddy-ui/core 2.5.46 → 2.5.47

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.
package/next/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoddy-ui/next",
3
- "version": "2.5.76",
3
+ "version": "2.5.77",
4
4
  "description": "Core rich react native components written in typescript, with support for expo-router",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoddy-ui/core",
3
- "version": "2.5.46",
3
+ "version": "2.5.47",
4
4
  "description": "Core rich react native components written in typescript",
5
5
  "main": "index.ts",
6
6
  "repository": {
@@ -45,7 +45,7 @@ const Typography: React.FC<TypographyProps> = forwardRef(
45
45
  // Get font size: prop > config > default, then apply ms() scaling
46
46
  const baseFontSize =
47
47
  customFontSizes?.[variant] ?? DEFAULT_FONT_SIZES[variant];
48
- const f = fontSize || baseFontSize;
48
+ const f = fontSize || (style as any)?.fontSize || baseFontSize;
49
49
  const lh = lineHeight || f * 1.2;
50
50
  const styles: any = StyleSheet.create({
51
51
  text: {