mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
805 B
Objective-C
38 lines
805 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface UIFont (OWS)
|
|
|
|
+ (UIFont *)ows_thinFontWithSize:(CGFloat)size;
|
|
|
|
+ (UIFont *)ows_lightFontWithSize:(CGFloat)size;
|
|
|
|
+ (UIFont *)ows_regularFontWithSize:(CGFloat)size;
|
|
|
|
+ (UIFont *)ows_mediumFontWithSize:(CGFloat)size;
|
|
|
|
+ (UIFont *)ows_boldFontWithSize:(CGFloat)size;
|
|
|
|
#pragma mark - Icon Fonts
|
|
|
|
+ (UIFont *)ows_fontAwesomeFont:(CGFloat)size;
|
|
+ (UIFont *)ows_dripIconsFont:(CGFloat)size;
|
|
+ (UIFont *)ows_elegantIconsFont:(CGFloat)size;
|
|
|
|
#pragma mark - Dynamic Type
|
|
|
|
+ (UIFont *)ows_dynamicTypeBodyFont;
|
|
+ (UIFont *)ows_dynamicTypeTitle2Font;
|
|
+ (UIFont *)ows_dynamicTypeHeadlineFont;
|
|
+ (UIFont *)ows_infoMessageFont;
|
|
+ (UIFont *)ows_footnoteFont;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|