mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-10 09:57:44 +02:00
Merge pull request #4455 from vector-im/design_kit_fonts
DesignKit: Handle text styles
This commit is contained in:
@@ -146,4 +146,8 @@ class DarkTheme: NSObject, Theme {
|
||||
lazy var colors: Colors = {
|
||||
return DarkColors()
|
||||
}()
|
||||
|
||||
lazy var fonts: Fonts = {
|
||||
return ElementFonts()
|
||||
}()
|
||||
}
|
||||
|
||||
@@ -153,4 +153,8 @@ class DefaultTheme: NSObject, Theme {
|
||||
lazy var colors: Colors = {
|
||||
return LightColors()
|
||||
}()
|
||||
|
||||
lazy var fonts: Fonts = {
|
||||
return ElementFonts()
|
||||
}()
|
||||
}
|
||||
|
||||
@@ -107,6 +107,7 @@ final class SideMenuViewController: UIViewController {
|
||||
|
||||
self.userAvatarView.update(theme: theme)
|
||||
self.userDisplayNameLabel.textColor = theme.textPrimaryColor
|
||||
self.userDisplayNameLabel.font = theme.fonts.title3SB
|
||||
self.userIdLabel.textColor = theme.textSecondaryColor
|
||||
|
||||
for sideMenuActionView in self.sideMenuActionViews {
|
||||
|
||||
Reference in New Issue
Block a user