You can use the dynamic class option for that. There you can write an if statement.
if $currentObject/status = Module.{enumname}.Completed then ‘classForCompleted’
else if $currentObject/status = Module.{enumname}.Approved then ‘classForApproved’
…
Then you add your classes (in this example ‘classForCompleted’ and ‘classForApproved’) in your main.scss or own scss file (picture) file like this:
.classForCompleted {
background-color: green;
}
.classForApproved {
background-color: cream;
}
.classForCreated {
background-color: red;
}