Skip to content

Replace custom text-Nxl-Mxl utilities with Tailwind prefixes#619

Merged
dschrempf merged 6 commits into
haskellfoundation:hakyllfrom
dschrempf:dom/text-size
Jul 13, 2026
Merged

Replace custom text-Nxl-Mxl utilities with Tailwind prefixes#619
dschrempf merged 6 commits into
haskellfoundation:hakyllfrom
dschrempf:dom/text-size

Conversation

@dschrempf

@dschrempf dschrempf commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

This is the mentioned followup:

Swap each hand-kept text-Nxl-Mxl class in templates/content pages for standard text-* + responsive prefixes, adding leading-* where the old ramp's explicit line-height didn't match Tailwind's default, then drop the now-unused rules from main.css.

Also:

  • Remove stale empty table in partnerships tile
  • Remove unused top-level event/partnerships templates

@dschrempf
dschrempf requested review from LaurentRDC and jmct July 13, 2026 13:52
@LaurentRDC

Copy link
Copy Markdown
Contributor

I'm not familiar with Tailwind, but anything to simplify this repo is good in my books!
Sorry for creating the conflict; I made a section of a template optional since Jose is no longer listed as actice.

@dschrempf

Copy link
Copy Markdown
Collaborator Author

Thanks. I am still simplifying the templates. This is all a bit "clunky" to say the least.

Swap each hand-kept text-Nxl-Mxl class in templates/content pages for standard
text-* + responsive prefixes, adding leading-* where the old ramp's explicit
line-height didn't match Tailwind's default, then drop the now-unused rules from
main.css.
The comment/table was copy-pasted from events/tile.html but never
got the tr/td content filled in; partnerships items have no
date/location fields, so it was rendered as a meaningless empty <table>.
Neither templates/event.html nor templates/partnerships.html is
referenced from site.hs or any $partial$ call; they're leftover
drafts superseded by templates/events/page.html and
templates/partnerships/page.html.
Drop the responsive leading-snug/leading-tight stepping and
leading-relaxed on paragraphs; Tailwind's per-size line-heights are
close enough that the explicit overrides were mostly redundant.
Keep a single leading-tight on headings that render unbounded
template content ($title$/$episode$/$category$), since those can
wrap. Add explicit margin around the projects/list.html status
labels, which had been relying on line-height as a spacing hack.
@dschrempf

Copy link
Copy Markdown
Collaborator Author

I am merging this, since it does not contain any change of content.

It does, however, change the CSS, so if you detect any glitches, let me know. (I couldn't find any).

@dschrempf
dschrempf merged commit 51564de into haskellfoundation:hakyll Jul 13, 2026
1 check passed
@dschrempf
dschrempf deleted the dom/text-size branch July 13, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants