diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-05 16:12:06 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-05 16:12:06 -0500 |
commit | ff9161d8e70fc2e6d066fd045bd2a380c63cb46c (patch) | |
tree | d21be07f1f54c4df8dbef152788359cbb9ba1315 /src/view/lib/icons.tsx | |
parent | 5d6ab1f5485ab419e2c2155d91a9585bea8ff219 (diff) | |
download | voidsky-ff9161d8e70fc2e6d066fd045bd2a380c63cb46c.tar.zst |
Sizing and spacing fixes based on on-device testing
Diffstat (limited to 'src/view/lib/icons.tsx')
-rw-r--r-- | src/view/lib/icons.tsx | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/view/lib/icons.tsx b/src/view/lib/icons.tsx index 8cc40a73e..bf4d242f0 100644 --- a/src/view/lib/icons.tsx +++ b/src/view/lib/icons.tsx @@ -31,12 +31,18 @@ export function GridIcon({style}: {style?: StyleProp<ViewStyle>}) { ) } -export function HomeIcon({style}: {style?: StyleProp<ViewStyle>}) { +export function HomeIcon({ + style, + size, +}: { + style?: StyleProp<ViewStyle> + size?: string | number +}) { return ( <Svg viewBox="0 0 48 48" - width="24" - height="24" + width={size || 24} + height={size || 24} stroke="currentColor" style={style}> <Path @@ -73,14 +79,20 @@ export function BellIcon({ // Copyright (c) 2020 Refactoring UI Inc. // https://github.com/tailwindlabs/heroicons/blob/master/LICENSE -export function UserGroupIcon({style}: {style?: StyleProp<ViewStyle>}) { +export function UserGroupIcon({ + style, + size, +}: { + style?: StyleProp<ViewStyle> + size?: string | number +}) { return ( <Svg fill="none" viewBox="0 0 24 24" - width="32" - height="32" - strokeWidth={1.5} + width={size || 32} + height={size || 32} + strokeWidth={2} stroke="currentColor" style={style}> <Path |