mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(deps): update markdown renderer (mike penz) to v0.37.0 (#3087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phil Oliver <3497406+poliver@users.noreply.github.com>
This commit is contained in:
parent
42b2847505
commit
437e8f864c
2 changed files with 1 additions and 6 deletions
|
|
@ -43,13 +43,9 @@ fun MDText(
|
|||
val colors =
|
||||
DefaultMarkdownColors(
|
||||
text = color,
|
||||
codeText = MaterialTheme.colorScheme.onSurface,
|
||||
inlineCodeText = MaterialTheme.colorScheme.onSurface,
|
||||
linkText = HyperlinkBlue,
|
||||
codeBackground = MaterialTheme.colorScheme.surfaceContainerHigh,
|
||||
inlineCodeBackground = MaterialTheme.colorScheme.surfaceContainerHigh,
|
||||
dividerColor = MaterialTheme.colorScheme.onSurface,
|
||||
tableText = MaterialTheme.colorScheme.onSurface,
|
||||
tableBackground = MaterialTheme.colorScheme.surfaceContainer,
|
||||
)
|
||||
|
||||
|
|
@ -79,7 +75,6 @@ fun MDText(
|
|||
ordered = MaterialTheme.typography.bodyMedium.copy(color = color),
|
||||
bullet = MaterialTheme.typography.bodyMedium.copy(color = color),
|
||||
list = MaterialTheme.typography.bodyMedium.copy(color = color),
|
||||
link = TextStyle(color = HyperlinkBlue, textDecoration = TextDecoration.Underline),
|
||||
textLink =
|
||||
TextLinkStyles(style = SpanStyle(color = HyperlinkBlue, textDecoration = TextDecoration.Underline)),
|
||||
table = MaterialTheme.typography.bodyMedium.copy(color = MaterialTheme.colorScheme.onSurface),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue