mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Fixup missing colours and use resolved colours in UIKit.
Fix the confetti colour when using DesignKit. Pin swift packages. Fix UI tests target.
This commit is contained in:
@@ -36,11 +36,14 @@ public protocol ThemeSwiftUIType {
|
||||
/// may contain more design components in future, like icons, audio files etc.
|
||||
}
|
||||
|
||||
#warning("Temporary missing colors")
|
||||
public extension ElementColors {
|
||||
var quarterlyContent: Color { quaternaryContent }
|
||||
var navigation: Color { system }
|
||||
var tile: Color { system }
|
||||
// MARK: - Legacy
|
||||
var legacyTile: Color {
|
||||
let dynamicColor = UIColor { $0.userInterfaceStyle == .light ? .elementLight.tile : .elementDark.tile }
|
||||
return Color(dynamicColor)
|
||||
}
|
||||
|
||||
// TODO: Generate in DesignTokens repo.
|
||||
var namesAndAvatars: [Color] {
|
||||
[
|
||||
globalAzure,
|
||||
|
||||
Reference in New Issue
Block a user