Search

Tip: type a command such as theme build. Press Esc to close.

mageforge:hyva:tokens

Generate Hyvä design tokens

Since v0.3.0Hyväalias: hyva:tokens

Run it

bin/magento mageforge:hyva:tokens [<theme-code>]
bin/magento hyva:tokens Hyva/default

Generate Hyvä design tokens from design.tokens.json or hyva.config.json.

Arguments:

  • themeCode — Optional. Theme code in format Vendor/theme. If omitted, an interactive prompt appears.

Output: Creates a generated/hyva-tokens.css file from the design tokens configuration.

Version history

  • v0.3.0 – Add `mageforge:theme:tokens` command to generate Hyvä design tokens from design.tokens.json or hyva.config.json