Skip to content

Upgrading to 1.5.5

Hyvä Theme 1.5.5 is a maintenance release that builds on 1.5.4. Hyvä Theme 1.5.5 fixes the unstyled modal dialog on themes based on the 1.3 Default Theme, updates the Lucide icons to v1.76, and improves the shipping estimate on the cart page. The release also fixes Page Builder Vimeo video backgrounds and the region field in the customer address form.

Safe Module Update

Updating only the Hyva_Theme module to 1.5.5 is safe. The icons that Lucide removed in v1.0 are kept, so methods like youtubeHtml() still work. The new default p-6 rounded-2xl classes of the modal dialog match the dialog styles of 1.4 and later themes.

Notable news

Since 1.5.0 the Hyva_Theme module renders modals as a native HTML <dialog>. The dialog styles ship with the Default Theme since 1.4, so on themes based on the 1.3 Default Theme the dialog had no padding or rounding. The content touched the edges of the dialog, for example the buttons of the "Clear Shopping Cart" confirmation.

The dialog now has the default classes p-6 rounded-2xl, which match the dialog styles of 1.4 and later themes. On a 1.3 theme, rebuild the theme CSS after updating the module, so the classes are included.

Change the classes per modal with withDialogClasses(), or remove them with removeDialogClass(), see the Modal View Model Reference.

@hyva-themes/hyva-modules 1.6 with DTCG 2025.10 design tokens

The Default Theme now uses @hyva-themes/hyva-modules 1.6.0. Its hyva-tokens command reads token files in the Design Tokens Community Group (DTCG) 2025.10 format, including Resolver documents, without an extra format setting. Structured values, such as color objects and dimensions with a unit, are converted to CSS values, and a $type set on a group applies to all tokens in it. See Token File Formats for an example.

Token references to a camel case key, such as {fontFamilies.standard}, now point to the generated kebab case variable (var(--font-families-standard)). The hyva-fonts command validates the fonts configuration more strictly, but generates the same CSS and font files.

To use it in a child theme, set @hyva-themes/hyva-modules to ^1.6.0 in web/tailwind/package.json and run npm install. Version 1.6.0 requires Node.js 22 or newer, so the .nvmrc and engines of the Default Theme now require Node.js 22 as well.

See the hyva-modules changelog for all changes.

Lucide icons updated to v1.76

The LucideIcons view model now ships the icons of Lucide v1.76, up from v0.563. This adds over 500 icons, each with its own @method annotation on the view model for code completion.

Lucide 1.0 removed 19 icons: the brand icons chrome, chromium, codepen, codesandbox, dribbble, facebook, figma, framer, github, gitlab, instagram, linkedin, pocket, slack, trello, twitch, twitter and youtube, and rail-symbol. Their v0.563 versions are kept in 1.5.5, see Deprecations.

Cart page shipping estimate

  • The only shipping method is selected automatically: When the shipping estimate returns a single shipping method, it is selected, and its amount is included in the totals. Before, the customer had to select the only option to see the shipping costs.
  • The totals show the selected shipping method: The shipping row in the cart totals shows the carrier and method, for example "Shipping & Handling (Flat Rate - Fixed)", and updates when a different method is selected.

Page Builder Vimeo video backgrounds

Page Builder video backgrounds with a Vimeo URL and no fallback image didn't load. The bundled Jarallax video extension still used the deprecated Vimeo v2 API to fetch the thumbnail.

Jarallax and its video extension are updated from v1.12.5 to v2.2.1, which uses the Vimeo oEmbed API. Jarallax v2 detects whether an element is visible with an IntersectionObserver, so the slider in Magento_PageBuilder::widgets/parallax.phtml no longer passes the elementInViewport option.

css_classes argument for the product info card

The product.info block accepts a css_classes argument, which replaces the default card mb-6 classes of the product info wrapper. A theme can change these classes in layout XML, without overriding Magento_Catalog::product/view/product-info.phtml.

<referenceBlock name="product.info">
    <arguments>
        <argument name="css_classes" xsi:type="string">mb-6</argument>
    </arguments>
</referenceBlock>
Other templates with a css_classes argument

The page title, product gallery (adds to the default classes), product description, product sliders, recently viewed products, Page Builder product carousel, and the generic slider and modal elements.

Deprecations

  • Icons removed from Lucide 1.0: The 19 icons listed above still work in 1.5.5, but they no longer get updates and will be removed in the 1.6 release. Replace them with your own SVGs before then, see Adding Your Own Icons.

Bug fixes

  • CSP report when opening a gallery video in the lightbox: Opening a YouTube or Vimeo video in the product gallery lightbox triggered a CSP img-src report. The Hyva_Theme module now adds https://www.youtube-nocookie.com and https://player.vimeo.com to the img-src whitelist.
  • Saved region missing in the customer address form: For countries without a region list, the region text input stayed empty when editing an address, although the region was saved.
  • Region label of the customer address form: The region label pointed to the region select, also when the text input is shown instead.
  • Header account menu width: On desktop the account menu now sizes to its content, so longer link labels no longer wrap. The mobile width is unchanged.

Backward compatibility

This release is backward compatible. Check the following points if they apply to your project.

  • Node.js version of the theme build: Build the Default Theme, and child themes that update to @hyva-themes/hyva-modules 1.6.0, with Node.js 22 or newer. Update the Node.js version in CI and deployment pipelines that build the theme CSS.
  • Overrides of Magento_PageBuilder::widgets/parallax.phtml: Remove the elementInViewport option and the slider code around it, because Jarallax v2 throws an error on this option.
  • Overrides of Magento_Checkout::php-cart/shipping.phtml: The automatic selection of a single shipping method and the shipping method in the totals are part of this template, so an override based on an earlier version doesn't get them.
  • Custom modal dialog styles: The default p-6 rounded-2xl classes are utilities, so they win over dialog styles in a theme's base or component CSS. Remove the classes with removeDialogClass() if your theme styles the dialog padding or rounding in CSS, or use a native HTML <dialog> with x-htmldialog instead, see Modal Dialogs for more on the native modals.
  • Overrides of Magento_Customer::address/edit.phtml: An override based on an earlier version keeps the region issues fixed in this release.

Changelogs

Changelogs are available from the CHANGELOG.md in the codebase, or here:

Tooling

Check the Hyvä Theme upgrade docs for helpful information on how to upgrade.