BKColor.swift 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // BKColor.swift
  3. // Bark
  4. //
  5. // Created by huangfeng on 2021/10/22.
  6. // Copyright © 2021 Fin. All rights reserved.
  7. //
  8. import UIKit
  9. class BKColor: NSObject {
  10. enum grey {
  11. public static let base = UIColor(named: "grey_base")!
  12. public static let darken1 = UIColor(named: "grey_darken1")!
  13. public static let darken2 = UIColor(named: "grey_darken2")!
  14. public static let darken3 = UIColor(named: "grey_darken3")!
  15. public static let darken4 = UIColor(named: "grey_darken4")!
  16. public static let lighten1 = UIColor(named: "grey_lighten1")!
  17. public static let lighten2 = UIColor(named: "grey_lighten2")!
  18. public static let lighten3 = UIColor(named: "grey_lighten3")!
  19. public static let lighten4 = UIColor(named: "grey_lighten4")!
  20. public static let lighten5 = UIColor(named: "grey_lighten5")!
  21. }
  22. enum blue {
  23. public static let base = UIColor(named: "blue_base")!
  24. public static let darken1 = UIColor(named: "blue_darken1")!
  25. public static let darken5 = UIColor(named: "blue_darken5")!
  26. }
  27. enum lightBlue {
  28. public static let darken3 = UIColor(named: "lightBlue_darken3")!
  29. }
  30. public static let white = UIColor(named: "white")!
  31. enum background {
  32. public static let primary = UIColor(named: "background")!
  33. public static let secondary = UIColor(named: "background_seconday")!
  34. }
  35. }