The Discourse team has temporarily added the X logo as an available icon to allow communities to update their Twitter branding. JammyDodger provides steps to implement the change, including adding the icon to the SVG icon subset and creating a theme component with specific code. darkpixlz questions whether the upgrade to Font Awesome will be optional, expressing a preference for keeping the Twitter bird logo. tknospdr encounters issues implementing the change and seeks clarification. Moin confirms that the X icon is included in Font Awesome 6 and provides guidance on using the correct icon prefix. The discussion also touches on the potential confusion between HTML examples and Font Awesome branding icons.
We’ve temporarily added the X logo as an available icon in core Discourse to allow everyone to make the branding switch on their own. Upgrading the entirety of Font Awesome in Discourse is a very large project, so this is meant to allow a workaround in the mean time.
If you’re looking to make the change, you can follow these steps:
Add temporary-twitter-x to your svg icon subset site setting
Create a new theme component and add the following code to the noted sections:
When this eventually happens, will it be optional? I don’t care what Elon says, I’m calling it Twitter, it is not “x”, and I’m keeping it that way on my sites. The logo looks bad anyways, I want to keep the bird.
That’s good to know, but when I tried with the ‘x-twitter’ icon, it gave me an empty blank space. When I added ‘fa-x-twitter’ to the list of SVG icons, there was no change.
What should I be doing to make it show up officially?