needs some more thoughs and probably rework of the whole coloring
here, probably using more from the (dynamic) theme instead.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
child: ProxmoxStreamBuilder<PveTaskLogViewerBloc, PveTaskLogViewerState>(
bloc: Provider.of<PveTaskLogViewerBloc>(context),
builder: (context, state) {
+ // TODO: fix color (for dark theme) and better handle warnings
var indicatorColor = Colors.teal.shade500;
var statusChipColor = Colors.teal.shade100;
if (state.status?.failed ?? false) {
style: TextStyle(
color: isLast || errorLine
? Colors.white
- : Colors.black,
+ : warningLine
+ ? Colors.orange.shade800
+ : Colors.black,
),
),
),