[wp-trac] [WordPress Trac] #48713: Twenty Twenty: Social Icons Filter
WordPress Trac
noreply at wordpress.org
Fri Jun 18 21:37:04 UTC 2021
#48713: Twenty Twenty: Social Icons Filter
-------------------------------------------------+-------------------------
Reporter: JarretC | Owner:
| ianbelanger
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: Bundled Theme | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch commit has-dev-note dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by d3v4n5h):
* keywords: has-patch commit has-dev-note => has-patch commit has-dev-note
dev-feedback
Comment:
Hi. I read the themes field guide, a big thank you for the same. I could
not find a similar guide or documentation for this for Twenty Twenty One
theme. I had to search and figure out the names of the functions myself.
But that's fine. I have this dark icon for Telegram and I am trying to
change its colour to white. And I could not find a '''function to change
the colour of the SVG icon.''' Looks like the --global--color-primary is
making it --global--color-dark-gray which is "#28303d" hex code right now.
But I'm not really sure, as I'm not a PHP developer. As far as I can tell,
there is corresponding filter from Twenty Twenty theme's
twentytwenty_svg_icon_color in the Twenty Twenty One theme such as
twentytwentyone_svg_icon_color. You can see this on my website
https://DVNSH.com as I'll be keeping the testing child theme activated so
that you can help me troubleshoot this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48713#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list