Skip to content

Commit

Permalink
Update Markdown text styles to improve readability with larger font s…
Browse files Browse the repository at this point in the history
…izes
  • Loading branch information
shukebeta committed Jan 18, 2025
1 parent 750daa0 commit 8b539e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/screens/components/markdown_body_here.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MarkdownBodyHereState extends State<MarkdownBodyHere> {
styleSheet: MarkdownStyleSheet(
// Update all text elements to use the dynamic color
h1: TextStyle(
fontSize: 20,
color: textColor,
),
h2: TextStyle(color: textColor),
Expand All @@ -38,6 +39,7 @@ class MarkdownBodyHereState extends State<MarkdownBodyHere> {
h5: TextStyle(color: textColor),
h6: TextStyle(color: textColor),
p: TextStyle(
fontSize: 16,
height: 1.6,
color: textColor,
),
Expand Down

0 comments on commit 8b539e1

Please sign in to comment.