hyva-compile-tailwind-css

Compile Tailwind CSS for Hyvä themes in Magento 2.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Happy-Horizon/cursor-marketplace --skill hyva-compile-tailwind-css-happy-horizon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hyva-compile-tailwind-css
Source: https://github.com/Happy-Horizon/cursor-marketplace/tree/main/plugins/hyva-ai-tools/skills/hyva-compile-tailwind-css
Command: npx skills add https://github.com/Happy-Horizon/cursor-marketplace --skill hyva-compile-tailwind-css-happy-horizon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compile Tailwind CSS for Hyvä themes in Magento 2. This skill helps you build production-ready or development CSS without manual setup, aligning styles with Hyvä's frontend.

Core Features & Use Cases

  • Detect environment and identify the target theme automatically.
  • Install dependencies and run a production build or enable watch mode for live updates.
  • Verify the compiled CSS output at the default location and surface common troubleshooting steps.

Quick Start

Provide the target theme path or let the skill auto-detect from app/design/frontend, then trigger a production build or enable watch mode.

Frequently Asked Questions about hyva-compile-tailwind-css

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile Tailwind CSS for a Hyvä theme in Magento 2?

To compile Tailwind CSS for a Hyvä theme in Magento 2, trigger a production build or development watch mode. The process auto-detects the target theme, installs npm dependencies, and outputs the final stylesheet to the theme's web/css/styles.css directory.

What is the best way to automate Tailwind CSS builds for Magento 2 Hyvä themes?

Automating Tailwind CSS builds for Magento 2 Hyvä themes involves using a watch mode for live development updates and a production build for deployment. The automation handles theme discovery and dependency installation to generate the required CSS file.

Does compiling Tailwind CSS for Hyvä themes require manual npm dependency installation?

Compiling Tailwind CSS for Hyvä themes does not require manual npm dependency installation. The build process automatically installs necessary npm packages before running the CSS build or watch command.

Where does the compiled Tailwind CSS file output for Hyvä Magento 2 themes?

The compiled Tailwind CSS file for Hyvä Magento 2 themes outputs to the default location at <theme-path>/web/css/styles.css. This aligns the generated styles with the Hyvä frontend architecture.

Can I use watch mode for live Tailwind CSS updates in a Magento 2 Hyvä theme?

Yes, you can enable watch mode to get live Tailwind CSS updates during development in a Magento 2 Hyvä theme. This mode continuously rebuilds the stylesheet as you modify your theme files.

Why is my Hyvä theme Tailwind CSS build not working?

If your Hyvä theme Tailwind CSS build is not working, verify environment detection and theme discovery from app/design/frontend. The build process requires proper environment detection and valid theme paths to install dependencies and compile styles successfully.