Update and enable the new bloom style on the home screen. (#4291)

* Update Compound

* Adopt the new accent colour (and gradient) tokens.
This commit is contained in:
Doug
2025-07-07 11:23:03 +01:00
committed by GitHub
parent cca1e12b45
commit 030a9bfbef
139 changed files with 335 additions and 470 deletions
@@ -23,15 +23,15 @@ private struct HighlightedTimelineItemModifier: ViewModifier {
.background {
if isHighlighted {
VStack(spacing: 0) {
Color.compound._bgBubbleHighlighted
LinearGradient(colors: [.compound._bgBubbleHighlighted, .clear],
Color.compound.gradientSubtleStop1
LinearGradient(gradient: .compound.subtle,
startPoint: .top,
endPoint: .bottom)
.frame(maxHeight: 200)
.layoutPriority(1)
}
.overlay(alignment: .top) {
Color.compound.bgAccentRest
Color.compound.borderAccentSubtle
.frame(height: 1)
}
}
@@ -46,7 +46,7 @@ struct TimelineStartRoomTimelineView: View {
.padding(.top, 16)
.padding(.bottom, 8)
.padding(.horizontal, 16)
.highlight(borderColor: .compound.borderInfoSubtle, primaryColor: .compound.bgInfoSubtle, secondaryColor: Color.clear)
.highlight(gradient: .compound.info, borderColor: .compound.borderInfoSubtle)
}
private var title: String {