Skip to content

Commit fff44fd

Browse files
committed
fix: update Icon components to use 'solid-rounded' variant for consistency
1 parent 379f302 commit fff44fd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/components/Search.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function Search({ onChangeText, value, ...all }: TextInputProps)
2727
className='w-full flex-row items-center justify-center overflow-hidden bg-zinc-100 pl-3.5 dark:bg-zinc-900'
2828
style={{ borderRadius: 14 }}
2929
>
30-
<Search01Icon size={17} color={scheme === 'dark' ? Colors.zinc[500] : Colors.zinc[400]} />
30+
<Search01Icon size={17} color={scheme === 'dark' ? Colors.zinc[500] : Colors.zinc[400]} variant='stroke-rounded' strokeWidth={2.5}/>
3131
<TextInput
3232
ref={ref}
3333
className='flex-1 p-3 text-zinc-800 dark:text-zinc-200'
@@ -42,7 +42,7 @@ export default function Search({ onChangeText, value, ...all }: TextInputProps)
4242
/>
4343
<Animated.View style={animatedStyle}>
4444
<TouchableOpacity className='py-2.5 pl-1 pr-3' activeOpacity={1} onPress={clearText}>
45-
<CancelCircleIcon color={scheme === 'dark' ? Colors.zinc[600] : Colors.zinc[400]} size={20} />
45+
<CancelCircleIcon color={scheme === 'dark' ? Colors.zinc[600] : Colors.zinc[400]} size={20} variant='solid-rounded'/>
4646
</TouchableOpacity>
4747
</Animated.View>
4848
</View>

src/screens/Weather/Main/components/DailyForecast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function DailyWeather({ d, day, currentUnit, min, max, dotPosition, theme }: Dai
123123
{day}
124124
</Medium>
125125
<View className='w-1/6 flex-row items-center'>
126-
<Icon size={21} color={color.color} style={{ marginRight: 10 }} />
126+
<Icon size={21} color={color.color} style={{ marginRight: 10 }} variant='solid-rounded' />
127127
<Medium
128128
className='text-center text-sky-500'
129129
style={{ display: probability ? 'flex' : 'none', fontSize: 10.5 }}

src/screens/Weather/Main/components/HourlyForecast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function SmallWeather({ color, time, ap, temp, Icon, style, probability, ...rest
9595
{temp}
9696
</Medium>
9797
<View>
98-
<Icon size={22} color={color.color} />
98+
<Icon size={22} color={color.color} variant='solid-rounded' />
9999
{
100100
<SemiBold className='text-center text-sky-500' style={{ opacity: probability ? 1 : 0, fontSize: 9 }}>
101101
{probability}%

src/screens/Weather/Main/components/WeatherLabel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function WeatherLabel({ color, label: title, Icon }: WeatherHeade
1515
return (
1616
<View>
1717
<View className='flex-row gap-2 px-4 py-3 pb-0.5'>
18-
<Icon size={15} color={color.color} style={{ opacity: 0.6 }} />
18+
<Icon size={15} color={color.color} style={{ opacity: 0.6 }} variant='solid-rounded'/>
1919
<Medium style={[color, F.F10_5]} className='uppercase opacity-60'>
2020
{title}
2121
</Medium>

src/screens/Weather/Widget/WeatherWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const WeatherWidget = ({ navigation }: { navigation: StackNav }) => {
9797
</Regular>
9898
</View>
9999
<View>
100-
<Icon size={25} color={color.color} />
100+
<Icon size={25} color={color.color} variant='solid-rounded' />
101101
<Medium style={[color, F.F11]} className='mt-0.5 capitalize'>
102102
{w ? w.current?.weather?.[0]!.description : '__'}
103103
</Medium>

0 commit comments

Comments
 (0)