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 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...
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...
From time to time, I see people write thing like <style lang="scss"> ... </style> <style lang="stylus"> ... </style> I searched the doc for style tag and lang is not part of the validate attribute. Is it r...
Here's the situation: I would like to use an image in my Web app, and in my Stylus file (style.styl), I can use the following code to set the image: .background background: url(http://path/to/image) However, is it feasible to save the imag...
©2020 All rights reserved.