From ab60513911313b275ead9f25c08b4800f503af20 Mon Sep 17 00:00:00 2001 From: gibbyb Date: Wed, 5 Mar 2025 09:41:10 -0600 Subject: [PATCH] Add changes to themed components made from tt --- assets/fonts/SpaceMono-Regular.ttf | Bin components/theme/inputs/ThemedTextInput.tsx | 14 ++++++++++++-- scripts/reset-project.js | 0 3 files changed, 12 insertions(+), 2 deletions(-) mode change 100644 => 100755 assets/fonts/SpaceMono-Regular.ttf mode change 100644 => 100755 scripts/reset-project.js diff --git a/assets/fonts/SpaceMono-Regular.ttf b/assets/fonts/SpaceMono-Regular.ttf old mode 100644 new mode 100755 diff --git a/components/theme/inputs/ThemedTextInput.tsx b/components/theme/inputs/ThemedTextInput.tsx index 090a216..6e656bb 100644 --- a/components/theme/inputs/ThemedTextInput.tsx +++ b/components/theme/inputs/ThemedTextInput.tsx @@ -10,12 +10,14 @@ const DEFAULT_HEIGHT = 50; type ThemedTextInputProps = TextInputProps & { width?: DimensionValue; height?: DimensionValue; + fontSize?: number; containerStyle?: object; }; const ThemedTextInput: React.FC = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, + fontSize = 16, containerStyle, style, ...restProps @@ -23,13 +25,21 @@ const ThemedTextInput: React.FC = ({ const scheme = useColorScheme() ?? 'dark'; return ( - +