From f33d11194cf543e74555340bc52950ba28e0d73b Mon Sep 17 00:00:00 2001 From: higan Date: Sat, 21 Oct 2023 14:41:00 +0800 Subject: [PATCH] Fix theme generator --- .../jewel/buildlogic/theme/IntUiThemeDescriptorReader.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/org/jetbrains/jewel/buildlogic/theme/IntUiThemeDescriptorReader.kt b/buildSrc/src/main/kotlin/org/jetbrains/jewel/buildlogic/theme/IntUiThemeDescriptorReader.kt index 2accb8eb3..a886b9cd8 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/jewel/buildlogic/theme/IntUiThemeDescriptorReader.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/jewel/buildlogic/theme/IntUiThemeDescriptorReader.kt @@ -115,9 +115,9 @@ internal object IntUiThemeDescriptorReader { PropertySpec.builder("iconData", iconDataClassName, KModifier.OVERRIDE) .initializer( CodeBlock.of( - "ThemeIconData(\n%L,\n%L,\n%L\n)", - colorPalette.toMapCodeBlock(), + "ThemeIconData(iconOverrides = \n%L,colorPalette = \n%L,\nselectionColorPalette = %L\n)", iconOverridesBlock, + colorPalette.toMapCodeBlock(), selectionColorPaletteBlock, ) )