Skip to content

Commit 9d84ac0

Browse files
committed
style(ui): update bottom tab bar to use true iOS Liquid Glass
Changes the expo-blur tint to 'systemChromeMaterialLight'/'systemChromeMaterialDark' and removes the opaque background color overlays, switching from a frosted look to a true native iOS Liquid Glass look.
1 parent 09b1596 commit 9d84ac0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/src/components/sentri-ui.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export function CapsuleTabBar({ activeTab, onTabChange, onSentriPress, tone = 'l
6060
return (<View style={styles.tabWrap} pointerEvents="box-none">
6161
<View style={styles.tabBarContainer} pointerEvents="box-none">
6262
<BlurView
63-
intensity={80}
64-
tint={dark ? 'dark' : 'light'}
63+
intensity={100}
64+
tint={dark ? 'systemChromeMaterialDark' : 'systemChromeMaterialLight'}
6565
experimentalBlurMethod="dimezisBlurView"
6666
style={[StyleSheet.absoluteFill, styles.tabBarBg, dark ? styles.tabBarBgDark : styles.tabBarBgLight]}
6767
/>
@@ -380,11 +380,11 @@ const styles = StyleSheet.create({
380380
borderWidth: 1,
381381
},
382382
tabBarBgLight: {
383-
backgroundColor: 'rgba(255, 255, 255, 0.45)',
384-
borderColor: 'rgba(255, 255, 255, 0.3)',
383+
backgroundColor: 'transparent',
384+
borderColor: 'rgba(0, 0, 0, 0.1)',
385385
},
386386
tabBarBgDark: {
387-
backgroundColor: 'rgba(28, 28, 30, 0.45)',
387+
backgroundColor: 'transparent',
388388
borderColor: 'rgba(255, 255, 255, 0.1)',
389389
},
390390
tabBarContent: {

0 commit comments

Comments
 (0)