This module simplifies the process of compiling Less style sheets into CSS. It allows developers to define their Less files in the theme's library definitions, automatically generating the corresponding CSS.
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: {}
Ask your assistant about Simple Less CSS
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 4.2.1 | Stable | 10–11 | Jun 18, 2026 | ||
| 4.2.0 | Stable | 10–11 | Jun 10, 2026 | ||
| 4.1.1 | Stable | 9–11 | Feb 14, 2025 | ||
| 4.1.0 | Stable | 9–11 | Aug 26, 2024 | ||
| 4.x-dev | Dev | 10–11 | PHP >=8.1 | Aug 1, 2024 | |
| 4.0.3 | Stable | 9–11 | Jul 25, 2024 | ||
| 4.0.2 | Stable | 9–10 | Apr 16, 2024 | ||
| 4.0.1 | Stable | 9–10 | Dec 27, 2023 | ||
| 4.0.0 | Stable | 9–10 | Mar 28, 2023 |