Article backgrounds
Note
This feature is only available from 0.1 theme version 2.1.0 (Contao 5) or 1.11.0 (Contao 4).
You can change the background and text color of an article with classes.
The following classes are available for the background:
bg-zeroone-2(Primary Color Dark)bg-zeroone-3(Primary Color Light)bg-zeroone-4(Primary Color Darken)bg-darkbg-graybg-lightbg-successbg-warningbg-error
The following classes are available for the text color:
text-primarytext-secondarytext-darktext-graytext-lighttext-successtext-warningtext-error
More information: Spectre documentation
Example
Adding the classes in the article settings:
This is what it would look like in the front end:

