I've got a gulp set up to work with Stylus, Jade and tiny-lr. My problem is that when I save one jade file, it start's compiling them all, therefore live reloading fires on the first file copied to the destination, before the file I am workin...
I can't find in the docs an example of using arrays as variables. It would be obvious though to have arrays support so I suspect I should search for that in a different way. I have found lists, but not sure if these are intended for the same or...
can't figure how nesting grunt watch and stylus compiler (livereload will come later) I tried also using the "new" grunt newer, but there must be something wrong in my code. Any suggestion? grunt.initConfig({ stylus: { compile:...
I've been following the documentation here over official Stylus docs and wonder what the url() function does in the example code there. Especially, I would like to know where I should write the code in my projects/files... For example, if I defin...
I have a Stylus file, looking like @import init @import typography @import colors @import 'components/*' @import '3rdparty-stylesheet.css' The last line is a CSS file I get from a 3rd party plugin which I want not just to stay as...
Is it possible to load variables into LESS CSS preprocessor from a JSON file like you can do with Stylus? With contents of file myvars.json { "color1": "#112345", "color2": "#667890" } In Stylus I do... js...
I am trying to get started with node.js, Express, Jade, Styl and NIB using WebStorm 8. Unfortunately WebStorm doesn't offer to include NIB support out of the box so I am searching for how to add it manually. the app.js it generates looks like t...
I lately asked a question if there was a possibility to calculate the square root in stylus. After having an answer to this, I wondered, if there was a way to access JavaScript's native Math library in Stylus entirely. Any ideas?...
I am using the official meteor stylus package, I am having trouble with some of the outputted css I used to be using the mquandalle:stylus package it stopped working after upgrading meteor, so I switched to the official stylus package. Now any time I...
I was wondering if there was any particular naming convention for partials in Stylus. So, for example, in SASS you might have something like: @import "headers/_default-header.scss" or something to that effect. A partial denotes that a) it sh...
©2020 All rights reserved.