[1.0.1] Highlight pattern uses callout class for color_schema

Created on 16 July 2024, about 2 months ago
Updated 17 July 2024, about 2 months ago

Problem/Motivation

There is a typo in the Highlight pattern: when we define a color_schema, the pattern uses the class fr-callout--XXX instead of fr-highlight--XXX

{% if color_schema %}
  {% set attributes = attributes.addClass('fr-callout--' ~ color_schema) %}
{% endif %}
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France spryah

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024