[less] Less CSS Preprocessor

Created on 19 November 2015, over 9 years ago
Updated 21 September 2024, 7 months ago

# Summary

This is a preprocessor for LESS files.

I'm glad to announce about first "Less CSS Preprocessor" module - drupal 8 version.
This works with Libraries API and you can include all less libraries like in drupal 7 version. Also it works with autoprefixer (v5.0 was tested).
This module will detect yml library with "less" name.

Example:
theme_name.libraries.yml

less:
  css:
    theme:
      less_file_path/file_name.less: {}

 

and you can include it on needed pages:

Example(global use):
theme_name.info.yml

libraries:
  - 'theme_name/less'

 

This module was sponsored by:

# Project URL

https://www.drupal.org/project/less

# Where is the code?

  • https://github.com/ionmacaria/less
  • https://gitlab.com/SchnWalter/drupal8-less
  • # Estimated completion date

    Unknown

    # Dependencies

    # Who's doing the port?

    https://www.drupal.org/u/ivanjaros
    https://www.drupal.org/u/corey.aufang
    https://www.drupal.org/u/sjpagan
    https://www.drupal.org/u/ionmacaria

    # What help do they need?

    This is the first version and some comments have to be reviewed.

    # D8 roadmap

    https://www.drupal.org/node/2224585

    # Background and reference information

    Unknown

    🌱 Plan
    Status

    Needs work

    Version

    0.0

    Component

    Module

    Created by

    🇺🇸United States legaudinier

    Live updates comments and jobs are added and updated live.
    Sign in to follow issues

    Comments & Activities

    Not all content is available!

    It's likely this issue predates Contrib.social: some issue and comment data are missing.

    Production build 0.71.5 2024