(Horizon 4.2) Bug: Social media links block icon color setting has no effect

Selecting a color in the Social Media Links block has no effect on the fill color of the icons.

Steps to reproduce

  1. In the footer, add a group block (or any section other than Footer utilities) and add a Social media links block inside it.
  2. Add a link (e.g. Instagram) and choose a Color in the block settings.
  3. Look at the icon on the storefront or in the editor.

Expected:

The icon uses the chosen color.

Actual:

The icon keeps the inherited text color. The setting has no effect.

Suggested fix:

Set color in the block’s style rule:

.social-icons__wrapper--{{ block.id }} {   
  --color-utilities: {{ block.settings.icon_color }};   
  color: {{ block.settings.icon_color }}; 
}

Hi, @chris_sorrentino
Use this.
{%- if block.settings.icon_color != blank -%} .social-icons__wrapper--{{ block.id }} { --color-utilities: {{ block.settings.icon_color }}; color: {{ block.settings.icon_color }}; } .social-icons__wrapper--{{ block.id }} a, .social-icons__wrapper--{{ block.id }} svg { color: inherit; } {%- endif -%}

I’ve fixed this locally, I just wanted to flag this as unexpected behavior since the theme has a color selector for the icons but doesn’t work. Ultimately the shopify team would have to incorporate any fix if they also believe this is a bug