Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>

This commit is contained in:
Matt Bruce 2026-01-25 17:22:17 -06:00
parent 5739e81044
commit 2c5ee7490c
3 changed files with 3 additions and 8 deletions

View File

@ -9,9 +9,9 @@ enum RitualsOnboardingTag: SherpaTags {
func makeCallout() -> Callout { func makeCallout() -> Callout {
switch self { switch self {
case .focusRitual: case .focusRitual:
return .text(String(localized: "Your focus ritual lives here")) return .text(String(localized: "Your focus ritual lives here"), edge: .bottom)
case .firstHabit: case .firstHabit:
return .text(String(localized: "Tap a habit to check in"), edge: .bottom) return .text(String(localized: "Tap a habit to check in"), edge: .top)
case .tabBar: case .tabBar:
return .text(String(localized: "Switch tabs to explore rituals and insights"), edge: .top) return .text(String(localized: "Switch tabs to explore rituals and insights"), edge: .top)
} }

View File

@ -35,17 +35,13 @@ struct RootView: View {
} }
.tint(AppAccent.primary) .tint(AppAccent.primary)
.background(AppSurface.primary.ignoresSafeArea()) .background(AppSurface.primary.ignoresSafeArea())
.sherpaTabBarTag(RitualsOnboardingTag.tabBar)
.sherpa( .sherpa(
isActive: !hasCompletedOnboarding, isActive: !hasCompletedOnboarding,
tags: RitualsOnboardingTag.self, tags: RitualsOnboardingTag.self,
delegate: self, delegate: self,
startDelay: Bedrock.Design.Animation.standard startDelay: Bedrock.Design.Animation.standard
) )
.sherpaExtensionTag(
RitualsOnboardingTag.tabBar,
edge: .bottom,
size: AppMetrics.Size.tabBarHighlightHeight
)
} }
} }

View File

@ -8,7 +8,6 @@ enum AppMetrics {
static let progressRing: CGFloat = 72 static let progressRing: CGFloat = 72
static let buttonHeight: CGFloat = 46 static let buttonHeight: CGFloat = 46
static let insightCardMinWidth: CGFloat = 160 static let insightCardMinWidth: CGFloat = 160
static let tabBarHighlightHeight: CGFloat = 120
} }
enum Shadow { enum Shadow {