| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- //
- // UIFont+Extension.swift
- // MTP2_iOS
- //
- // Created by Handy_Cao on 2020/8/8.
- // Copyright © 2020 Muchinfo. All rights reserved.
- //
- import Foundation
- extension UIFont {
-
- /// font_12
- static var font_12: UIFont {
- get {
- return UIFont.systemFont(ofSize: 12)
- }
- }
-
- /// font_10
- static var font_10: UIFont {
- get {
- return UIFont.systemFont(ofSize: 10)
- }
- }
-
- /// font_8
- static var font_8: UIFont {
- get {
- return UIFont.systemFont(ofSize: 8)
- }
- }
-
- /// font_13
- static var font_13: UIFont {
- get {
- return UIFont.systemFont(ofSize: 13)
- }
- }
-
- /// font_14
- static var font_14: UIFont {
- get {
- return UIFont.systemFont(ofSize: 14)
- }
- }
-
- /// font_15
- static var font_15: UIFont {
- get {
- return UIFont.systemFont(ofSize: 15)
- }
- }
-
- /// font_16
- static var font_16: UIFont {
- get {
- return UIFont.systemFont(ofSize: 16)
- }
- }
-
- /// font_18
- static var font_18: UIFont {
- get {
- return UIFont.systemFont(ofSize: 18)
- }
- }
-
- /// font_22
- static var font_22: UIFont {
- get {
- return UIFont.systemFont(ofSize: 22)
- }
- }
-
- /// font_20
- static var font_20: UIFont {
- get {
- return UIFont.systemFont(ofSize: 20)
- }
- }
-
- /// font_bold_smallSystem
- static var font_bold_smallSystem: UIFont {
- get {
- return UIFont.boldSystemFont(ofSize: UIFont.smallSystemFontSize)
- }
- }
-
- /// font_bold_14
- static var font_bold_14: UIFont {
- get {
- return UIFont.boldSystemFont(ofSize: 14)
- }
- }
-
- /// font_bold_16
- static var font_bold_16: UIFont {
- get {
- return UIFont.boldSystemFont(ofSize: 16)
- }
- }
- }
|