diff --git a/lib/pangea/utils/bot_style.dart b/lib/pangea/utils/bot_style.dart index 3791c205e..1a3a2f8fb 100644 --- a/lib/pangea/utils/bot_style.dart +++ b/lib/pangea/utils/bot_style.dart @@ -19,11 +19,7 @@ class BotStyle { AppConfig.fontSizeFactor * (big == true ? 1.2 : 1), fontStyle: italics ? FontStyle.italic : null, - color: setColor - ? Theme.of(context).brightness == Brightness.dark - ? AppConfig.primaryColorLight - : AppConfig.primaryColor - : null, + color: setColor ? Theme.of(context).colorScheme.primary : null, inherit: true, );