#Development #Guides
Giving up CSS pre/post-processors · Is it time to move on to native CSS? https://ilo.im/163dhy
_____
#ModernCSS #Sass #Less #Stylus #TailwindCSS #LightningCSS #Browser #WebDev #Frontend #CSS
#Development #Guides
Giving up CSS pre/post-processors · Is it time to move on to native CSS? https://ilo.im/163dhy
_____
#ModernCSS #Sass #Less #Stylus #TailwindCSS #LightningCSS #Browser #WebDev #Frontend #CSS
So, You Want to Give Up CSS Pre- and Post-Processors…, by @zellwk.bsky.social (@csstricks):
https://css-tricks.com/so-you-want-to-give-up-css-pre-and-post-processors/
Building / maintaining medium sized websites.
I use #sass to concatenate multiple files, one or two of mixins, and a couple of for loops and maps for generating some utility classes. I have largely switched to CSS vars / custom properties. Considering switching to #lightningCSS. Upsides: does minification and transpiling as well. Downsides: will have to write some code in a more manual fashion. What do you folks use ?
A short blog post about how to transform a DashedIdent with LightningCSS
#css #lightningcss #javascript
https://www.brocksi.net/blog/lightningcss-how-to-transform-a-dashedident/
I wrote about configuring @astro to use #LightningCSS, the #Rust #CSS parser in #MozillaFirefox, to handle all the CSS things. It's actually pretty simple. And fast
Post >> Using Lightning CSS with Hugo: back to the workaround • Why a clear separation between dev mode and prod mode made sense.
https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-back-workaround/
Post >> PurgeCSS joins my new styling stack • I stay in CLI City as I continue using Lightning CSS with my Hugo site.
https://www.brycewray.com/posts/2024/02/purgecss-joins-my-new-styling-stack/
(Restoring an earlier item that I briefly removed when I encountered, and subsequently fixed, a local glitch...)
Post >> Using Lightning CSS with Hugo — without workarounds • With a little tinkering, there’s no need for that PostCSS plugin I recently mentioned.
https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-without-workarounds/
New post >> Using Lightning CSS with Hugo • Does Hugo natively support Lightning CSS? No, but there’s a neat workaround for that.
https://www.brycewray.com/posts/2024/01/using-lightning-css-hugo/
We've built an #Elixir to ease the integration of #LightningCSS into Elixir projects. We are working on adding documentation and adding file-watching capabilities.