Hi @Abhijit I do not believe you would be able to create this as a theme as you are building a custom table and changing the colour of the cell depending if it is stopped or running. CSS would apply to the whole table not one column of a table. Hope this helps clarify things? Unless @BoSen29 has a magic trick for this? Iām saying no. Peace
This is the issue with using ā!importantā in your CSS files. Iāve learned to only use it as a āhotfixā as it overrides stuff down the line.
Iāve been wanting to redo the themes myself, but due to the testing demands and etc I havenāt gotten to it.
If you want to do it with theme, Iād recommend going with a class on the relevant elements and then targeting said class with CSS and utilizing the ā!importantā. Make sure to put it on the end of your theme, in order to overwrite anything else thatās being specified for the element.
If you have any issues, hit me up with some code and iāll be happy to help
Sorry I think my question was not clear. I meant to use this within my code along with default theme not within theme.
Turns out my IF condition was wrong. I was passing two properties in foreach to apply color. I was using {(_.State -ne "Running") -and (_.StartMode -ne āDisabledā)} in my IF condition. After removing second variable and putting it in where-object, I am getting color elements in table along with default themes available.