Simple Less CSS
1,209 sites
Security covered
Drupal 10–11
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: {}
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.