Questions tagged [twitter-recess]

RECESS is a code quality tool for CSS built on top of LESS developed at Twitter to support their internal styleguide. Current version is 1.1.

RECESS is a code quality tool for CSS built on top of LESS developed at Twitter to support their internal styleguide. Current version is 1.1.

It runs as a Node.js module, and be installed with :

$ npm install recess -g

GitHub Project

uses RECESS in its make file.

12 questions
13
votes
2 answers

Bootstrap ParseError: Syntax Error on line 648 in mixins.less:648:25 647

After updating to Bootstrap 3.1.0 I get this error when compiling less files: ParseError: Syntax Error on line 648 in mixins.less:648:25 647 padding-right: (@grid-gutter-width / 2); 648 &:extend(.clearfix all); 649 } I use recess, version:…
dragonfly
  • 17,407
  • 30
  • 110
  • 219
6
votes
1 answer

How can I get more detailed error information in Bootstrap's make?

I'm new to using LESS, and to Bootstrap, and I'm building a site for fun. When I run make in my bootstrap directory, if I screwed something up in my variables.less file I get a totally useless error…
ZenLikeThat
  • 2,052
  • 3
  • 16
  • 23
4
votes
1 answer

Compiling Bootstrap 3 in a Symfony 2 project on Windows

I have been trying for some time now to compile Bootstrap 3 in a Symfony 2 project on Windows. But I can't get it to work. My primary objective is to compile my very own LESS file. I called it "styles.less". In there, I want to be able to use…
3
votes
1 answer

Why gives Grunt / Recess an error and Lessc not when compiling Bootstrap 3 RC1?

I add some code to mixins.less: img { &:extend(.img-responsive); } See also: Images not responsive by default in Twitter Bootstrap 3? and https://stackoverflow.com/a/15573240/1596547 When i run grunt dist from the command line i got: Running…
Bass Jobsen
  • 48,736
  • 16
  • 143
  • 224
2
votes
3 answers

Compile a problematic CSS file with Twitter Recess

I am using recess (https://github.com/twitter/recess) to compress the CSS file div { color: red border: 1px solid red } p { color: blue } # recess test.css --compress (No output) As you can see, there is missing colon in the CSS file…
Ryan
  • 10,041
  • 27
  • 91
  • 156
0
votes
1 answer

My grunt-recess task won't compile properly

My Gruntfile.coffee has: recess: dist: options: compile: true includePath: ['public/bower_components/bootstrap-less/less'] src: 'dist/assets/ln.css' dest: 'public/stylesheets/ln.less' And my ln.less is super…
Shamoon
  • 41,293
  • 91
  • 306
  • 570
0
votes
1 answer

grunt-recess not failing for noUnderscores option

I have a LESS file (test.less) with the following class: .bad_class { color: #fff } I linting and compiling my files with the grunt-recess plugin. My Grunt options for recess are: recess: { options: { noUnderscores: true }, …
elanh
  • 1,401
  • 3
  • 19
  • 31
0
votes
2 answers

How to compile 2 separate LESS files with grunt-recess

I want to compile 2 separate files with grunt recess: recess: { dist: { options: { compile: true }, files: { 'path/css/custom.css':…
alias51
  • 8,178
  • 22
  • 94
  • 166
0
votes
1 answer

Using twitter recess, getting "error reading file" when trying anything except a file name

I'm trying to compile some less files, but I get "Error reading file" unless I specify one file at a time while in that directory. I have a directory called /less and .less files inside of it. Please assume I did the commands from the correct…
Organiccat
  • 5,633
  • 17
  • 57
  • 104
0
votes
1 answer

twitter-recess --compress problems (yui-compressor)

I'm using recess to compile and compress my LESS files, but i'm having some troubles with a specific Firefox css to convert an Img to grayscale, here is a snippet of the LESS code .colorgray { filter : url("data:svg+xml;utf8,
Josejulio
  • 1,286
  • 1
  • 16
  • 30
0
votes
3 answers

how do I get command prompt (cmd) to stop opening the associated program?

I'm on Windows 7, and I use a simple local build process that involves running node with Twitter RECESS and less.js to compile LESS to css on the fly. Typically I just open cmd and type: lessc --compile stylesheet.less > stylesheet.css and it…
jonschlinkert
  • 10,872
  • 4
  • 43
  • 50
0
votes
1 answer

Running `make` no longer minifies the CSS in /assets/css v.2.0.4

Running make in the /bootstrap directory v2.0.4 no longer is minifying the bootstrap.css. Is there a flag i can set for the build process? Thank you in advance.
Upworks
  • 267
  • 2
  • 15