Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-hugo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: 1.3.13

- name: Cache Bun dependencies
uses: actions/cache@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: 1.3.13
- run: bun install --frozen-lockfile

# Use Bun as the "node" runtime for Hugo's PostCSS pipeline.
Expand Down
8 changes: 8 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ const purgecss = createPurgeCss({
"jt-active",

"comment-link",

// Brand CTA buttons — MUST NEVER be purged. These rules live in
// navigation.css and define the JT Ruby red (#cc342d) override
// for .btn-primary and a.fl-button (homepage hero, Contact Us nav,
// free-consultation CTAs). PurgeCSS in CI has been observed
// removing them despite hugo_stats.json containing the class —
// explicit safelist guards against that drift.
"btn", "btn-primary", "fl-button", "fl-button-wrap", "action-button",
],

deep: [
Expand Down
Loading