From 3e6d0976794ddd14809436a864e393378f99af8e Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Thu, 29 Feb 2024 18:06:39 +0000 Subject: [PATCH] Fix default button focused bg in dark Int UI standalone --- .../jewel/intui/standalone/styling/IntUiButtonStyling.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt index f6c4cdd75..28668f627 100644 --- a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt +++ b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt @@ -176,7 +176,7 @@ public object IntUiOutlinedButtonColorFactory { public fun dark( background: Brush = SolidColor(Color.Transparent), backgroundDisabled: Brush = SolidColor(IntUiDarkTheme.colors.grey(5)), - backgroundFocused: Brush = SolidColor(IntUiDarkTheme.colors.grey(6)), + backgroundFocused: Brush = background, backgroundPressed: Brush = SolidColor(IntUiDarkTheme.colors.grey(2)), backgroundHovered: Brush = SolidColor(Color.Unspecified), content: Color = IntUiDarkTheme.colors.grey(12),