Menu

Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more
📰

Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more

DEV Community: css·Daniel Pertu·3 days ago
#wrN2jaU8
#devtocss#devto#dev#fafafa#neutral
Reading 0:00
15s threshold

Notifio is two codebases that have to look like one product: a Next.js marketing site, and an Electron desktop app whose UI is React. Both are dark, both use Tailwind, and the app is supposed to feel like the thing the website is showing you.

Neither of them defines a single colour token. I went and counted what they define instead.

grep -rhoE '#[0-9a-fA-F]{3,8}\b' server/src app/src | wc -l

Enter fullscreen mode

Exit fullscreen mode

1,216 hex literals. 62 distinct values. 887 on the website, 329 in the desktop renderer, and 92 of the website's inside seven HTML email templates.

Both projects use Tailwind v4.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.