Hyva Theme Customizer for Magento 2
Adds theme settings to the Magento 2 admin: body and heading Google Fonts, custom CSS per store view, and header options such as the top bar, sticky header, icons and mini cart free shipping text. Built for the Panth Hyvä child theme, with header styling for Luma.
- Free
- Themes listed: Hyvä
composer require mage2kishan/module-theme-customizer
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä
- PHP versions listed8.1, 8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Google Fonts
Pick body and heading fonts from 20 Google Fonts or system fonts. Nothing is requested from Google until Load Google Fonts is on.
-
Custom CSS per store view
CSS saved in the admin is printed in the head of every storefront page, after checks for scripts, @import and event handlers.
-
Header settings
Sticky header, show on scroll up, top bar text, search, account and cart icons, badge style, icon size, header width and height.
-
Free shipping text
Threshold, progress and success messages for the mini cart. The Panth Hyvä child theme draws the progress bar.
-
Luma header and styles
On Luma it adds a top bar, SVG header icons, a mini cart drawer and LESS styling for common pages.
-
Tailwind build
Run the child theme Tailwind build from the admin or with bin/magento theme:customizer:build. Needs Node.js and npm.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-theme-customizer $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.6, 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.1, 8.2, 8.3, 8.4 |
| Themes listed | Hyvä |
| Composer package | mage2kishan/module-theme-customizer |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Theme settings in the admin for the Panth Hyvä child theme
Theme Customizer adds three groups of storefront settings to the Magento 2 admin: body and heading Google Fonts, a custom CSS block, and header options. It is built for the Panth Hyvä child theme (Panth/Infotech) and also styles the header and common pages of Luma based themes.
Colours, typography sizes and spacing are not admin settings. They live in the child theme file web/tailwind/theme-config.json and need a Tailwind build after you edit them. The module can run that build for you.
Google Fonts
Choose a Body Font and a Heading Font from 20 Google Fonts, System Fonts or the system default. Load Google Fonts is off by default, so nothing is requested from fonts.googleapis.com until you switch it on. When it is on, the page gets preconnect hints and one stylesheet link with weights 300 to 800 and display=swap.
Custom CSS
CSS entered in the admin is printed inside a style tag in the head of every storefront page and can differ per website and store view. On save the value is checked for balanced braces, @import, script and style tags, javascript: URLs, iframes and onclick style handlers. The editor has Beautify, Download and Import buttons, and saving clears the layout, block and full page caches.
Header settings
- General: custom header, sticky header and show on scroll up.
- Top bar: on or off, with left and right text that allows basic HTML.
- Icons: search, account and mini cart icons, a circle, pill or square counter badge, and icon size.
- Mini cart: free shipping progress with a threshold (99 by default), progress and success messages, continue shopping and subtotal.
- Layout: container, fluid or full width header, and header height.
On Hyvä the settings are read by the child theme templates through Panth\ThemeCustomizer\Helper\HeaderConfig. The Hyvä header, cart drawer and progress bar are part of the Panth child theme, not this module.
Luma
On Luma based themes the module adds a top bar with a close button, SVG search, account and cart icons, and a mini cart drawer that opens from the right. LESS files restyle the header, breadcrumbs, buttons, forms, product pages, cart and other common pages. On touch screens the listing actions stay visible with 44 px targets.
Tailwind build
bin/magento theme:customizer:check tests Node.js, npm and the theme directory, and bin/magento theme:customizer:build runs npm run build in the current theme's web/tailwind directory. The Rebuild Theme CSS button in Panth Core runs the same build from the admin and then clears the caches.
Requirements
- Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
- PHP 8.1, 8.2, 8.3 or 8.4.
- mage2kishan/module-core, installed by Composer.
- Node.js and npm on the server for the Tailwind build only.
Free and open source under the MIT License.
Developer notes
- Module
Panth_ThemeCustomizer, PHP namespacePanth\ThemeCustomizer. It loads afterPanth_Core,Magento_Theme,Magento_Backend,Magento_ConfigandMagento_Store. etc/di.xmlsetsModel\BuildExecutoras the preference forPanth\Core\Api\ThemeBuildExecutorInterface.etc/frontend/di.xmlregisters the module withPanth\Core\ViewModel\ThemeConfig.theme:customizer:checkalso checks thatpackage.jsonexists and that the Tailwind directory is writable.panth:theme:export-cssis deprecated and only prints a notice.- Admin front name
themecustomizer:build/ajax(POST only) runs the build and returns JSON,build/exportcss(POST only) is deprecated and returns a notice, anddocumentation/indexrenders the module README in the admin. - ACL resources:
Panth_ThemeCustomizer::customizerand its childPanth_ThemeCustomizer::config. - The module creates no database tables and registers no observers, plugins or cron jobs.
| Module Category | Theme & UI |
|---|---|
| Best For | All Sizes |
Changelog
-
1.1.20, 2026-10-30
- Released under the MIT License: this module is free and open-source software.
-
1.1.19, 2026-10-07
- Luma category toolbar: the grid and list mode buttons have a #D4D4D4 border with #525252 icons (were #D1D5DB and #6B7280), the active mode is teal, and the Show, Sort By and per page labels are #525252 (were #6B7280).
- Luma layered navigation: the filter block, Shop By and option dividers, and the phone filter button use the #E5E5E5 border (were #E5E7EB and #CCCCCC).
- Luma swatches: borders are #D4D4D4 (were #D1D5DB), text swatches are #171717 (were #474747), hover adds a #525252 outline, and the selected swatch has a 2px teal outline.
- Luma home sliders, testimonial cards, product custom options, the header bottom line and the price alert and order attachment trust rows use the #E5E5E5 and #D4D4D4 borders (were #E5E7EB, #F3F4F6, #D1D5DB, #CCCCCC and #F0F0F0).
FAQ
Do changes require a Tailwind rebuild every time?
Font and custom CSS changes need no rebuild: save and refresh the cache. Colours, typography sizes and spacing are not admin settings. They live in the child theme's web/tailwind/theme-config.json and need a Tailwind build, which you can run from the admin or with bin/magento theme:customizer:build.
Does this work with Luma?
Yes, in part. On Luma based themes it adds the top bar, SVG search, account and cart icons, a mini cart drawer and LESS styling for the header and common pages. Google Fonts and Custom CSS work on both. The Tailwind build is for Hyvä child themes only.
Can I have different colors per store view?
Not from the admin, because colours come from theme-config.json in the child theme. The Google Fonts, Custom CSS and header settings can be set per website and per store view.
Will my custom Hyvä child theme break?
The module does not write to your theme files; its settings are stored in core_config_data. The Hyvä header settings take effect only where your child theme templates read them through Panth\ThemeCustomizer\Helper\HeaderConfig, as the Panth Hyvä child theme does. The Tailwind build runs npm run build in your current theme's web/tailwind directory.
Does the free shipping bar work with multi-currency?
The module stores the threshold as a number and the two messages. The progress bar itself is a template in the Panth Hyvä child theme, so how the amount is compared and shown depends on that template, not on this module.
Can I export and import my theme settings?
Yes. Use bin/magento config:show and config:set. The paths start with theme_customizer/ and panth_header/.
Is the source code available?
Yes. The source is on GitHub at github.com/mage2sk/module-theme-customizer under the MIT License.
Does the module slow down the frontend?
It adds a small inline style block when Custom CSS is set, and Google Fonts links only when Load Google Fonts is on. On Luma it also adds the top bar, header icons and their styles. Measure your own pages before and after.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.