Skip to main content

How To Replace the Twitter “Heart” Button With A Donut (Or Whatever You Want)


Today, Twitter replaced their star-shaped “Favorite” button with a heart-shaped “Like” button. I don’t like the change, personally — it symbolizes how little control we all have over the massive changes that social media companies make on a whim. But no longer, my friends! Gizmodo just published a little guide on how to replace the heart button with an emoji of your choice. You’ll have to install a browser extension called “Stylish,” which is pretty easy to use, even for someone like me who knows barely anything about code.

You’ll have to create a new “Style” for each change you want to implement, which Gizmodo doesn’t do a very good job explaining, but now I feel like an expert because I’ve created not one but two styles. I followed all of Gizmodo’s instructions for creating my first donut-inspired Twitter style — although Gizmodo’s guide isn’t quite perfect! For example, you must put straight apostrophes around the emoji in the code rather than the curly apostrophes that they have in their article. The code won’t work if you don’t. (This is not an error on the part of the original person who wrote the code, of course — their code looks just fine, so you might want to use that tweet as a guide.)

I noticed that using the code in that article won’t replace hearts with donuts across the board, though. I still had little hearts showing up all over my notifications column, and I wanted to replace those with donuts, too! So, I created a new style using the same code, except with one variation. Rather than replacing the icon titled “HeartAnimationContainer,” I wanted to replace the one called “Icon–heartBadge” — as you can see below.

Screen Shot 2015-11-03 at 5.49.36 PM

It worked!! Now my Twitter feed and my notifications column are filled to the brim with delicious virtual donuts.

I’m pretty new at all of this stuff, so if anyone has any idea how I can replace “so-and-so Liked your tweet” with “so-and-so gave you a donut,” let me know. Or, I’ll just figure it out myself and update this post.

(via Gizmodo, image via Twitter)

—Please make note of The Mary Sue’s general comment policy.—

Do you follow The Mary Sue on Twitter, Facebook, Tumblr, Pinterest, & Google +?

Have a tip we should know? [email protected]

Filed Under:

Follow The Mary Sue:

Maddy Myers, journalist and arts critic, has written for the Boston Phoenix, Paste Magazine, MIT Technology Review, and tons more. She is a host on a videogame podcast called Isometric (, and she plays the keytar in a band called the Robot Knights (