Essential CSS
JavaScript Roadmap
Learn JavaScript
Mastering Web Typography
Practical Astro
Understanding Async JS
Unorthodox Tailwind
API Masterclass
Build and Deploy
The Beginner Freelancer
Real World Node
Profile Billing Logout
Unorthodox Tailwind
Lesson Plan
  1. Introduction
    1. Introduction
    2. What Tailwind brings to the table
    3. Tailwind: The Good and The Bad
    4. The First and Most Important Step
    5. Simple Unorthodox System
    6. The System I Use
  2. Tailwind Fundamentals
    1. Introduction
    2. Installing Tailwind
    3. Using Tailwind utilities
    4. Understanding Tailwind’s utility system
    5. Understanding Tailwind values
    6. Understanding Tailwind variants
  3. Unorthodox Fundamentals
    1. Introduction
    2. Making Simple Tailwind Utilities
    3. Components vs Utilities
    4. Specificity, Cascade, and CSS Layers
    5. Debugging Tailwind Styles
    6. Composable Utility System
    7. Create lots of components
  4. Layouts System
    1. Tailwind is great for layouts
    2. Four Types of Layouts
    3. Building Shell Layouts
    4. Building Macro Layouts
    5. Better Responsive Variants
    6. A collection of maximum widths
    7. A note on grid wrappers
    8. Working with sections
    9. Building Micro Layouts
    10. Positioning Layouts
  5. Typography System
    1. Introduction
    2. A system for using multiple typefaces
    3. Tailwind's font-size system
    4. Finding your font-size system
    5. My font-size system
    6. A simple responsive typography system
    7. The main body
    8. Vertical rhythm
  6. Theming System
    1. Introduction
    2. Tailwind's colour system
    3. The pigment system
    4. Tailwind's gradient system
    5. A friendlier gradient system
    6. Handling SVG fill and stroke
    7. Improving Tailwind's colour palette
    8. A simple way to theme
  7. Useful Tools
    1. Introduction
    2. Making functional utilities
    3. Custom variants
    4. Scaffolding tools
    5. Extending Tailwind
  8. Effects System
    1. Introduction
    2. Vertical text
    3. Strikethrough text
    4. Text stroke
    5. Highlighting text
    6. Nicer shadows
    7. Transitioning shadows
    8. Drop shadows
    9. Dark mode tricks
    10. Gradient borders
    11. More effects to explore
  9. Putting Everything Together
    1. The Unorthodox Tailwind process
    2. The 4 systems combined
    3. Create components liberally
    4. Advanced tips
    5. My CSS Structure
    6. A Cheatsheet
    7. Consolidating your thoughts
    8. Parting words

Improving Tailwind's colour palette

3m:10s

Tailwind’s colours are a good starting point for a web design, but I argue you’ll almost never want to use them.

That’s because colours create differentiation. Differentiation creates distinction. And distinction creates identity.

You know it without me telling you:

  • Sites that use Bootstrap look like Bootstrap
  • Sites that use Tailwind look like Tailwind
  • Sites that use shadcn look like shadcn

The reason those sites look similar to the frameworks they’re built in, is not because they have to. It’s because the people who built them give away their design power to the frameworks themselves.

You have the power to design

Lots of people break the mold even if they use a framework.

Jack McDade is an example. He built sites with Tailwind, but the sites never look like Tailwind. He adds his own flair into everything he builds. And he has a course that teaches you how to design that way.

Jack McDade's personal site with the headline 'I'm tired of boring websites'
Jack’s personal site
Statamic's homepage with headline 'Build sites you're proud of, with a CMS you actually like'
Statamic’s site
Radical Design course homepage
The course I was talking about

I’ve been designing my way too.

Here is some of my work. I know I have lots of room for improvement — but at the very least, my sites have a distinct flavour different from most sites out there.

Zell's personal website (zellwk.com) homepage
Splendid Layouts homepage with headline 'Layouts has never been this simple'

There are only two things you need to change to make your site look unique. Just two:

  1. Typography
  2. Colours

You don’t have to master them — but you gotta start, if you don’t want your sites to look like everyone else and drown in the sea of sameness.

Accessibility concerns are not so concerning

Lots of work goes into creating accessible colour palettes. If you have read any of these writings about the amount of work that goes into doing something like this, you may have become overwhelmed.

Don’t be.

If you want to create a corner of the internet that looks like you (or your company), breathes like you, acts like you, and exudes fun like you do, then gotta do what you gotta do.

There are only two words you have to remember. Just two words and you’re set for accessibility (design-wise, at least).

Sufficient contrast.

That’s it.

No need to create a colour palette upfront

I find it’s impossible for me to pick a range of colours from 50 to 950, like what most frameworks give you up front.

So I pick up my colours as I go along.

For example, this site uses a lot of blue and yellow. But here are the only colours I picked:

CSS custom properties for yellow and blue colour scales using oklch
I skipped 300 and 400 on yellow

On another site (Splendid Labz), I use a lot of pink. But I don’t fill up the entire range too.

CSS custom properties for pink colour scale using oklch on Splendid Labz
I skipped 100 to 300 for pink on Splendid Labz

So it’s okay not to have the full colour range — you can just top up along the way.

Bring your colours to the world

This is not really a “lesson”, but more of a call for you to bring out your innate design talents into the world. Only you have the chance to bring it out — and I hope this helps as a wake-up call, or accelerates you towards the manifestation of your talents.