toggle menu
ui
common
switch theme
search in API
ui
/
com.vanniktech.ui.theming
/
ThemingColor
Theming
Color
@
Serializable
(
with
=
ThemingColorSerializer::class
)
data
class
ThemingColor
(
val
light
:
Color
,
val
dark
:
Color
)
:
Parcelable
Members
Constructors
Theming
Color
Link copied to clipboard
constructor
(
light
:
Color
,
dark
:
Color
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
dark
Link copied to clipboard
val
dark
:
Color
light
Link copied to clipboard
val
light
:
Color
Functions
mapped
Link copied to clipboard
fun
mapped
(
isNight
:
Boolean
)
:
Color
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
with
Link copied to clipboard
fun
with
(
alpha
:
Float
)
:
ThemingColor