Highlight text to Tweet it

Curious how to make a "Medium like" interaction of highlighting text to Tweet it? 
Just highlight this text, and then click the Tweet button to Tweet it 😄

Clone this project ➞

Add this custom code to your site

This custom code will bring in a button that pops up when you highlight text on the page.
How do I style the Tweet button though?

Style the "Tweet" button

Style the button below to change what the "Tweet" button looks like when you highlight text.
How do I change the highlight color of the text?

Change the highlight color

Just change the hex code below to include the corresponding color of the text you'd like.
Then copy and paste the code into the head of site wide settings.
Assembled with 💜 by WaldoSource Code from Aterkik