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 *font

Declared In

MRDTheme.h

  boldFont

Font used for bold text the Meridian SDK (defaults to OpenSans-Bold)

@property (nonatomic, readwrite, strong) UIFont *boldFont

Declared In

MRDTheme.h

  semiBoldFont

Font used for semi-bold text the Meridian SDK (defaults to OpenSans-SemiBold)

@property (nonatomic, readwrite, strong) UIFont *semiBoldFont

Declared In

MRDTheme.h

  italicFont

Font used for italic text the Meridian SDK (defaults to OpenSans-Italic)

@property (nonatomic, readwrite, strong) UIFont *italicFont

Declared 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 *primaryColor

Declared In

MRDTheme.h

  secondaryColor

Secondary or “inner color” used as a tint for some button titles and link text

@property (nonatomic, readwrite, copy) UIColor *secondaryColor

Declared In

MRDTheme.h

  bottomSheetBackgroundColor

Background color for any bottom sheets presented over the map

@property (nonatomic, readwrite, copy) UIColor *bottomSheetBackgroundColor

Declared In

MRDTheme.h

  mapBackgroundColor

Background color presented behind the map

@property (nonatomic, readwrite, copy) UIColor *mapBackgroundColor

Declared In

MRDTheme.h

  directionsSlideColor

Background color for the interactive control presented at the top of the map during directions

@property (nonatomic, readwrite, copy) UIColor *directionsSlideColor

Declared 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 *directionsSlideTextColor

Declared In

MRDTheme.h

  reorientationBannerColor

Background color for the warning bar that appears when a user strays off course

@property (nonatomic, readwrite, copy) UIColor *reorientationBannerColor

Declared In

MRDTheme.h

  directionsButtonColor

Background color for the directions button in the bottom sheet

@property (nonatomic, readwrite, copy) UIColor *directionsButtonColor

Declared In

MRDTheme.h

  directionsButtonTextColor

Color for the directions button text in the bottom sheet

@property (nonatomic, readwrite, copy) UIColor *directionsButtonTextColor

Declared In

MRDTheme.h

  directionsOverviewButtonColor

Background color for the “Overview” button presented at the bottom of the map during directions

@property (nonatomic, readwrite, copy) UIColor *directionsOverviewButtonColor

Declared In

MRDTheme.h

  directionsOverviewButtonTextColor

Color for the “Overview” button text presented at the bottom of the map during directions

@property (nonatomic, readwrite, copy) UIColor *directionsOverviewButtonTextColor

Declared 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 *directionsEndRouteButtonColor

Declared 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 *directionsEndRouteButtonTextColor

Declared In

MRDTheme.h