Re-use and override TailwindCSS Configuration

TailwindCSS is hands-down my most useful CSS tool of 2017. It’s a fantastic helper to create utility-first CSS. I’ve been working with it since its first public release and I’m still more than happy to have it.

Today I found out a way to make it even more useful. Say you’re having a Parent Theme that you use for a lot of projects, where each project implements a child theme that needs to adjust properties such colors, breakpoints or font stacks. That’s as simple as requiring your Parent Theme’s tailwind.js, override or add properties and export the adapted config.

const config = require('../parent_theme/tailwind');

config.colors['grey'] = '#eee'
config.screens['md'] = '32em'

module.exports = config;


Composer PHP Memory Limit on MAMP Pro

With every PHP update MAMP Pro adds an updated `php.ini file, so previous adaptations are lost after upgrading.

Interestingly, editing a specific PHP versions config file (via File > Edit Template > PHP -> [Version]) doesn’t have any effect on MAMP’s PHP used on the command line. To increase the PHP limit to be able to work with Composer I did the following:

  1. Find the current memory_limit value by running:
    php -r "echo ini_get('memory_limit').PHP_EOL;“
  2. Find out which php-ini is currently loaded on the command line by running:
    php -r 'phpinfo();' | grep 'php.ini'
  3. Update that config file

Rinse and repeat with every MAMP update.

Spotify is terrible for Audio Books and Podcasts

When I impulsively re-subscribed to Spotify Premium last week it was for listening to and finding new music. All the more I was pleasantly surprised when I discovered a bigger-than-expected selection of audio books being available on Spotify these days. I found myself thinking about weather this could even justify canceling my Audible subscription and stick with Spotify for the long run (I’m not sure yet if I want to pay for both services on a constant basis). Continue reading

Design Better

Discover. Learn. Elevate.
Introducing the best practices, stories, and insights from the world’s top design leaders. Loaded with in-depth books, podcasts, and more, DesignBetter.Co is your essential guide to building remarkable products and teams.

The Missing Journaling Workflow

Of the difficulty to drop Day One

When I first heard of my Day One becoming a subscription service I – once again – started to reconsider how I want to keep my journal.

I’ve been using Day One for years and I’m really grateful for who they made regular journaling work for me. It’s hard to argue that whatever kind of journal system one employs: it’s worthless if you don’t actually use it. Continue reading