Improves the look of inlinde code in markdown

This commit is contained in:
Vitor Pamplona
2024-08-12 15:53:45 -04:00
parent 75efd2b372
commit 9af123b709

View File

@@ -296,6 +296,7 @@ val MarkDownStyleOnDark =
SpanStyle( SpanStyle(
fontFamily = FontFamily.Monospace, fontFamily = FontFamily.Monospace,
fontSize = Font14SP, fontSize = Font14SP,
letterSpacing = 5.sp,
background = DarkColorPalette.onSurface.copy(alpha = 0.22f), background = DarkColorPalette.onSurface.copy(alpha = 0.22f),
), ),
), ),
@@ -334,7 +335,8 @@ val MarkDownStyleOnLight =
SpanStyle( SpanStyle(
fontFamily = FontFamily.Monospace, fontFamily = FontFamily.Monospace,
fontSize = Font14SP, fontSize = Font14SP,
background = LightColorPalette.onSurface.copy(alpha = 0.22f), letterSpacing = 5.sp,
background = LightColorPalette.onSurface.copy(alpha = 0.12f),
), ),
), ),
) )