I have a Carousel on a page with some slides. The author can edit the slide's content in the experience editor. i.e. He can change the text and the background image. However, he cannot change the font color through the editor. So the default font-color in the css class, applied to the title field is white. If the author uses an image with a white background, the text is barely visible. How could I allow the author to change the font color in the experience editor for the slide's title field? Maybe allow him to choose from a variant of the title field with a different css class? Except, I don't know how to create a variant for the title field.
You have few options here:
Carousel Slide by default contains Page Content inside which is using variant configured to display fields from carousel slide. You can of course easily change the variant and display whatever you want. If you need more information's about rendering variants take a look here