mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Address PR comments.
Log errors before throwing. Remove white colour. Remove AuthenticationCoordinatorState added during rebase.
This commit is contained in:
@@ -46,8 +46,6 @@ public struct ColorValues: Colors {
|
||||
|
||||
public let background: UIColor
|
||||
|
||||
public let white: UIColor
|
||||
|
||||
public let ems: UIColor
|
||||
|
||||
public let namesAndAvatars: [UIColor]
|
||||
|
||||
@@ -64,9 +64,6 @@ public protocol Colors {
|
||||
/// Background UI color
|
||||
var background: ColorType { get }
|
||||
|
||||
/// Global color: The color white.
|
||||
var white: ColorType { get }
|
||||
|
||||
/// Global color: The EMS brand's purple colour.
|
||||
var ems: ColorType { get }
|
||||
|
||||
|
||||
@@ -47,8 +47,6 @@ public struct ColorSwiftUI: Colors {
|
||||
|
||||
public let background: Color
|
||||
|
||||
public var white: Color
|
||||
|
||||
public var ems: Color
|
||||
|
||||
public let namesAndAvatars: [Color]
|
||||
@@ -66,7 +64,6 @@ public struct ColorSwiftUI: Colors {
|
||||
tile = Color(values.tile)
|
||||
navigation = Color(values.navigation)
|
||||
background = Color(values.background)
|
||||
white = Color(values.white)
|
||||
ems = Color(values.ems)
|
||||
namesAndAvatars = values.namesAndAvatars.map({ Color($0) })
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ public class DarkColors {
|
||||
tile: UIColor(rgb:0x394049),
|
||||
navigation: UIColor(rgb:0x21262C),
|
||||
background: UIColor(rgb:0x15191E),
|
||||
white: UIColor(rgb: 0xFFFFFF),
|
||||
ems: UIColor(rgb: 0x7E69FF),
|
||||
namesAndAvatars: [
|
||||
UIColor(rgb:0x368BD6),
|
||||
|
||||
@@ -34,7 +34,6 @@ public class LightColors {
|
||||
tile: UIColor(rgb:0xF3F8FD),
|
||||
navigation: UIColor(rgb:0xF4F6FA),
|
||||
background: UIColor(rgb:0xFFFFFF),
|
||||
white: UIColor(rgb: 0xFFFFFF),
|
||||
ems: UIColor(rgb: 0x7E69FF),
|
||||
namesAndAvatars: [
|
||||
UIColor(rgb:0x368BD6),
|
||||
|
||||
Reference in New Issue
Block a user