3 ms·
I’ve been trying out fasthtml as a more scalable prototyping tool for a side project. I’ve really enjoyed using it! I tried gradio first, but 1. didn’t like t
by lyjackal 2y ago
I’ve been trying out fasthtml as a more scalable prototyping tool for a side project. I’ve really enjoyed using it! I tried gradio first, but 1. didn’t like the look, and 2. You can’t really go off the beaten path. So far I’ve really enjoyed working with fast HTML and htmx. Honestly my biggest complaint on working with “Python-only” dev has been the CSS. I wanted to give the app an easy, but unique/customized look. Most CSS libraries expect to be part of a JS based build pipeline for any type of customization. bootstrap still requires scss customizations, tailwind is its own thing of configuration, pre-processors and tree shaking. Really wish there was a robust css library that relied on css-variables to customize. There are a few but they’re relatively anemic. Anyone know of any good options out there that would be a good fit, or did tailwind just eat everything up?
- jph00 2y agoThis might sound kinda retro/boring, but I've been really enjoying Bootstrap v5 -- it's come a long way! https://about.fastht.ml/ https://about.fastht.ml/ is written with it. I've started creating a FastHTML wrapper for bootstrap here: https://github.com/AnswerDotAI/fh-bootstrap https://github.com/AnswerDotAI/fh-bootstrap
- K0SM0S 2y agoPico CSS¹ essentially works like that, so you can hard-override any of its exposed variables² to suit your needs. I discovered it through FastHTML (it was the CSS Jeremy and Johno Whitaker used in their first-ever demo³ early June), and find the 'dx' simple, stupid, in a great way. ---- ¹ https://picocss.com/ https://picocss.com/ ² https://picocss.com/docs/css-variables#all-css-variables https://picocss.com/docs/css-variables#all-css-variables ³ https://youtu.be/ptRaku0zyeA https://youtu.be/ptRaku0zyeA