Correct dark theme support with html rendering.

This commit is contained in:
Stefan Ceriu
2022-03-29 14:52:21 +03:00
parent ab25689e38
commit af5b75cde0
9 changed files with 154 additions and 39 deletions
@@ -33,7 +33,7 @@ struct EventBasedTimelineView: View {
Image(uiImage: avatar)
.resizable()
.scaledToFill()
.overlay(Circle().stroke(Color(.sRGB, red: 0.05, green: 0.74, blue: 0.55, opacity: 1.0)))
.overlay(Circle().stroke(Color.elementGreen))
} else {
PlaceholderAvatarImage(firstCharacter: String(firstLetter))
}
@@ -29,5 +29,6 @@ struct FormattedBodyText: View {
}
}
}
.tint(.elementGreen)
}
}