Background Color for Blue Slight option assigns incorrect class.

Created on 26 July 2019, over 5 years ago
Updated 23 September 2024, 7 months ago

The following Twig files are assigning the wrong class to the 'Blue Slight' background color option 'paragraph--default.html.twig (line 67)', 'paragraph--bp-columns-two-uneven.html.twig (line 66)' and 'paragraph--bp-columns-three-uneven.html.twig (line 66)'. It is assigning 'paragraph--color paragraph--color--rgba-black-strong' and it should be assigning 'paragraph--color paragraph--color--rgba-blue-slight'.

I am requesting help getting this into the next update, so I don't have to patch it manually in the future.

----

{# Renders Background field. #}
{# Sets class name from values in database. #}
{% if content.bp_background|render %}
{% set layout_background = content.bp_background['#items'].getString() %}
{% set layout_background_classes = [
'paragraph--color paragraph--color--rgba-black-slight' == layout_background ? 'paragraph--color paragraph--color--rgba-black-slight',
'paragraph--color paragraph--color--rgba-black-light' == layout_background ? 'paragraph--color paragraph--color--rgba-black-light',
'paragraph--color paragraph--color--rgba-black-strong' == layout_background ? 'paragraph--color paragraph--color--rgba-black-strong',
'paragraph--color paragraph--color--rgba-blue-slight' == layout_background ? 'paragraph--color paragraph--color--rgba-black-strong',

πŸ› Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sean.walker@nreca.coop

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024