mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
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:
+3
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user