You are here

less_demo.info in Less CSS Preprocessor 7.4

name = "LESS CSS Preprocessor - DEMO"
description = "Demonstrate LESS module functionality and implementation examples."

core = 7.x

dependencies[] = less

configure = admin/config/development/less/demo

; Sheets with .less extension will automatically receive variables below.
stylesheets[all][] = styles/less_demo.info.css.less

; Variables defined here will automatically be available inside sheets
; registered to this module.
; Variables are lazy evaluated, so they don't have to be defined in order.
less[vars][@gradient_end]   = darken(@gradient_start, 10%);
less[vars][@gradient_start] = #0779bf;
less[vars][@text_glow]      = lighten(@gradient_start, 10%);

; Register non-global sheets to automatically receive variables associated with
; this module.
less[sheets][] = styles/less_demo.drupal_add_css.css.less

File

less_demo/less_demo.info
View source
  1. name = "LESS CSS Preprocessor - DEMO"
  2. description = "Demonstrate LESS module functionality and implementation examples."
  3. core = 7.x
  4. dependencies[] = less
  5. configure = admin/config/development/less/demo
  6. ; Sheets with .less extension will automatically receive variables below.
  7. stylesheets[all][] = styles/less_demo.info.css.less
  8. ; Variables defined here will automatically be available inside sheets
  9. ; registered to this module.
  10. ; Variables are lazy evaluated, so they don't have to be defined in order.
  11. less[vars][@gradient_end] = darken(@gradient_start, 10%);
  12. less[vars][@gradient_start] = #0779bf;
  13. less[vars][@text_glow] = lighten(@gradient_start, 10%);
  14. ; Register non-global sheets to automatically receive variables associated with
  15. ; this module.
  16. less[sheets][] = styles/less_demo.drupal_add_css.css.less