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:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user