wonderfulfrog.com/src/pages
Devin Haska efcdb7296e
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m19s
Update CSS Pipeline (#4)
The goal of this change was to speed up my CSS pipeline. Previously builds would take up to 30s because it had to rebuild the CSS for every page (I inlined the CSS).

This updates the pipeline to remain somewhat the same, but offloads the busywork of computing my theme CSS (my design system in other words), and is replaced by a mostly static file (`css/global/lilypad.css`), which I can update as my design system changes.

I also offloaded several of my utility classes as I know I will want to use them in other sites I design, so it made sense to move them as well.

The new pipeline makes use of 11ty's bundle feature (newly included in 11ty v3), which allows me to bundle all my CSS together into one file. Since I know my core styles like `lilypad.css` will always remain the same, I decided to keep that inline. I use the `transforms` feature for bundling to run a PostCSS transform on the bundled output, which resolves any imports and minifies the final output.

In order to cut down my build times even further, I removed my XML minifier - it was taking upwards of 3 seconds to minify XML to probably a small benefit to end users.

Reviewed-on: #4
Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
2025-05-30 11:16:37 -07:00
..
books Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
feeds feat: update implementation of RSS feeds 2025-04-04 13:15:51 -07:00
fun Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
games Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
watching Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
404.html Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
about.md Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
blogroll.html Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
changelog.md Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
colophon.md fix: self-hosted forgejo url 2025-05-28 23:42:31 -07:00
contact.html Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
feeds.html feat: add a firehose feed 2025-01-27 21:29:42 -08:00
now.html Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
pages.json feat: reorg pages 2024-03-22 16:40:28 -07:00
podroll.html Update CSS Pipeline (#4) 2025-05-30 11:16:37 -07:00
posts.html feat: clean up filters 2025-04-04 13:50:46 -07:00
styleguide.html feat: convert colors to use oklch 2025-04-04 14:19:10 -07:00
tag.html feat: clean up filters 2025-04-04 13:50:46 -07:00
tags.html Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00
uses.md feat: update uses and add post about default app changes 2025-01-10 11:57:15 -08:00
webrings.html Update to Eleventy v3 (#11) 2025-01-27 18:23:38 -08:00