Address PR comments.

Log errors before throwing.
Remove white colour.
Remove AuthenticationCoordinatorState added during rebase.
This commit is contained in:
Doug
2022-05-03 10:55:43 +01:00
committed by Doug
parent 95d1a2a39e
commit 33eb847ba3
10 changed files with 18 additions and 52 deletions

View File

@@ -46,8 +46,6 @@ public struct ColorValues: Colors {
public let background: UIColor
public let white: UIColor
public let ems: UIColor
public let namesAndAvatars: [UIColor]

View File

@@ -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 }

View File

@@ -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) })
}

View File

@@ -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),

View File

@@ -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),