TSColorConfig.swift 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // TSColorConfig.swift
  3. // Pods
  4. //
  5. // Created by fff on 2025/2/7.
  6. //
  7. public let TSColorConfigShared = TSColorConfig.shared
  8. open class TSColorConfig {
  9. static var shared = TSColorConfig()
  10. /// 背景色
  11. public var mainBg:UIColor = "#111111".uiColor
  12. /// 主色调
  13. public var themeColor = "#FF54C6".uiColor
  14. public var naviMianTextColor = "#0E1550".uiColor
  15. public var naviMianBgColor = UIColor.clear
  16. public var mainDisable = UIColor.clear
  17. /// 分割线
  18. public var sepaLine = UIColor.clear
  19. /// 主要文字
  20. public var mainText = UIColor.white
  21. /// 次要文字
  22. public var lesserText = UIColor.fromHex("#FFFFFF", alpha: 0.6)
  23. /// 弱文字
  24. public var textDisable = "#010101".toColor()!
  25. /// 辅助文字
  26. public var textAssist = UIColor.fromHex("#FFFFFF", alpha: 0.4)
  27. /// 成功
  28. public var success = UIColor.clear
  29. /// 辅助色
  30. public var assist = "#111111".uiColor
  31. /// 按钮色
  32. public var button = UIColor.clear
  33. /// 警示色
  34. public var alert = UIColor.clear
  35. /// 主色调
  36. public var mainGlowing = "#D553FA".toColor()!
  37. public var mainLightGlowing = "#FE01AA".toColor()!
  38. /// 辅助 - 蓝色
  39. public var assistBlue = UIColor.clear
  40. }