Theme

data class Theme(val colors: Theme.Colors? = null, val icons: Theme.Icons? = null)

主题配置

Parameters

colors

颜色配置, 16进制ARGB格式,暂时仅部分插件生效

icons

图标配置,部分插件部分页面按需使用

Constructors

Link copied to clipboard
constructor(colors: Theme.Colors? = null, icons: Theme.Icons? = null)

Types

Link copied to clipboard
data class Colors(val brand: String? = null, val brandHighlight: String? = null, val brandDisable: String? = null, val brand2: String? = null, val brand2Highlight: String? = null, val brand2Disable: String? = null, val text: String? = null, val secondaryText: String? = null, val tertiaryText: String? = null, val lightText: String? = null, val linkText: String? = null, val maskBackground: String? = null, val hudBackground: String? = null, val inputLineDisable: String? = null, val inputLineEnable: String? = null, val separatorLine: String? = null, val mainBackground: String? = null, val secondaryBackground: String? = null, val stateSafe: String? = null, val stateWarning: String? = null, val stateError: String? = null)

颜色配置, 16进制ARGB格式

Link copied to clipboard
data class Icons(val app: Icon? = null, val accountSharedIcon: Icon? = null)

图标配置 部分插件按需使用

Properties

Link copied to clipboard
val colors: Theme.Colors? = null
Link copied to clipboard
val icons: Theme.Icons? = null