jgthms / bulma-start

Start package for Bulma
https://www.npmjs.com/package/bulma-start
MIT License
277 stars 81 forks source link

Problem with Sass #7

Closed ClemHlrdt closed 6 years ago

ClemHlrdt commented 6 years ago

So I'm using bulma-start with bulma@0.7.1. When I run npm start, I get a compilation error in sass.

{ "status": 1, "file": "/Users/clement/Documents/GitHub/portfolio/node_modules/bulma-start/node_modules/bulma/sass/components/navbar.sass", "line": 400, "column": 20, "message": "Incompatible units: 'rem' and 'em'.", "formatted": "Error: Incompatible units: 'rem' and 'em'.\n on line 400 of node_modules/bulma/sass/components/navbar.sass, in mixin@content\n from line 99 of node_modules/bulma/sass/utilities/mixins.sass, in mixindesktop\n from line 261 of node_modules/bulma/sass/components/navbar.sass\n from line 11 of node_modules/bulma/sass/components/_all.sass\n from line 6 of node_modules/bulma/bulma.sass\n from line 33 of _sass/main.scss\n>> padding-top: $navbar-height + ($navbar-padding-vertical * 2); }\n\n -------------------^\n" }

Is there something I did wrong or a way to fix this ?

ClemHlrdt commented 6 years ago

Sorry for opening this issue, in my main.scss, I was using 'em' instead of 'rem' to change the height of the navbar.