toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
BackgroundColor
Background
Color
data
class
BackgroundColor
(
val
primary
:
DashColor
,
val
secondary
:
DashColor
,
val
tertiary
:
DashColor
,
val
fade
:
DashColor
,
val
sidebar
:
DashColor
)
:
ComposeFactory
<
DashBackgroundColor
>
Members
Constructors
Background
Color
Link copied to clipboard
constructor
(
primary
:
DashColor
,
secondary
:
DashColor
,
tertiary
:
DashColor
,
fade
:
DashColor
,
sidebar
:
DashColor
)
Properties
fade
Link copied to clipboard
val
fade
:
DashColor
primary
Link copied to clipboard
val
primary
:
DashColor
secondary
Link copied to clipboard
val
secondary
:
DashColor
sidebar
Link copied to clipboard
val
sidebar
:
DashColor
tertiary
Link copied to clipboard
val
tertiary
:
DashColor
Functions
get
Color
By
Link copied to clipboard
fun
getColorBy
(
index
:
Int
=
0
)
:
DashColor
?
to
Compose
Link copied to clipboard
@
Composable
open
override
fun
toCompose
(
)
:
DashBackgroundColor