Update EXPERIMENTAL Pill Colors
Nucleic-Session: F6358035-01F2-46A1-83D9-B26FE40148BF Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -114,8 +114,11 @@ struct BuildBanner: View {
|
|||||||
.padding(.vertical, 3)
|
.padding(.vertical, 3)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
// The channel-colored stripe spans the full width, with the content (channel name,
|
// The channel-colored stripe spans the full width, with the content (channel name,
|
||||||
// build label, and the EXPERIMENTAL pill) held at the leading edge.
|
// build label, and the EXPERIMENTAL pill) held at the leading edge. Its height is
|
||||||
|
// just the row of text plus padding; the trailing vertical padding is transparent
|
||||||
|
// margin that keeps the stripe from filling the header's full height.
|
||||||
.background(style.tint.opacity(0.9))
|
.background(style.tint.opacity(0.9))
|
||||||
|
.padding(.vertical, 4)
|
||||||
.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