# `MishkaChelekom.Generators.Assets`
[🔗](https://github.com/mishka-group/mishka_chelekom/blob/v0.0.9/lib/mishka_chelekom/generators/assets.ex#L1)

Vendor asset wiring shared by the generator tasks: copying component JS engines into
`assets/vendor/`, wiring them into `mishka_components.js` + `app.js`, and installing the
styled / headless stylesheets with their `app.css` imports.

# `setup_headless_css`

```elixir
@spec setup_headless_css(
  Igniter.t(),
  keyword()
) :: Igniter.t()
```

Installs the functional (color-free) headless base stylesheet and imports it once into
`app.css`. No-op for sub generations (`--sub`).

# `setup_styled_css`

```elixir
@spec setup_styled_css(
  Igniter.t(),
  keyword()
) :: Igniter.t()
```

Installs the styled `mishka_chelekom.css` vendor stylesheet and the theme `@import` into
`app.css`. No-op for sub generations (`--sub`).

# `wire_scripts`

```elixir
@spec wire_scripts(
  Igniter.t(),
  keyword()
) :: Igniter.t()
```

Copies a component's JS engine files into `assets/vendor/` and wires their imports/hooks into
`mishka_components.js` and `app.js`. No-op when the catalog declares no `:scripts`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
