4 minute read
It’s been a busy month! I’ve gone all in on Tailwind CSS, launched a new product, and started building a newsletter. Here’s what’s been keeping me busy.
I’ve been playing around with Tailwind CSS for a little while and finally hit that sweet spot in the learning curve where the magic happens. So, obviously, I’ve become completely obsessed with the framework and am rewriting everything.
First to get the Tailwind treatment is this site, Masilotti.com. I tweaked my colors a bit so they aren’t so aggressively lime green, bumped up the font size, and toned down the contrast a bit. For context, it took me one weekend to convert my site to Tailwind CSS.
All the posts should have migrated over but let me know if anything looks off. How? By opening a PR, of course. Because Masilotti.com is officially open source!
It was awesome to see the first PR bump my Lighthouse scores up to a perfect 100. Thanks again @peterpeterparker.
TailwindCSS colors in SwiftUI
import TailwindCSS_SwiftUI // light green Theme.Color.green200 // dark orange Theme.Color.orange700
I found that I was copy and pasting these for a bunch of different projects so it saves me a few keystrokes every day. And the colors work really well together, so it saves even more time when prototyping.
I have a confession. I didn’t publish my last blog post for a few days because I couldn’t find the perfect stock photo. I eventually settled for something, hit publish, and stepped away.
Then, as per usual, a great idea hit me in the shower. What if I could automatically generate social images? And so Mugshot Bot was born.
The tiny service does one thing and does it well: automates social images for your blog. You punch in a URL and out pops an image. It scrapes the
og:description, picks a color and pattern, and out pops your image.
Here’s an example. I set this page’s
https://www.mugshotbot.com/m?url=https://masilotti.com/tailwind-css-and-mugshot-bot/ and Mugshot Bot created this image for me.
I don’t even have to download the image as it is hosted on S3 automatically. Which means I can automate images for my entire site in like five minutes.
Up next are customizations, dark mode, and premium templates.
I’m planning on releasing little updates like this every couple of weeks. I’d love to hear if this was interesting and if you want to learn more. Let me know what you think by sending me a message on Twitter or an email.
I’ve also saved the best for last — I officially have a newsletter! Sign up for my thoughts on testing, development, and behind-the-scene looks at what I’m building.