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, ) )