mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Compound Fonts (#834)
* Use CompoundFonts in DesignKit (deprecate ElementFonts). * Use compound fonts everywhere. * Update Authentication snapshots. * Update RoomMembersListScreen snapshots. Delete unused snapshots. * Fix tests.
This commit is contained in:
@@ -74,7 +74,7 @@ struct TimelineItemDebugView: View {
|
||||
DisclosureGroup(title, isExpanded: $isExpanded) {
|
||||
disclosureGroupContent
|
||||
}
|
||||
.font(.element.subheadline)
|
||||
.font(.compound.bodyMD)
|
||||
.padding()
|
||||
|
||||
Divider()
|
||||
@@ -89,7 +89,7 @@ struct TimelineItemDebugView: View {
|
||||
Divider()
|
||||
|
||||
Text(text)
|
||||
.font(.element.caption1.monospaced())
|
||||
.font(.compound.bodyXS.monospaced())
|
||||
.foregroundColor(.element.primaryContent)
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
Reference in New Issue
Block a user