//
//  DecorationPreference.swift
//  MercadoPagoSDK
//
//  Created by Eden Torres on 1/16/17.
//  Copyright © 2017 MercadoPago. All rights reserved.
//

import Foundation

open class DecorationPreference : NSObject{
    var baseColor: UIColor = UIColor.purple
    var textColor: UIColor = UIColor.black
    var fontName: String?
    
    public func setBaseColor(color: UIColor){
        baseColor = color
    }
    public func enableDarkFont(){
        textColor = UIColor.black
    }
    public func enableLightFont(){
        textColor = UIColor.white
    }
    public func setFontName(fontName: String){
        
    }
    public func getBaseColor() -> UIColor {
        return baseColor
    }
    public func getTextColor() -> UIColor {
        return textColor
    }
}

//
//  DecorationPreference.swift
//  MercadoPagoSDK
//
//  Created by Eden Torres on 1/16/17.
//  Copyright © 2017 MercadoPago. All rights reserved.
//

import Foundation

open class DecorationPreference : NSObject{
    var baseColor: UIColor = UIColor.purple
    var textColor: UIColor = UIColor.black
    var fontName: String = ".SFUIDisplay-Regular"
    
    public func setBaseColor(color: UIColor){
        baseColor = color
    }
    public func enableDarkFont(){
        textColor = UIColor.black
    }
    public func enableLightFont(){
        textColor = UIColor.white
    }
    public func setFontName(fontName: String){
        self.fontName = fontName
    }
    public func getBaseColor() -> UIColor {
        return baseColor
    }
    public func getTextColor() -> UIColor {
        return textColor
    }
    public func getFontName() -> String {
        return fontName
    }
}

Add font name to decorationPreference
Add font name to decorationPreference
