Permalink
Browse files

Added LESScss support

  • Loading branch information...
1 parent 738daed commit 02e51f56b9811d1354b0f2f763b4575231a52710 @pascaldevink committed Apr 15, 2012
View
@@ -38,6 +38,9 @@ assetic:
bin: /usr/local/bin/coffee
node: /usr/bin/node
apply_to: "\.coffee$"
+ less:
+ node: /usr/bin/node
+ node_paths: [/usr/local/lib/nodejs]
# Doctrine Configuration
doctrine:
@@ -0,0 +1,5 @@
+@body-color: white;
+
+body {
+ background-color: @body-color;
+}
@@ -7,10 +7,11 @@ Rss Reader
{% block stylesheets %}
{{ parent() }}
- {% stylesheets output='css/*.css' filter='yui_css,cssrewrite'
+ {% stylesheets output='css/*.css' filter='less,?yui_css,cssrewrite,'
'bundles/pascalfeeddisplayer/css/doc.css'
'bundles/pascalfeeddisplayer/css/bootstrap.min.css'
- 'bundles/pascalfeeddisplayer/css/bootstrap-responsive.min.css' %}
+ 'bundles/pascalfeeddisplayer/css/bootstrap-responsive.min.css'
+ '@PascalFeedDisplayerBundle/Resources/public/css/base.less' %}
{# If your files are in web/css/, call them with: 'css/mystyle.css' #}
<link rel="stylesheet" href="{{ asset_url }}" type="text/css" media="screen" />
{% endstylesheets %}

0 comments on commit 02e51f5

Please sign in to comment.