Skip to content

[Advanced]: Upgrade to tailwindcss from 3.4.19 to 4.2.1+ #253

@exploreriii

Description

@exploreriii

🧠 Advanced Contributors

This issue is intended for contributors who are already very familiar with the
Hiero Website codebase and its architectural patterns.

You should feel comfortable with:

  • Netlify previews and tests
  • Hugo content, layouts, templates, and shortcodes
  • The full Hiero website structure and build process
  • Reviewing changes holistically, not file-by-file
  • Anticipating downstream and maintenance impact
  • Communicating design decisions clearly in PRs

New developers should start with
Good First Issues or Beginner Issues first.

🐞 Problem Description

We should be using a latest version of https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss

bump tailwindcss from 3.4.19 to 4.2.1

Unfortunately, we are currently using quite an old version which means a lot may have changed.
The build might not work correctly by upgrading to 4.2.1 all in one go.

💡 Proposed / Expected Solution

We should try to upgrade to the recent release https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss, but in this process, upgrade any other complementary packages or fix any build issues.

🧠 Implementation & Design Notes

This might be a sensitive upgrade and we will have to check what might need to change

✅ Acceptance Criteria

To merge this issue, the pull request must:

  • Fully address the problem and design goals described above
  • Maintain backwards compatibility unless explicitly approved otherwise
  • Follow existing architectural and coding conventions
  • Include comprehensive tests covering new and existing behavior
  • Update relevant examples and documentation
  • Pass all CI checks
  • Include a valid changelog entry
  • Use DCO and GPG-signed commits

📚 Additional Context, Links, or Prior Art

Optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions