mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 04:49:33 +02:00
Update markdown to 0.37.0 (#2516)
This commit is contained in:
@@ -102,13 +102,9 @@ private fun getMarkdownColors(): MarkdownColors {
|
|||||||
val codeBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.1f)
|
val codeBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.1f)
|
||||||
return DefaultMarkdownColors(
|
return DefaultMarkdownColors(
|
||||||
text = MaterialTheme.colorScheme.onSurface,
|
text = MaterialTheme.colorScheme.onSurface,
|
||||||
codeText = Color.Unspecified,
|
|
||||||
inlineCodeText = Color.Unspecified,
|
|
||||||
linkText = Color.Unspecified,
|
|
||||||
codeBackground = codeBackground,
|
codeBackground = codeBackground,
|
||||||
inlineCodeBackground = codeBackground,
|
inlineCodeBackground = codeBackground,
|
||||||
dividerColor = MaterialTheme.colorScheme.outlineVariant,
|
dividerColor = MaterialTheme.colorScheme.outlineVariant,
|
||||||
tableText = Color.Unspecified,
|
|
||||||
tableBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.05f),
|
tableBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.05f),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -139,7 +135,6 @@ private fun getMarkdownTypography(): MarkdownTypography {
|
|||||||
ordered = MaterialTheme.typography.bodyMedium,
|
ordered = MaterialTheme.typography.bodyMedium,
|
||||||
bullet = MaterialTheme.typography.bodyMedium,
|
bullet = MaterialTheme.typography.bodyMedium,
|
||||||
list = MaterialTheme.typography.bodyMedium,
|
list = MaterialTheme.typography.bodyMedium,
|
||||||
link = link,
|
|
||||||
textLink = TextLinkStyles(style = link.toSpanStyle()),
|
textLink = TextLinkStyles(style = link.toSpanStyle()),
|
||||||
table = MaterialTheme.typography.bodyMedium,
|
table = MaterialTheme.typography.bodyMedium,
|
||||||
)
|
)
|
||||||
|
@@ -10,7 +10,7 @@ voyager = "1.1.0-beta03"
|
|||||||
spotless = "8.0.0"
|
spotless = "8.0.0"
|
||||||
ktlint-core = "1.7.1"
|
ktlint-core = "1.7.1"
|
||||||
firebase-bom = "34.2.0"
|
firebase-bom = "34.2.0"
|
||||||
markdown = "0.35.0"
|
markdown = "0.37.0"
|
||||||
junit = "5.13.4"
|
junit = "5.13.4"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
Reference in New Issue
Block a user