Skip to content

Commit

Permalink
Dont change this colors
Browse files Browse the repository at this point in the history
  • Loading branch information
dinsen committed Jul 3, 2024
1 parent e9909f5 commit 7bce4a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FinniversKit/Sources/DNA/Color/Color+SwiftUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ extension Color {
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public static var nmpBrandControlSelected: Color { Color(UIColor.nmpBrandControlSelected) }
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public static var nmpBrandDecoration: Color { Color(UIColorWarp.UIToken.backgroundPrimary) }
public static var nmpBrandDecoration: Color { Color(UIColor.nmpBrandDecoration) }
}
// swiftlint:enable opening_brace
4 changes: 2 additions & 2 deletions FinniversKit/Sources/DNA/Color/UIColor+FinniversKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ extension CGColor {
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public class var nmpBrandControlSelected: UIColor { Config.colorProvider.nmpBrandControlSelected }
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public class var nmpBrandDecoration: UIColor { Config.colorProviderWarp.UIToken.backgroundPrimary }
public class var nmpBrandDecoration: UIColor { Config.colorProvider.nmpBrandDecoration }

// Deprecated
@available(*, deprecated, message: "Replace with textAction, nmpBrandControlSelected or nmpBrandDecoration")
Expand Down Expand Up @@ -354,7 +354,7 @@ extension CGColor {
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public class var nmpBrandControlSelected: CGColor { Config.colorProvider.nmpBrandControlSelected.cgColor }
@available(*, deprecated, message: "Use Warp backgroundPrimary instead")
public class var nmpBrandDecoration: CGColor { Config.colorProviderWarp.UIToken.backgroundPrimary.cgColor }
public class var nmpBrandDecoration: CGColor { Config.colorProvider.nmpBrandDecoration.cgColor }
}

// MARK: - FINN UIColors (deprecated)
Expand Down

0 comments on commit 7bce4a4

Please sign in to comment.