Who is this guide for?
Any engineers who are building any form of GUI applications (web, mobile, desktop apps, etc).
What will this guide focus on?
This guide will focus on the looks, not on how your apps behave (user experience). There are resources out there that can serve you better on the latter.
Rule 1: Donât use Montserrat
- Use more âneutralâ fonts. If youâre not sure there are two safe options:
- Use the systemâs default font
- Inter
And as the title goes: Donât use the damn Montserrat (yes, I am looking at you, all the âcorporateâ sites).
- Serif font? Itâs hard to get it right. Avoid it if possible. If you have/want to:
- Use Serif for the headings/title, and Sans-Serif as the body text
- Serif follows the Sans-Serif, not the other way around
- If you build a site like gwern (or something with full of Serif font): be careful on the font weight!
- Use Serif for the headings/title, and Sans-Serif as the body text
Rule 2: Colors
- Donât use pure black (
#000
) or pure white (#fff
), unless you know what youâre doing (which you probably donât). - Donât reinvent the wheel on the colour set. Use TailwindCSS colour guides or something similar.
- This applies whether you use dark mode/light mode.
Rule 3: Icons? Be consistent!
- Be consistent. If you use outline, fill, or duotone, pick one and be consistent
- Donât be like Grok
Rule 4: Spacing
Remember this sequence:
1 - 2 - 4 - 6 - 8 - 10 - 12 - 16 - 18 -20 - 24 - 28 - 32 - 36 - 40 - 48 - 64 - 72 - 80 - 96
The important bit is: Except for 1
, thereâs no odd number spacing.
Rule 5: Opacity?
- Donât use it! Use a different colour instead (see rule #2).
References
I read this book a few years ago. I think itâs a good resource if you want to dive deeper into this.
Published on: