From 8928c77784b1c9fadc43cea87879a9c1639ba9ea Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Sat, 6 Jul 2024 07:02:40 +0200 Subject: [PATCH] Fix MD code font in dark standalone theme (#436) We were using the default by mistake --- .../intui/markdown/standalone/styling/IntUiMarkdownStyling.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/int-ui-standalone-styling/src/main/kotlin/org/jetbrains/jewel/intui/markdown/standalone/styling/IntUiMarkdownStyling.kt b/markdown/int-ui-standalone-styling/src/main/kotlin/org/jetbrains/jewel/intui/markdown/standalone/styling/IntUiMarkdownStyling.kt index cdb753c7a..c2f65096d 100644 --- a/markdown/int-ui-standalone-styling/src/main/kotlin/org/jetbrains/jewel/intui/markdown/standalone/styling/IntUiMarkdownStyling.kt +++ b/markdown/int-ui-standalone-styling/src/main/kotlin/org/jetbrains/jewel/intui/markdown/standalone/styling/IntUiMarkdownStyling.kt @@ -83,7 +83,7 @@ public fun MarkdownStyling.Companion.dark( paragraph: Paragraph = Paragraph.dark(inlinesStyling), heading: Heading = Heading.dark(baseTextStyle), blockQuote: BlockQuote = BlockQuote.dark(textColor = baseTextStyle.color), - code: Code = Code.dark(baseTextStyle), + code: Code = Code.dark(editorTextStyle), list: List = List.dark(baseTextStyle), image: Image = Image.default(), thematicBreak: ThematicBreak = ThematicBreak.dark(),