[GrandComicsDatabase/gcd-django] Upgrade Tailwind CSS to v4 (PR #775)

7 views
Skip to first unread message

Simone Nardi

unread,
Sep 27, 2026, 4:58:37 PM (3 days ago) Sep 27
to GrandComicsDatabase/gcd-django, Subscribed

Summary

  • upgrade the standalone Tailwind CSS toolchain from v3.4.1 to v4.3.3 inside the existing web image
  • migrate configuration to Tailwind v4 CSS-first directives with explicit Django template sources
  • keep Python-generated class names in templates/gcd/tailwind_generated_classes.html instead of scanning Python files
  • update order-sensitive variants and renamed/important utilities for Tailwind v4
  • regenerate static/css/output.css inside Docker

No Node.js installation or separate Tailwind container is introduced. compose.yaml, requirements.txt, and the forum app are unchanged.

Verification

  • docker compose build web
  • docker compose run --rm --no-deps web tailwindcss -i static/css/input.css -o static/css/output.css
  • python -m pytest apps/gcd/tests/test_dev_environment_core.py - 10 passed
  • python manage.py check - no issues
  • all 11 changed Django templates parsed successfully
  • regenerated CSS matched a clean container build byte-for-byte

Technical debt

static/css/input.css still contains the historical shared components implemented with Tailwind @apply. Moving every component to inline utility classes is intentionally left for a separate refactor because it affects more than 70 templates plus HTML assembled in Python.


You can view, comment on, or merge this pull request online at:

  https://github.com/GrandComicsDatabase/gcd-django/pull/775

Commit Summary

  • 1d97069 Upgrade Tailwind CSS to v4

File Changes

(19 files)

Patch Links:

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775@github.com>

Simone Nardi

unread,
Sep 27, 2026, 5:08:30 PM (3 days ago) Sep 27
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 93444d9 Merge remote-tracking branch 'upstream/beta' into update/tailwind-v4

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/1d97069a2e58b0332f346ffceb0ce628eaaa431b/after/93444d953027461edff4aaefc6f0d22fa03c2880@github.com>

Simone Nardi

unread,
Sep 28, 2026, 12:10:03 AM (3 days ago) Sep 28
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 3846ebe Replace Tailwind components and manual class inventory with discoverable utilities

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/93444d953027461edff4aaefc6f0d22fa03c2880/after/3846ebe0ac0fef396ea7f50b79d7e704898a9518@github.com>

Simone Nardi

unread,
Sep 28, 2026, 7:44:10 AM (3 days ago) Sep 28
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • d7f0032 Fix second-pass hover and submission validation regressions

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/3846ebe0ac0fef396ea7f50b79d7e704898a9518/after/d7f0032528857223f834221179f74ca80b422465@github.com>

Simone Nardi

unread,
Sep 28, 2026, 2:48:05 PM (2 days ago) Sep 28
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 832463f Merge remote-tracking branch 'upstream/beta' into update/tailwind-v4

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/d7f0032528857223f834221179f74ca80b422465/after/832463f25987f5d0b82114287f6e0cb476b89a4f@github.com>

Simone Nardi

unread,
Sep 30, 2026, 5:48:55 AM (20 hours ago) Sep 30
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 43dfbdb Fix Tailwind template dependencies and monthly on-sale navigation

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/832463f25987f5d0b82114287f6e0cb476b89a4f/after/43dfbdb5b8224ebe35955a4c4fe5ed12ffb1d61b@github.com>

Simone Nardi

unread,
Sep 30, 2026, 10:59:24 AM (15 hours ago) Sep 30
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • aa83a22 Finish Tailwind migration audit and enforce reproducible CSS builds

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/before/43dfbdb5b8224ebe35955a4c4fe5ed12ffb1d61b/after/aa83a227a8f9e74ff54ab56c6e7b82951f508c04@github.com>

Simone Nardi

unread,
Sep 30, 2026, 11:14:14 AM (15 hours ago) Sep 30
to GrandComicsDatabase/gcd-django, Subscribed
ProfNardi left a comment (GrandComicsDatabase/gcd-django#775)

Final file verification to establish a single dependency with configuration settings, as in the previous version of Tailwind:

<div cover class="min-w-[100px] sm:min-w-[150px] w-[200px] md:w-[200px] md:w-[204px] w-[150px] w-[154px] p-[2px] sm:w-[200px]"></div>
<div portrait class="border-2 w-[150px]"></div>
<div status_tables class="basis-24 basis-48 basis-90 basis-96"></div>
<div class="gap-x-8 max-w-48 data-label invisible [&>a]:visited:text-link-gcd rounded-full sm:text-right text-left opacity-0 ease-in-out delay-100 duration-300 absolute transition-opacity group-hover:opacity-100"></div>
<th class="lg:w-64 text-right w-36 lg:w-44">
<td class="text-red-700">
<input class="w-3/4 w-full md:w-3/4 lg:w-3/4 lg:w-4/5 text-blue-900">
<td class="max-h-60 border-gray-500 italic min-w-4/5 tab-pane tailwind-tab">
<table class="tab-pane list-[lower-alpha]">
	<li class='align-top text-green-500 text-red-500 bg-stone-300 markdownx-preview markdownx'>
		<svg class="mb-0.5 h-5 w-5 w-[100px]"></svg>
// notice
<div class="border-orange-400 bg-orange-400">

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/775/c5913837961@github.com>

Reply all
Reply to author
Forward
0 new messages