A couple of fixes to match the Figma more closely.

This commit is contained in:
Doug
2026-05-27 11:19:20 +01:00
committed by Stefan Ceriu
parent bf1d84bf5e
commit e0b7f1b3fa
50 changed files with 127 additions and 127 deletions
@@ -37,7 +37,7 @@ struct CollapsibleRoomTimelineView: View {
isExpanded.toggle()
}
} label: {
HStack(alignment: .center, spacing: 8) {
HStack(alignment: .center, spacing: 4) {
Text(L10n.screenRoomTimelineStateChanges(timelineItem.items.count))
.font(.compound.bodySM)
CompoundIcon(\.chevronRight, size: .small, relativeTo: .compound.bodySM)
@@ -63,14 +63,20 @@ struct VideoRoomTimelineView: View {
}
var playIcon: some View {
CompoundIcon(\.playSolid, size: .custom(50), relativeTo: .compound.headingLG)
.background(.ultraThinMaterial, in: Circle())
.foregroundColor(.white)
CompoundIcon(\.playSolid, size: .medium, relativeTo: .compound.headingLG)
.foregroundStyle(.compound.iconPrimary)
.padding(13)
.background {
ZStack {
Circle().fill(.compound.bgSubtleSecondary)
Circle().stroke(.compound.borderInteractiveSecondary)
}
}
}
var placeholder: some View {
Rectangle()
.foregroundColor(timelineItem.isOutgoing ? .compound._bgBubbleOutgoing : .compound._bgBubbleIncoming)
.foregroundStyle(timelineItem.isOutgoing ? .compound._bgBubbleOutgoing : .compound._bgBubbleIncoming)
.opacity(0.3)
}
}