Restore green/red/blue run status colours

The Material cleanup mapped run states to theme roles, which made
succeeded runs use tertiary (reddish in the app theme).
This commit is contained in:
2026-11-11 23:25:54 +00:00
parent fa95c2fcae
commit b264043eee
2 changed files with 14 additions and 11 deletions
@@ -27,8 +27,8 @@ void main() {
expect(graphStatusState('waiting'), 'waiting');
expect(graphStatusState('mystery'), 'unknown');
const scheme = ColorScheme.light();
expect(runStatusColor('succeeded', scheme), scheme.tertiary);
expect(runStatusColor('waiting', scheme), scheme.secondary);
expect(runStatusColor('canceled', scheme), scheme.onSurfaceVariant);
expect(runStatusColor('succeeded', scheme), const Color(0xFF34C759));
expect(runStatusColor('waiting', scheme), const Color(0xFFFFCC00));
expect(runStatusColor('canceled', scheme), const Color(0xFF8E8E93));
});
}