Skip to content

Commit 99f6a8b

Browse files
committed
code_block [nfc]: Update outdated comment
This referred to the dark theme that web was using before it switched to Pygments Monokai, in zulip/zulip#26898. No particular need to explain the choice of background color, especially as we intend to replace these styles anyway; that's zulip#754.
1 parent 155895a commit 99f6a8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/widgets/code_block.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ class CodeBlockTextStyles {
2525
c: TextStyle(color: const HSLColor.fromAHSL(1, 180, 0.33, 0.37).toColor(), fontStyle: FontStyle.italic),
2626

2727
// TODO: Borders are hard in TextSpan, see the comment in `_buildInlineCode`
28-
// So, using a lighter background color for now (precisely it's
29-
// the text color used in web app in `.err` class in dark mode)
28+
// So instead, using a background color for now.
3029
//
3130
// .err { border: 1px solid hsl(0deg 100% 50%); }
3231
err: const TextStyle(backgroundColor: Color(0xffe2706e)),

0 commit comments

Comments
 (0)