diff --git a/aboutlibraries-compose/src/androidMain/kotlin/com/mikepenz/aboutlibraries/ui/compose/Libraries.kt b/aboutlibraries-compose/src/androidMain/kotlin/com/mikepenz/aboutlibraries/ui/compose/Libraries.kt index 1cceab0ad..54d4d25dd 100644 --- a/aboutlibraries-compose/src/androidMain/kotlin/com/mikepenz/aboutlibraries/ui/compose/Libraries.kt +++ b/aboutlibraries-compose/src/androidMain/kotlin/com/mikepenz/aboutlibraries/ui/compose/Libraries.kt @@ -155,7 +155,11 @@ fun LicenseDialog( } @Composable -fun HtmlText(html: String, modifier: Modifier = Modifier, color: Color = Color.Black) { +fun HtmlText( + html: String, + modifier: Modifier = Modifier, + color: Color = LibraryDefaults.libraryColors().contentColor +) { AndroidView(modifier = modifier, factory = { context -> TextView(context).apply { setTextColor(color.toArgb())