mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Update dependency element-hq/compound-design-tokens to v6.10.1 (#5123)
* Update dependency element-hq/compound-design-tokens to v6.10.0 * Further Compound updates. The gradients have been simplified and are now opaque. * Missed snapshots. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
@@ -133,9 +133,7 @@ struct RoomScreen: View {
|
||||
.padding(.top, 16)
|
||||
.padding(.horizontal, 16)
|
||||
.padding(.bottom, 12)
|
||||
.highlight(gradient: .compound.info,
|
||||
borderColor: .compound.borderInfoSubtle,
|
||||
backgroundColor: .compound.bgCanvasDefault)
|
||||
.highlight(gradient: .compound.info, borderColor: .compound.borderInfoSubtle)
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
|
||||
@@ -30,7 +30,7 @@ struct RoomScreenFooterView: View {
|
||||
case .pinViolation:
|
||||
.compound.info
|
||||
case .verificationViolation:
|
||||
Gradient(colors: [.compound.bgCriticalSubtle, .clear])
|
||||
.compound.critical
|
||||
case .none:
|
||||
Gradient(colors: [.clear])
|
||||
}
|
||||
@@ -39,9 +39,7 @@ struct RoomScreenFooterView: View {
|
||||
var body: some View {
|
||||
if let details {
|
||||
detailsView(details)
|
||||
.highlight(gradient: gradient,
|
||||
borderColor: borderColor,
|
||||
backgroundColor: .compound.bgCanvasDefault)
|
||||
.highlight(gradient: gradient, borderColor: borderColor)
|
||||
.padding(.top, 8)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user