Update EXPERIMENTAL Pill Colors
Nucleic-Session: F6358035-01F2-46A1-83D9-B26FE40148BF Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -113,13 +113,10 @@ struct BuildBanner: View {
|
|||||||
.foregroundStyle(.white.opacity(0.92))
|
.foregroundStyle(.white.opacity(0.92))
|
||||||
.padding(.horizontal, 12)
|
.padding(.horizontal, 12)
|
||||||
.padding(.vertical, 3)
|
.padding(.vertical, 3)
|
||||||
// The channel-colored stripe wraps only this row of content — channel name, build
|
|
||||||
// label, and the EXPERIMENTAL pill — instead of bleeding across the full window
|
|
||||||
// header, then sits at the leading edge with a little breathing room around it.
|
|
||||||
.background(style.tint.opacity(0.9), in: .rect(cornerRadius: 8))
|
|
||||||
.padding(.horizontal, 12)
|
|
||||||
.padding(.vertical, 4)
|
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
// The channel-colored stripe spans the full width, with the content (channel name,
|
||||||
|
// build label, and the EXPERIMENTAL pill) held at the leading edge.
|
||||||
|
.background(style.tint.opacity(0.9))
|
||||||
.accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel))
|
.accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user