mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +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:
@@ -18,6 +18,7 @@ import SwiftUI
|
||||
|
||||
public extension Font {
|
||||
/// The fonts used by Element as defined in https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=1362%3A0
|
||||
@available(*, deprecated, renamed: "compound")
|
||||
static let element = ElementFonts(values: ElementBaseFonts())
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ import UIKit
|
||||
|
||||
public extension UIFont {
|
||||
/// The fonts used by Element as defined in https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=1362%3A0
|
||||
@available(*, deprecated, message: "Not yet available in compound.")
|
||||
@objc static let element = ElementUIFonts(values: ElementBaseFonts())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user