Skip to content

Commit 7f1ef78

Browse files
alcpereiradannyhw
andauthored
chore: ui improvements (#674)
Co-authored-by: Daniel Williams <[email protected]>
1 parent 2d73f40 commit 7f1ef78

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/react-native-ui/src/Layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const Nav = styled.View({
289289
justifyContent: 'space-between',
290290
width: '100%',
291291
height: 40,
292-
paddingHorizontal: 12,
292+
paddingHorizontal: 6,
293293
});
294294

295295
const Container = styled.View(({ theme }) => ({

packages/react-native-ui/src/Search.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const Input = styled(TextInput)(({ theme }) => ({
7979
borderWidth: 1,
8080
borderColor: theme.appBorderColor,
8181
backgroundColor: 'transparent',
82-
borderRadius: 4,
82+
borderRadius: 6,
8383
fontSize: theme.typography.size.s1 + 1,
8484
color: theme.color.defaultText,
8585
width: '100%',

packages/react-native-ui/src/TreeNode.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const LeafNode = styled.TouchableOpacity<{ depth?: number; selected?: boolean }>
7474
const LeafNodeText = styled.Text<{ depth?: number; selected?: boolean }>(({ theme, selected }) => ({
7575
fontSize: theme.typography.size.s2,
7676
flexShrink: 1,
77+
fontWeight: selected ? 'bold' : 'normal',
7778
color: selected ? theme.color.lightest : theme.color.defaultText,
7879
}));
7980

0 commit comments

Comments
 (0)