MRDTheme Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCoding |
| Declared in | MRDTheme.h |
Overview
Object that can be used to customize various colors and fonts within the Meridian SDK
It is recommended that you take into account Web Content Accessibility Guidelines, especially when changing background colors https://www.w3.org/WAI/standards-guidelines/wcag/
Contrast Checkers like the following can be helpful: https://webaim.org/resources/contrastchecker/
font
Font for most labels used in the Meridian SDK (defaults to OpenSans-Regular)
@property (nonatomic, readwrite, strong) UIFont *fontDeclared In
MRDTheme.h
boldFont
Font used for bold text the Meridian SDK (defaults to OpenSans-Bold)
@property (nonatomic, readwrite, strong) UIFont *boldFontDeclared In
MRDTheme.h
semiBoldFont
Font used for semi-bold text the Meridian SDK (defaults to OpenSans-SemiBold)
@property (nonatomic, readwrite, strong) UIFont *semiBoldFontDeclared In
MRDTheme.h
italicFont
Font used for italic text the Meridian SDK (defaults to OpenSans-Italic)
@property (nonatomic, readwrite, strong) UIFont *italicFontDeclared In
MRDTheme.h
primaryColor
Primary or “outer color” used as a tint for the progress spinner and navigation bar text
@property (nonatomic, readwrite, copy) UIColor *primaryColorDeclared In
MRDTheme.h
secondaryColor
Secondary or “inner color” used as a tint for some button titles and link text
@property (nonatomic, readwrite, copy) UIColor *secondaryColorDeclared In
MRDTheme.h
bottomSheetBackgroundColor
Background color for any bottom sheets presented over the map
@property (nonatomic, readwrite, copy) UIColor *bottomSheetBackgroundColorDeclared In
MRDTheme.h
mapBackgroundColor
Background color presented behind the map
@property (nonatomic, readwrite, copy) UIColor *mapBackgroundColorDeclared In
MRDTheme.h
directionsSlideColor
Background color for the interactive control presented at the top of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsSlideColorDeclared In
MRDTheme.h
directionsSlideTextColor
Color for the text inside the interactive control presented at the top of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsSlideTextColorDeclared In
MRDTheme.h
reorientationBannerColor
Background color for the warning bar that appears when a user strays off course
@property (nonatomic, readwrite, copy) UIColor *reorientationBannerColorDeclared In
MRDTheme.h
directionsButtonColor
Background color for the directions button in the bottom sheet
@property (nonatomic, readwrite, copy) UIColor *directionsButtonColorDeclared In
MRDTheme.h
directionsButtonTextColor
Color for the directions button text in the bottom sheet
@property (nonatomic, readwrite, copy) UIColor *directionsButtonTextColorDeclared In
MRDTheme.h
directionsOverviewButtonColor
Background color for the “Overview” button presented at the bottom of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsOverviewButtonColorDeclared In
MRDTheme.h
directionsOverviewButtonTextColor
Color for the “Overview” button text presented at the bottom of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsOverviewButtonTextColorDeclared In
MRDTheme.h
directionsEndRouteButtonColor
Background color for the “End Route” button presented at the bottom of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsEndRouteButtonColorDeclared In
MRDTheme.h
directionsEndRouteButtonTextColor
Color for the “End Route” button text presented at the bottom of the map during directions
@property (nonatomic, readwrite, copy) UIColor *directionsEndRouteButtonTextColorDeclared In
MRDTheme.h