scottyaslan commented on code in PR #8294:
URL: https://github.com/apache/nifi/pull/8294#discussion_r1470034592
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/processor-manager.service.ts:
##########
@@ -669,20 +669,20 @@ export class ProcessorManager {
// update the run status
updated
.select('text.run-status-icon')
- .attr('fill', function (d: any) {
- let fill: string = '#728e9b';
+ .attr('class', function (d: any) {
+ let clazz: string = 'primary-500';
if (d.status.aggregateSnapshot.runStatus === 'Validating') {
- fill = '#a8a8a8';
+ clazz = 'warn-contrast-300';
} else if (d.status.aggregateSnapshot.runStatus === 'Invalid')
{
- fill = '#cf9f5d';
+ clazz = 'accent-A200';
} else if (d.status.aggregateSnapshot.runStatus === 'Running')
{
- fill = '#7dc7a0';
+ clazz = 'accent-200';
} else if (d.status.aggregateSnapshot.runStatus === 'Stopped')
{
- fill = '#d18686';
+ clazz = 'warn-200';
}
- return fill;
+ return clazz;
Review Comment:
Great catch! I have updated these in my latest commit. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]