Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Simple Less makes it easy to compile Less style sheets.
How to install it
With composer
run
composer require drupal/ipless
Dependencies
The module use the php library wikimedia/less.php
How to use it
Sample your_theme.libraries.yml
base:
version: 1.0
less:
theme:
css/styles.less: {}
Or with output:
base:
version: 1.0
less:
base:
css/foo.less: {}
theme:
css/styles.less: { output: css/gen/styles.css }
css:
theme:
css/gen/styles.css: {}
Supporting organizations:
Project information
- Module categories: Developer Tools
- 408 sites report using this module
- Created by Damien Laguerre on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
4.0.2
released 16 April 2024
Works with Drupal: ^9.4 || ^10
✓ Recommended by the project’s maintainer.
Install: