Request: Social Icons: icon color, use variable instead of hex code #36462
Labels
[Block] Social
Affects the Social Block - used to display Social Media accounts
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Currently when adding a Social Icons block and changing either the icon color or icon background color, the selected color is added using the color's hex code, rather than the global color variable.
What is your proposed solution?
Use the global color variable instead of the hex code.
This would be hugely benefical for child themes, or when editing a global color in the color palette.
For example a parent theme has a template part containing the Social Icons block, with either the icon or background color using a theme color. A child theme would then be able to use a different color palette (with same color names) and the social media icons would display in the correct color for that child theme, rather than the hardcoded hex color of the parent theme.
Another example is when a user edits the global color styles to change the color, currently they would also have to edit all templates, pages, posts etc where the Social Icons block is in use, and manually change the icon/background color to the correct color.
The text was updated successfully, but these errors were encountered: