Skip to content

Commit 9adade5

Browse files
authored
[MBL-3163] Update PPO dark mode colors and related banner color (#2811)
* Use design system colors instead * Delete legacy error tag colors
1 parent 0299efe commit 9adade5

27 files changed

Lines changed: 7 additions & 23 deletions

KDS/Sources/KDS/Colors/LegacyColors.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -211,20 +211,6 @@ public struct LegacyColors {
211211
darkMode: UIColor(coreColor: .black)
212212
)
213213
}
214-
215-
public struct Error {
216-
public static let background = LegacyColor(
217-
"legacy/tags/error/background",
218-
lightMode: UIColor(coreColor: .red_200),
219-
darkMode: UIColor(coreColor: .red_200)
220-
)
221-
222-
public static let foreground = LegacyColor(
223-
"legacy/tags/error/foreground",
224-
lightMode: UIColor(coreColor: .red_800),
225-
darkMode: UIColor(coreColor: .black)
226-
)
227-
}
228214
}
229215

230216
public struct Project {

KDS/Sources/KDS/Controllers/ColorsView.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ public struct ColorsView: View {
114114
LegacyColors.Tags.Success.foreground,
115115
LegacyColors.Tags.Warn.background,
116116
LegacyColors.Tags.Warn.foreground,
117-
LegacyColors.Tags.Error.background,
118-
LegacyColors.Tags.Error.foreground,
119117
LegacyColors.Background.search,
120118
LegacyColors.Buttons.blue
121119
]
-32.2 KB
Loading

0 commit comments

Comments
 (0)