mons/magento-scss

Module for SCSS processing during static content deployment

Installs: 561

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.2 2023-01-09 01:38 UTC

This package is auto-updated.

Last update: 2024-04-09 04:09:43 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

  1. Install module via composer composer require mons/module-m2-scss
  2. Register module php bin/magento setup:upgrade
  3. Compile SCSS theme using php bin/magento setup:static-content:deploy -f

Example theme

  • Coming soon...

Tested with

  • Magento 2.4
  • PHP 8.1