Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chkal/rewrite-extension-less
- Owner: chkal
- Created: 2012-05-16T04:35:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-18T05:33:21.000Z (over 12 years ago)
- Last Synced: 2024-05-01T19:34:06.323Z (7 months ago)
- Language: JavaScript
- Size: 266 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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;
}