Skip to content

Commit 7d71d18

Browse files
chrisbobbegnprice
authored andcommitted
content: Lighten dark-theme variant of textStyleError{,Code}
Prompted by Greg's feedback that the dark-theme color was pretty dark: https://chat.zulip.org/#narrow/stream/48-mobile/topic/dark.20theme/near/1936853
1 parent b384632 commit 7d71d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/content.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ class ContentTheme extends ThemeExtension<ContentTheme> {
8282
color: const HSLColor.fromAHSL(1, 0, 0, 0.85).toColor(),
8383
debugLabel: 'ContentTheme.textStylePlainParagraph'),
8484
codeBlockTextStyles: CodeBlockTextStyles.dark(context),
85-
textStyleError: TextStyle(fontSize: kBaseFontSize, color: Colors.red.shade900)
85+
textStyleError: const TextStyle(fontSize: kBaseFontSize, color: Colors.red)
8686
.merge(weightVariableTextStyle(context, wght: 700)),
8787
textStyleErrorCode: kMonospaceTextStyle
88-
.merge(TextStyle(fontSize: kBaseFontSize, color: Colors.red.shade900)),
88+
.merge(const TextStyle(fontSize: kBaseFontSize, color: Colors.red)),
8989
textStyleInlineCode: kMonospaceTextStyle.merge(TextStyle(
9090
backgroundColor: const HSLColor.fromAHSL(0.08, 0, 0, 1).toColor())),
9191
textStyleInlineMath: kMonospaceTextStyle.merge(TextStyle(

0 commit comments

Comments
 (0)