Commit graph

6 commits

Author SHA1 Message Date
788ef1dc8d
feat: update entire css pipeline
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.
2025-05-28 22:56:03 -07:00
0bd05de72f CSS Spring Cleaning (#3)
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m56s
Reviewed-on: #3
Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
2025-05-28 21:45:59 -07:00
Devin Haska
383e3e4c90 feat: update global font 2025-04-04 16:15:14 -07:00
Devin Haska
466183dcdc feat: increase max width a little 2025-04-04 14:25:45 -07:00
Devin Haska
2aa912399c feat: add postcss filter
All CSS processing is handled by the filter, and is now inlined into the
HTML
2025-03-16 12:07:31 -07:00
Devin Haska
6a84af0c37 feat: move all css to includes dir 2025-03-16 11:55:36 -07:00