BUG: incorrect code display style
This commit is contained in:
parent
8704d4dd64
commit
d3fdc83373
1 changed files with 5 additions and 4 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue