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.
		
		
		
		
		
			
		
			
	
	
		
			64 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			64 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C
		
	
| 
											11 years ago
										 | //
 | ||
| 
											7 years ago
										 | //  Copyright (c) 2019 Open Whisper Systems. All rights reserved.
 | ||
| 
											11 years ago
										 | //
 | ||
|  | 
 | ||
|  | #import <UIKit/UIKit.h>
 | ||
|  | 
 | ||
| 
											8 years ago
										 | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
| 
											11 years ago
										 | @interface UIFont (OWS) | ||
|  | 
 | ||
| 
											10 years ago
										 | + (UIFont *)ows_thinFontWithSize:(CGFloat)size; | ||
| 
											11 years ago
										 | 
 | ||
| 
											10 years ago
										 | + (UIFont *)ows_lightFontWithSize:(CGFloat)size; | ||
| 
											11 years ago
										 | 
 | ||
| 
											10 years ago
										 | + (UIFont *)ows_regularFontWithSize:(CGFloat)size; | ||
| 
											11 years ago
										 | 
 | ||
| 
											10 years ago
										 | + (UIFont *)ows_mediumFontWithSize:(CGFloat)size; | ||
| 
											11 years ago
										 | 
 | ||
| 
											10 years ago
										 | + (UIFont *)ows_boldFontWithSize:(CGFloat)size; | ||
| 
											11 years ago
										 | 
 | ||
| 
											7 years ago
										 | + (UIFont *)ows_monospacedDigitFontWithSize:(CGFloat)size; | ||
|  | 
 | ||
| 
											9 years ago
										 | #pragma mark - Icon Fonts
 | ||
|  | 
 | ||
|  | + (UIFont *)ows_fontAwesomeFont:(CGFloat)size; | ||
|  | + (UIFont *)ows_dripIconsFont:(CGFloat)size; | ||
|  | + (UIFont *)ows_elegantIconsFont:(CGFloat)size; | ||
| 
											10 years ago
										 | 
 | ||
| 
											9 years ago
										 | #pragma mark - Dynamic Type
 | ||
| 
											10 years ago
										 | 
 | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle1Font; | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle2Font; | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle3Font; | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeHeadlineFont; | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeBodyFont; | ||
| 
											7 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeSubheadlineFont; | ||
| 
											8 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeFootnoteFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeCaption1Font; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeCaption2Font; | ||
|  | 
 | ||
| 
											7 years ago
										 | #pragma mark - Dynamic Type Clamped
 | ||
|  | 
 | ||
| 
											7 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeLargeTitle1ClampedFont; | ||
| 
											7 years ago
										 | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle1ClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle2ClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeTitle3ClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeHeadlineClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeBodyClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeSubheadlineClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeFootnoteClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeCaption1ClampedFont; | ||
|  | @property (class, readonly, nonatomic) UIFont *ows_dynamicTypeCaption2ClampedFont; | ||
|  | 
 | ||
| 
											8 years ago
										 | #pragma mark - Styles
 | ||
|  | 
 | ||
|  | - (UIFont *)ows_italic; | ||
| 
											8 years ago
										 | - (UIFont *)ows_bold; | ||
| 
											8 years ago
										 | - (UIFont *)ows_mediumWeight; | ||
| 
											7 years ago
										 | - (UIFont *)ows_monospaced; | ||
| 
											10 years ago
										 | 
 | ||
| 
											11 years ago
										 | @end | ||
| 
											8 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_END |