nvrsion: Add corner radius and size adjustment to the active tab bar indicator in AdaptiveRootView.swift.

Nucleic-Promote: 1
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 00:14:09 -07:00
co-authored by Nucleic
parent 33550ec23b
commit 09d40b6cf6
@@ -195,7 +195,7 @@ struct NucleicTabBar: View {
} }
} }
.padding(.horizontal, 6) .padding(.horizontal, 6)
.padding(.vertical, 8) .padding(.vertical, 5)
.glassBar() .glassBar()
// Drive the bubble's slide (and the label/tint crossfade) off the selection itself, so any // Drive the bubble's slide (and the label/tint crossfade) off the selection itself, so any
// change — tap here or a programmatic jump from a notification — springs across. // change — tap here or a programmatic jump from a notification — springs across.
@@ -227,7 +227,7 @@ struct NucleicTabBar: View {
} }
.foregroundStyle(selected ? Palette.accent : Color.secondary) .foregroundStyle(selected ? Palette.accent : Color.secondary)
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
.padding(.vertical, 4) .padding(.vertical, 8)
// The selected item rides a soft accent-tinted capsule that slides between tabs — only // The selected item rides a soft accent-tinted capsule that slides between tabs — only
// the selected item mounts it, and the shared `bubble` geometry makes the single capsule // the selected item mounts it, and the shared `bubble` geometry makes the single capsule
// travel to the new tab, echoing the system floating bar's highlighted-tab indicator. // travel to the new tab, echoing the system floating bar's highlighted-tab indicator.