Skip to content

🐛 Compatibility error with Hyva Theme 1.4 + Tailwind CSS 4 #386

@rhoerr

Description

@rhoerr

I have a fresh install with Hyva Theme 1.4.0 (released today), Snowdog Menu 2.29.0, and PHP 8.4. The new Hyva version adds Tailwind 4 support, and that appears to have a compatibility issues with this module:

$ npm run watch --prefix=app/design/frontend/vendor/theme/web/tailwind/

> @hyva-themes/magento2-default-theme@3.0.0 prewatch
> npm run generate


> @hyva-themes/magento2-default-theme@3.0.0 generate
> npx hyva-sources && npx hyva-tokens


> @hyva-themes/magento2-default-theme@3.0.0 watch
> npx tailwindcss -i tailwind-source.css -o ../css/styles.css --watch

≈ tailwindcss v4.1.12

Error: Cannot apply unknown utility class `hover:snowdog-menu-text-hover`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions