toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming.scheme
/
TextColor
Text
Color
data
class
TextColor
(
val
primary
:
DashColor
,
val
secondary
:
DashColor
,
val
tertiary
:
DashColor
,
val
links
:
DashColor
,
val
accent
:
DashColor
,
val
inverted
:
DashColor
,
val
red
:
DashColor
)
:
ComposeFactory
<
DashTextColor
>
Members
Constructors
Text
Color
Link copied to clipboard
constructor
(
primary
:
DashColor
,
secondary
:
DashColor
,
tertiary
:
DashColor
,
links
:
DashColor
,
accent
:
DashColor
,
inverted
:
DashColor
,
red
:
DashColor
)
Properties
accent
Link copied to clipboard
val
accent
:
DashColor
inverted
Link copied to clipboard
val
inverted
:
DashColor
links
Link copied to clipboard
val
links
:
DashColor
primary
Link copied to clipboard
val
primary
:
DashColor
red
Link copied to clipboard
val
red
:
DashColor
secondary
Link copied to clipboard
val
secondary
:
DashColor
tertiary
Link copied to clipboard
val
tertiary
:
DashColor
Functions
get
Color
By
Link copied to clipboard
fun
getColorBy
(
index
:
Int
)
:
DashColor
?
get
Tint
Selector
By
Link copied to clipboard
fun
getTintSelectorBy
(
index
:
Int
)
:
ColorStateList
?
to
Compose
Link copied to clipboard
@
Composable
open
override
fun
toCompose
(
)
:
DashTextColor