NYFont.swift 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // NYFont.swift
  3. // JSJP_Student_sw
  4. //
  5. // Created by ningye on 2023/5/22.
  6. //
  7. import UIKit
  8. struct NYFont {
  9. struct SysFont {
  10. static let sys_10 = UIFont.systemFont(ofSize: 10)
  11. static let sys_10_heave = UIFont.systemFont(ofSize: 10, weight: .heavy)
  12. static let sys_11 = UIFont.systemFont(ofSize: 11)
  13. static let sys_11_heave = UIFont.systemFont(ofSize: 11, weight: .heavy)
  14. static let sys_12 = UIFont.systemFont(ofSize: 12)
  15. static let sys_12_heave = UIFont.systemFont(ofSize: 12, weight: .heavy)
  16. static let sys_13 = UIFont.systemFont(ofSize: 13)
  17. static let sys_13_heave = UIFont.systemFont(ofSize: 13, weight: .heavy)
  18. static let sys_14 = UIFont.systemFont(ofSize: 14)
  19. static let sys_14_heave = UIFont.systemFont(ofSize: 14, weight: .heavy)
  20. static let sys_15 = UIFont.systemFont(ofSize: 15)
  21. static let sys_15_heave = UIFont.systemFont(ofSize: 15, weight: .heavy)
  22. static let sys_16 = UIFont.systemFont(ofSize: 16)
  23. static let sys_16_heave = UIFont.systemFont(ofSize: 16, weight: .heavy)
  24. static let sys_17 = UIFont.systemFont(ofSize: 17)
  25. static let sys_17_heave = UIFont.systemFont(ofSize: 17, weight: .heavy)
  26. static let sys_18 = UIFont.systemFont(ofSize: 18)
  27. static let sys_18_heave = UIFont.systemFont(ofSize: 18, weight: .heavy)
  28. }
  29. }