Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Colors and Fonts

imchristian_g edited this page Mar 20, 2018 · 1 revision

Uso

Para poder utilizar los colores y fuentes de la lib debemos importar la clase MLStyleSheetManager y acceder a la property styleSheet la cual nos va a proveer de los colores y fuentes inyectadas o por default las que posee la lib.

Colores

primary color

MLStyleSheetManager.styleSheet.primaryColor

light primary color

MLStyleSheetManager.styleSheet.lightPrimaryColor

secondary color

MLStyleSheetManager.styleSheet.secondaryColor

secondary color pressed

MLStyleSheetManager.styleSheet.secondaryColorPressed

secondary color disabled

MLStyleSheetManager.styleSheet.secondaryColorDisabled

success color

MLStyleSheetManager.styleSheet.successColor

error color

MLStyleSheetManager.styleSheet.errorColor

black color

MLStyleSheetManager.styleSheet.blackColor

dark grey color

MLStyleSheetManager.styleSheet.darkGreyColor

grey color

MLStyleSheetManager.styleSheet.greyColor

mid grey color

MLStyleSheetManager.styleSheet.midGreyColor

light grey color

MLStyleSheetManager.styleSheet.lightGreyColor

white color

MLStyleSheetManager.styleSheet.whiteColor

modal background color

MLStyleSheetManager.styleSheet.modalBackgroundColor

modal tint color

MLStyleSheetManager.styleSheet.modalTintColor

Fuentes

regular font

[MLStyleSheetManager.styleSheet regularSystemFontOfSize:kMLFontsSizeLarge];

bold font

[MLStyleSheetManager.styleSheet boldSystemFontOfSize:kMLFontsSizeLarge];

thin font

[MLStyleSheetManager.styleSheet thinSystemFontOfSize:kMLFontsSizeLarge];

light font

[MLStyleSheetManager.styleSheet lightSystemFontOfSize:kMLFontsSizeLarge];

medium font

[MLStyleSheetManager.styleSheet mediumSystemFontOfSize:kMLFontsSizeLarge];

semibold font

[MLStyleSheetManager.styleSheet semiboldSystemFontOfSize:kMLFontsSizeLarge];

extrabold font

[MLStyleSheetManager.styleSheet extraboldSystemFontOfSize:kMLFontsSizeLarge];

black font

[MLStyleSheetManager.styleSheet blackSystemFontOfSize:kMLFontsSizeLarge];
Clone this wiki locally