The priority of CSS rules

Declarations that are not overridden are still valid. This mechanism allows you to write default declarations for common objects and to refine customization with rules that apply to more specialized objects in the model by overriding the default declarations.
In the following example, business objects of class Alarm have a label with a yellow background when the attribute perceivedSeverity is 0 , and a white background when this attribute has a different value.

How to customize the representation of an object depending on a specific value

object.Alarm {
    label: @identifier;
    labelBackground: white;
}

object.Alarm[perceivedSeverity=0] {
    labelBackground: yellow;
}