diff --git a/lib/widgets/code_block.dart b/lib/widgets/code_block.dart index 545c3f8071..601491482f 100644 --- a/lib/widgets/code_block.dart +++ b/lib/widgets/code_block.dart @@ -15,7 +15,8 @@ class CodeBlockTextStyles { plain: kMonospaceTextStyle .merge(const TextStyle( fontSize: 0.825 * kBaseFontSize, - height: 1.4)), + height: 1.4)) + .merge(weightVariableTextStyle(context)), // .hll { background-color: hsl(60deg 100% 90%); } hll: TextStyle(backgroundColor: const HSLColor.fromAHSL(1, 60, 1, 0.90).toColor()),