Skip to content

Commit 56577b3

Browse files
committed
更改背景色
1 parent 123b013 commit 56577b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/widget/GSYMarkdownWidget.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class GSYMarkdownWidget extends StatelessWidget {
4343
}
4444

4545
_getStyleSheetDark(BuildContext context) {
46-
return _getCommonSheet(context, Color(GSYColors.primaryValue)).copyWith(
46+
return _getCommonSheet(context, Color.fromRGBO(40, 44, 52, 1.00)).copyWith(
4747
p: GSYConstant.smallTextWhite,
4848
h1: GSYConstant.largeLargeTextWhite,
4949
h2: GSYConstant.largeTextWhiteBold,
@@ -58,7 +58,7 @@ class GSYMarkdownWidget extends StatelessWidget {
5858
}
5959

6060
_getStyleSheetWhite(BuildContext context) {
61-
return _getCommonSheet(context, Color(GSYColors.primaryValue)).copyWith(
61+
return _getCommonSheet(context, Color.fromRGBO(40, 44, 52, 1.00)).copyWith(
6262
p: GSYConstant.smallText,
6363
h1: GSYConstant.largeLargeText,
6464
h2: GSYConstant.largeTextBold,
@@ -72,7 +72,7 @@ class GSYMarkdownWidget extends StatelessWidget {
7272
}
7373

7474
_getStyleSheetTheme(BuildContext context) {
75-
return _getCommonSheet(context, Color(GSYColors.subTextColor)).copyWith(
75+
return _getCommonSheet(context, Color.fromRGBO(40, 44, 52, 1.00)).copyWith(
7676
p: GSYConstant.smallTextWhite,
7777
h1: GSYConstant.largeLargeTextWhite,
7878
h2: GSYConstant.largeTextWhiteBold,

0 commit comments

Comments
 (0)