mons / magento-scss
Module for SCSS processing during static content deployment
Package info
github.com/mons-agency/magento-scss
Type:magento2-module
pkg:composer/mons/magento-scss
1.0.2
2023-01-09 01:38 UTC
Requires
- php: ~8.1.0||~8.2.0
- magento/framework: 103.0.*
- magento/module-deploy: 100.4.*
- magento/module-developer: 100.4.*
- scssphp/scssphp: ^1.11
This package is auto-updated.
Last update: 2026-03-09 07:59:08 UTC
README
This module allows compiling SCSS files in Magento 2 themes, just like LESS files.
It uses scssphp library and process standard @import instruction as well as @magento_import.
Features
- Themes inheritance support
- Special instruction
@magento_importprocessing - Source maps generation (experimental)
- Support for NodeJS development tools (tasks runners)
Installation
- Install module via composer
composer require mons/module-m2-scss - Register module
php bin/magento setup:upgrade - Compile SCSS theme using
php bin/magento setup:static-content:deploy -f
Example theme
- Coming soon...
Tested with
- Magento 2.4
- PHP 8.1