RAMTheme

public struct RAMTheme: Theme

RAMTheme

Theme prefab.

  • Shared theme with default settings.

    Declaration

    Swift

    public static let sharedTheme = RAMTheme()
  • Theme font.

    Declaration

    Swift

    public let font: UIFont
  • Theme text color.

    Declaration

    Swift

    public let textColor: UIColor
  • Theme background color.

    Declaration

    Swift

    public let listBackgroundColor: UIColor
  • Creates new theme with new text color.

    Declaration

    Swift

    public func textColor(textColor: UIColor) -> RAMTheme

    Parameters

    textColor

    New text color.

    Return Value

    New RAMTheme instance.

  • Creates new theme with new background color.

    Declaration

    Swift

    public func listBackgroundColor(listBackgroundColor: UIColor) -> RAMTheme

    Parameters

    listBackgroundColor

    New background color.

    Return Value

    New RAMTheme instance.

  • Creates new theme with new font.

    Declaration

    Swift

    public func font(font: UIFont) -> RAMTheme

    Parameters

    font

    New font.

    Return Value

    New RAMTheme instance.