Skip to content

Commit b8cbdca

Browse files
#5756 Removed debug colors.
1 parent 52415cb commit b8cbdca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/css_box_widget.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class CssBoxWidget extends StatelessWidget {
110110

111111
return ClickableRichText(
112112
text: TextSpan(
113-
style: style.generateTextStyle().copyWith(background: Paint()..color = Colors.yellow),
113+
style: style.generateTextStyle(),
114114
children: children,
115115
),
116116
textAlign: style.textAlign ?? TextAlign.start,
@@ -134,7 +134,7 @@ class CssBoxWidget extends StatelessWidget {
134134
return ClickableRichText(
135135
text: TextSpan(
136136
text: style.marker!.content.replacementContent!,
137-
style: style.marker!.style?.generateTextStyle().copyWith(background: Paint()..color = Colors.green),
137+
style: style.marker!.style?.generateTextStyle(),
138138
),
139139
);
140140
}
@@ -149,7 +149,7 @@ class CssBoxWidget extends StatelessWidget {
149149
if (style.marker?.content.replacementContent?.isNotEmpty ?? false) {
150150
return TextSpan(
151151
text: style.marker!.content.replacementContent!,
152-
style: style.marker!.style?.generateTextStyle().copyWith(background: Paint()..color = Colors.red),
152+
style: style.marker!.style?.generateTextStyle(),
153153
);
154154
}
155155
}

0 commit comments

Comments
 (0)