JSRocksHQ / harmonic-theme-jsrocks

JSRocks Harmonic theme
5 stars 4 forks source link

Having issues to compile with the latest Stylus #9

Closed UltCombo closed 9 years ago

UltCombo commented 9 years ago

Getting error:

ParseError: C:/repos/es6rocks.github.io/node_modules/harmonic-theme-jsrocks/resources/_stylus/style/bootstrap.styl:3477:
71
   3473|   text-decoration: none;
   3474|   cursor: not-allowed;
   3475|   background-color: transparent;
   3476|   background-image: none;
   3477|   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
-------------------------------------------------------------------------------^
   3478| }
   3479| .open > .dropdown-menu {
   3480|   display: block;

expected "indent", got ";"

Looks like the latest Stylus (0.50.0) doesn't like the bootstrap.styl.

UltCombo commented 9 years ago

I just fixed a bug on my local Harmonic which was silently ignoring CSS preprocessor errors, so that might be why no one has run into this issue yet.

UltCombo commented 9 years ago

Confirmed. This is a bug with our .styl files which was going unnoticed until now due a bug in Harmonic.

UltCombo commented 9 years ago

@robsongajunior if you are not using those .styl files, please remove them from the project otherwise we won't be able to build JS Rocks with the latest Harmonic release.

robsongajunior commented 9 years ago

Today, JSRocks's style is pure css, I really want do a transformation to .styl preprocessor. So, at moment, I will remove .styl archives to fix those errors.

UltCombo commented 9 years ago

Harmonic's master branch now accepts setting "preprocessor": false in the harmonic.json or theme's config.json to disable preprocessing, so you no longer have to remove those files.

I've temporarily disabled preprocessing in this theme, until you decide to start using Stylus and fix those .styl files.