Colors

constructor(brand: String? = null, brandHighlight: String? = null, brandDisable: String? = null, brand2: String? = null, brand2Highlight: String? = null, brand2Disable: String? = null, text: String? = null, secondaryText: String? = null, tertiaryText: String? = null, lightText: String? = null, linkText: String? = null, maskBackground: String? = null, hudBackground: String? = null, inputLineDisable: String? = null, inputLineEnable: String? = null, separatorLine: String? = null, mainBackground: String? = null, secondaryBackground: String? = null, stateSafe: String? = null, stateWarning: String? = null, stateError: String? = null)

Parameters

brand

主题色,

brandHighlight

: 主题色 highlight,

brandDisable

: 主题色 disable,

brand2

: 次主题色,

brand2Highlight

: 次主题色 highlight,

brand2Disable

: 次主题色 disable,

text

: 字体颜色, 一般为黑色 一级,

secondaryText

: 字体颜色, 一般为黑色 二级,

tertiaryText

: 字体颜色, 一般为黑色 三级,

lightText

: 亮色文字, 一般为白色,

linkText

: 链接文字颜色,

maskBackground

: 不透明背景色,

hudBackground

: HUD 背景色,

inputLineDisable

: 输入线没选中,

inputLineEnable

: 输入线选中,

separatorLine

: 分割线颜色,

mainBackground

: 背景色, 一般为白色,用于 View Controller 背景

secondaryBackground

: 二级背景色, 一般为浅灰,用于 tableview 背景等

stateSafe

: 安全色,

stateWarning

: 警告色,

stateError

: 错误色