Skip to content

Commit 299c76b

Browse files
committed
content: Follow web in code-block default text color
Web uses black instead of hsl(0deg 0% 15%), the default message text color.
1 parent d955039 commit 299c76b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widgets/code_block.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class CodeBlockTextStyles {
1414
return CodeBlockTextStyles._(
1515
plain: kMonospaceTextStyle
1616
.merge(const TextStyle(
17+
color: Colors.black, // --color-markdown-code-text in web
1718
fontSize: 0.825 * kBaseFontSize,
1819
height: 1.4))
1920
.merge(weightVariableTextStyle(context)),

0 commit comments

Comments
 (0)