# LESS syntax package for Sublime Text 2
Provides syntax highlighting for `.less` files + support for comment-toggle commands.
## Installing
**With the Package Control plugin:** The easiest way to install this package is through Package Control, which can be found at this site: [http://wbond.net/sublime_packages/package_control](http://wbond.net/sublime_packages/package_control)
Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows). Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select `LESS` when the list appears.
**Without Git:** Download the latest source zip from [github](https://github.com/danro/LESS-sublime/zipball/master) and extract the files to your Sublime Text "Packages" directory, into a new directory named `LESS`.
**With Git:** Clone the repository in your Sublime Text "Packages" directory:
    git clone git://github.com/danro/LESS-sublime.git LESS
The "Packages" directory is located at:
* OS X:
    `~/Library/Application Support/Sublime Text 2/Packages/`
* Linux:
    `~/.Sublime Text 2/Packages/`
* Windows:
    `%APPDATA%/Sublime Text 2/Packages/`
## Color Scheme
Some snippets to use in your favorite `.tmTheme` file.
```xml
  name
  css.id
  scope
  meta.selector.css entity.other.attribute-name.id
  settings
  
    foreground
    #E5D56D
  
  name
  css.class
  scope
  entity.other.attribute-name.class
  settings
  
    foreground
    #A0C25F
  
  name
  less.mixin
  scope
  entity.other.less.mixin
  settings
  
    foreground
    #98E124
  
  name
  css.element
  scope
  keyword.control.html.elements
  settings
  
    foreground
    #DA4632
  
  name
  css.string
  scope
  meta.attribute-selector.css string
  settings
  
    foreground
    #FF950A
  
```
[Copied from my Sublime theme](https://github.com/danro/refined-theme/blob/master/Color%20Schemes/Danro.tmTheme)