mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 02:16:51 +02:00
Improves the look of inlinde code in markdown
This commit is contained in:
@@ -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),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user