kobweb
Toggle table of contents
0.21.1
js
Platform filter
js
Switch theme
Search in API
kobweb
silk-foundation
/
com.varabyte.kobweb.silk.theme.colors.palette
/
MutablePalette
/
ColorGroup
/
EntryDelegate
Entry
Delegate
class
EntryDelegate
(
palette
:
MutablePalette
,
prefix
:
String
?
=
null
)
(
source
)
A property delegate class which helps reduce boilerplate when defining palette color groups.
See also
Mutable
Palette.
ColorGroup.
palette
Entry
Members
Constructors
Entry
Delegate
Link copied to clipboard
constructor
(
palette
:
MutablePalette
,
prefix
:
String
?
=
null
)
Functions
get
Value
Link copied to clipboard
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
Color
set
Value
Link copied to clipboard
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
Color
)