diff --git a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift index 8e0372b..d570c27 100644 --- a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift +++ b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift @@ -84,10 +84,11 @@ struct BuildInfo { } /// Header strip warning that this is a non-release build — the same channel colors, icons, -/// and copy as the Mac's `BuildBanner`: red for local builds, canary-yellow for canary, blue -/// for beta, gold for a release candidate. The leading edge names the channel; the build -/// label and an all-caps "EXPERIMENTAL" badge sit on the trailing edge. Renders nothing for -/// a shipping App Store release. +/// and copy as the Mac's `BuildBanner`. The strip stays untinted; the channel color rides on +/// the all-caps "EXPERIMENTAL" pill instead: red for local builds, canary-yellow for canary, +/// blue for beta, gold for a release candidate. The leading edge names the channel; the build +/// label and the pill sit on the trailing edge. Renders nothing for a shipping App Store +/// release. struct BuildBanner: View { var info: BuildInfo = .current @@ -106,15 +107,15 @@ struct BuildBanner: View { Text("EXPERIMENTAL") .font(.caption2.weight(.heavy)) .tracking(0.9) + .foregroundStyle(.white) .padding(.horizontal, 6) .padding(.vertical, 2) - .background(.white.opacity(0.16), in: .capsule) + .background(style.tint, in: .capsule) } - .foregroundStyle(.white.opacity(0.92)) + .foregroundStyle(.primary) .padding(.horizontal, 12) .padding(.vertical, 5) .frame(maxWidth: .infinity) - .background(style.tint.opacity(0.5)) .accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel)) } }