bootswatch icon indicating copy to clipboard operation
bootswatch copied to clipboard

Problems with certain themes

Open russweas opened this issue 12 years ago • 9 comments

I don't know if these are just for my installation or what, however most of the themes work, but these don't: Paper:

[14:33:58] gulp-notify: [Laravel Elixir] Error: /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootswatch-sass/paper/bootswatch:40: error: error reading values after "default"

Sandstone: [14:34:40] gulp-notify: [Laravel Elixir] Error: /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52: error: argument $color of red($color) must be a color Backtrace: /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52, in function red /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52, in mixin form-control-focus /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/forms:131

Superhero: [14:35:29] gulp-notify: [Laravel Elixir] Error: /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52: error: argument $color of red($color) must be a color Backtrace: /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52, in function red /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/forms:52, in mixin form-control-focus /Users/russellweas/Desktop/Laravel/Buzzer/vendor/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/forms:131

Superhero looked really cool, if I can get it figured out I will be excited to be adding it to my project! Thanks for making so many cool free themes, I'm going to be looking into this and making a pull request if I figure it out.

russweas avatar Dec 03 '14 20:12 russweas

I've found the problems to be: (1) cannot read value in list (2) invalid arguments passed into the mixin red()

russweas avatar Dec 03 '14 20:12 russweas

@rweas the darky & flatly have the same error and it is because there is ;; (double semicolon) in their files.

had the same issue, deleted the semicolon - everything works. made a pr

vladshcherbin avatar Dec 06 '14 06:12 vladshcherbin

Cool. Didn't think it was that simple to fix.

russweas avatar Dec 06 '14 14:12 russweas

Fixed in 68294f9cbc5b425a649524feaacf1c21f1f27446.

thomaspark avatar Dec 06 '14 17:12 thomaspark

There's still problems with sandstone, paper, and superhero thouugh.

russweas avatar Dec 07 '14 02:12 russweas

Any news on that? I get the same error for sandstone.

SebastianSzturo avatar Dec 18 '14 04:12 SebastianSzturo

When I get some more time, probably this afternoon, I'm gonna try and figure these errors out and fix them.

russweas avatar Dec 19 '14 14:12 russweas

Ok, I've tested all the themes in sass.

Paper - transparent color error Sandstone - transparent color error Superhero - transparent color error

The other themes have no errors.

gulp-sass uses node-sass and node-sass uses libsass

Transparent color error - variables with the transparent color caused the libsass error. libsass issue, fixed in libsass > 3.0.2 (current 3.1). node-sass latest version (1.2.3) doesn't use 3.1, so we have to wait for node-sass 2.0 (in beta now). then gulp-sass will use node-sass 2.0 and bump version (to 1.2.5 or 2.0) and it will be ok.

So, it is the libsass issue, not the bootswatch. Wait for the new gulp-sass version.

Can be closed.

vladshcherbin avatar Jan 04 '15 06:01 vladshcherbin

OK cool. Thanks for the research!

russweas avatar Jan 05 '15 17:01 russweas