diff --git a/agaric/templates/paragraph/paragraph--title.html.twig b/agaric/templates/paragraph/paragraph--title.html.twig index 0cf74c6..955f75b 100644 --- a/agaric/templates/paragraph/paragraph--title.html.twig +++ b/agaric/templates/paragraph/paragraph--title.html.twig @@ -42,13 +42,15 @@ set classes = [ 'hero', 'hero-project', - 'is-cinnamon', 'paragraph', 'paragraph--type--' ~ paragraph.bundle|clean_class, view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, not paragraph.isPublished() ? 'paragraph--unpublished' ] %} +{% if content.field_style_color %} + {% set classes = classes|merge(['is-'~content.field_style_color|render|trim]) %} +{% endif %} {% block paragraph %} {% block content %}