BUG: incorrect code display style
This commit is contained in:
@@ -99,10 +99,11 @@ class MzansiAiProvider extends ChangeNotifier {
|
|||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
);
|
);
|
||||||
TextStyle code = TextStyle(
|
TextStyle code = TextStyle(
|
||||||
color: MihColors.getSecondaryColor(
|
color: Colors.black,
|
||||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
// MihColors.getBluishPurpleColor(
|
||||||
|
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w700,
|
||||||
);
|
);
|
||||||
BoxDecoration codeBlock = BoxDecoration(
|
BoxDecoration codeBlock = BoxDecoration(
|
||||||
borderRadius: BorderRadius.only(
|
borderRadius: BorderRadius.only(
|
||||||
@@ -111,7 +112,7 @@ class MzansiAiProvider extends ChangeNotifier {
|
|||||||
bottomLeft: Radius.circular(10),
|
bottomLeft: Radius.circular(10),
|
||||||
bottomRight: Radius.circular(10),
|
bottomRight: Radius.circular(10),
|
||||||
),
|
),
|
||||||
color: MihColors.getHighlightColor(
|
color: MihColors.getSilverColor(
|
||||||
MzansiInnovationHub.of(context)!.theme.mode != "Dark"),
|
MzansiInnovationHub.of(context)!.theme.mode != "Dark"),
|
||||||
boxShadow: [
|
boxShadow: [
|
||||||
BoxShadow(
|
BoxShadow(
|
||||||
|
|||||||
Reference in New Issue
Block a user