From 8ca498748e34831d86cc6a39d43e00a8bf116a39 Mon Sep 17 00:00:00 2001 From: Kanro Date: Tue, 17 Oct 2023 23:37:32 +0800 Subject: [PATCH] Update int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt Co-authored-by: Sebastiano Poggi --- .../kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt index 692b8a5587..d1981c4144 100644 --- a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt +++ b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/IntUiTheme.kt @@ -76,7 +76,8 @@ object IntUiTheme : BaseIntUiTheme { contentColor: Color = IntUiLightTheme.colors.grey(1), ) = IntUiThemeDefinition(isDark = false, colors, palette, icons, metrics, defaultTextStyle, contentColor) - @Composable fun darkThemeDefinition( + @Composable + fun darkThemeDefinition( colors: GlobalColors = IntUiGlobalColors.dark(), metrics: GlobalMetrics = IntUiGlobalMetrics(), palette: IntUiThemeColorPalette = IntUiDarkTheme.colors,