UIFont+Ext.h 944 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // UIFont+Ext.h
  3. // UniversalApp
  4. //
  5. // Created by bugu on 2020/3/21.
  6. // Copyright © 2020 voidcat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. // 灰色字体(颜色:由深到浅)
  10. #define kAppGrayColor0 RGB(50, 50, 50) // #323232
  11. #define kAppGrayColor1 RGB(51, 51, 51) // #333333
  12. #define kAppGrayColor2 RGB(102, 102, 102) // #666666
  13. #define kAppGrayColor3 RGB(153, 153, 153) // #999999
  14. #define KAppBlueColor RGB(149, 99, 247) //#9563F7
  15. #define KAppThemeColor RGB(149, 99, 247) //#9563F7
  16. NS_ASSUME_NONNULL_BEGIN
  17. @interface UIFont (Ext)
  18. + (instancetype)bg_mediumFont17;
  19. + (instancetype)bg_mediumFont16;
  20. + (instancetype)bg_mediumFont15;
  21. + (instancetype)bg_mediumFont14;
  22. + (instancetype)bg_mediumFont13;
  23. + (instancetype)bg_mediumFont11;
  24. + (UIFont*)mediumFont:(CGFloat)size;
  25. @end
  26. NS_ASSUME_NONNULL_END