toggle menu
int-ui-standalone
0.24.0
jvm
switch theme
search in API
int-ui-standalone
/
org.jetbrains.jewel.intui.standalone.styling
/
IntUiDefaultButtonColorFactory
Int
Ui
Default
Button
Color
Factory
object
IntUiDefaultButtonColorFactory
Members
Functions
dark
Link copied to clipboard
@
Composable
fun
dark
(
background
:
Brush
=
SolidColor(IntUiDarkTheme.colors.blue(6))
,
backgroundDisabled
:
Brush
=
SolidColor(IntUiDarkTheme.colors.gray(5))
,
backgroundFocused
:
Brush
=
SolidColor(IntUiDarkTheme.colors.blue(6))
,
backgroundPressed
:
Brush
=
SolidColor(IntUiDarkTheme.colors.blue(4))
,
backgroundHovered
:
Brush
=
SolidColor(IntUiDarkTheme.colors.blue(5))
,
content
:
Color
=
IntUiDarkTheme.colors.gray(14)
,
contentDisabled
:
Color
=
IntUiDarkTheme.colors.gray(8)
,
contentFocused
:
Color
=
IntUiDarkTheme.colors.gray(14)
,
contentPressed
:
Color
=
IntUiDarkTheme.colors.gray(14)
,
contentHovered
:
Color
=
IntUiDarkTheme.colors.gray(14)
,
border
:
Brush
=
SolidColor(IntUiDarkTheme.colors.blue(6))
,
borderDisabled
:
Brush
=
SolidColor(IntUiDarkTheme.colors.gray(5))
,
borderFocused
:
Brush
=
SolidColor(IntUiDarkTheme.colors.gray(1))
,
borderPressed
:
Brush
=
borderFocused
,
borderHovered
:
Brush
=
border
)
:
ButtonColors
light
Link copied to clipboard
@
Composable
fun
light
(
background
:
Brush
=
SolidColor(IntUiLightTheme.colors.blue(4))
,
backgroundDisabled
:
Brush
=
SolidColor(IntUiLightTheme.colors.gray(12))
,
backgroundFocused
:
Brush
=
SolidColor(IntUiLightTheme.colors.blue(4))
,
backgroundPressed
:
Brush
=
SolidColor(IntUiLightTheme.colors.blue(2))
,
backgroundHovered
:
Brush
=
SolidColor(IntUiLightTheme.colors.blue(3))
,
content
:
Color
=
IntUiLightTheme.colors.gray(14)
,
contentDisabled
:
Color
=
IntUiLightTheme.colors.gray(8)
,
contentFocused
:
Color
=
IntUiLightTheme.colors.gray(14)
,
contentPressed
:
Color
=
IntUiLightTheme.colors.gray(14)
,
contentHovered
:
Color
=
IntUiLightTheme.colors.gray(14)
,
border
:
Brush
=
SolidColor(IntUiLightTheme.colors.blue(4))
,
borderDisabled
:
Brush
=
SolidColor(IntUiLightTheme.colors.gray(12))
,
borderFocused
:
Brush
=
SolidColor(IntUiLightTheme.colors.gray(14))
,
borderPressed
:
Brush
=
borderFocused
,
borderHovered
:
Brush
=
border
)
:
ButtonColors