Design color

This commit is contained in:
Christian Pauly 2020-03-13 22:12:46 +01:00
parent 0ce9635e8d
commit bac298bf75

View File

@ -18,13 +18,13 @@ class StateMessage extends StatelessWidget {
), ),
child: Bubble( child: Bubble(
elevation: 0, elevation: 0,
color: Theme.of(context).backgroundColor.withOpacity(0.5), color: Theme.of(context).backgroundColor.withOpacity(0.66),
alignment: Alignment.center, alignment: Alignment.center,
child: Text( child: Text(
event.getLocalizedBody(context), event.getLocalizedBody(context),
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
color: Theme.of(context).primaryColor, color: Theme.of(context).textTheme.body1.color,
decoration: event.redacted ? TextDecoration.lineThrough : null, decoration: event.redacted ? TextDecoration.lineThrough : null,
), ),
), ),