mons / magento-scss
Module for SCSS processing during static content deployment
Installs: 636
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
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: 2024-12-09 05:33:27 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_import
processing - 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