Why Not Use More CSS in TiddlyWiki?

Hi @oeyoews
Very nice! Have you ported Tailwind into TiddlyWiki?

Yes, at the beginning I used tailwindcss by manually building css, but that was too troublesome, and finally I decided to import tailwindcss (v3.3.1) directly through CDN, and I can also directly modify tailwind in tailwindcss. config.js for personalized configuration,I like the typography plugin of tailwindcss the most, because it is very friendly to typography,tailwindcss-with-typography.min.js has a size of about 434kb,I’m not sure if everyone will like this way (using tailwindcss framework at tiddlywiki) @Mohammad

1 Like

Great job!

Yes 434kB is a big size for TW, but the CSS only part is fine!
As Shiraz is based on Bootstrap (around 96kB, the Bootstrap part is around 35kB), I got used to it, but I see increasing use of TailWind around the web!

If want to reduce the final css size, you can only use purge, and the way of using cdn in tiddlywiki is just for convenience, and you don’t need to build it at any time