From 9af123b7098ef272d4adc6b0fb0bbf1ec699c61a Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 12 Aug 2024 15:53:45 -0400 Subject: [PATCH] Improves the look of inlinde code in markdown --- .../main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt index 90d51ded1..d7cf65b0d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt @@ -296,6 +296,7 @@ val MarkDownStyleOnDark = SpanStyle( fontFamily = FontFamily.Monospace, fontSize = Font14SP, + letterSpacing = 5.sp, background = DarkColorPalette.onSurface.copy(alpha = 0.22f), ), ), @@ -334,7 +335,8 @@ val MarkDownStyleOnLight = SpanStyle( fontFamily = FontFamily.Monospace, fontSize = Font14SP, - background = LightColorPalette.onSurface.copy(alpha = 0.22f), + letterSpacing = 5.sp, + background = LightColorPalette.onSurface.copy(alpha = 0.12f), ), ), )