Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chkal/rewrite-extension-less

rewrite-extension-less
https://github.com/chkal/rewrite-extension-less

Last synced: about 6 hours ago
JSON representation

rewrite-extension-less

Awesome Lists containing this project

README

        

# About

Prototype for LESS file rendering with OcpSoft Rewrite.

# Usage

Add the LESS renderer to your Rewrite configuration:

.addRule(Less.fileType("less"))

Now create a LESS file with the file extension `less` in your application. For example `/styles/default.less`

@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;

#header {
color: @light-blue;
}

When you access this file with your browser you will get:

#header {
color: #6c94be;
}