stylus Questions
1
I am stuck with getting stylus to work with webpack 2. I am trying to add the stylus loader module to my webpack.config, but I don't have a clue how to do that. I's not, that I haven't read the doc...
1
Solved
I had nodemon wathcing .styl files using the following settings in nodemon.json without any ignore rules:
"watch": [
"src/css/*.styl",
"src/css/includes/*.styl"
]
Any changes were supposed to ...
1
When I'm running webpack uglify plugin and I'm getting a lot of warnings from the stylus loader / css-loader. How can I resolve them? The webpack bundles it successfully.
Condition always true [...
Soldier asked 17/2, 2016 at 12:37
4
Solved
I have a bunch of Stylus files in './styles/stylus/**.styl' and a bunch of CSS files in './styles/css/**.css'.
How do I use Gulp to compile the Stylus files, concat the result with all of the CSS ...
2
Solved
In Stylus, how do I use a variable in a calc expression?
For example, the following doesn't work (arrow-size being a variable):
arrow-size = 5px
left calc(50% - arrow-size)
1
I'm getting the following error in the Chrome console:
Uncaught SyntaxError: Unexpected token ILLEGAL
At the start of my concatenated CSS file:
@import url("http://fonts.googleapis.com/css?fa...
Bautzen asked 3/8, 2015 at 10:7
2
Solved
ParseError: /Users/JMiller/Projects/multisport-momentum/public/stylesheets/style.styl:15
11| color #031634
12| }
13| a {
14| color font.color
> 15| text-decoration none
16| }
17|
18| ....
2
Solved
How do you do/can you do this in Stylus
.classA.classB {
color: red;
}
Note, I do mean .classA.classB not .classA .classB (they're different)
I thought this would do it
.classA
.classB
colo...
2
Solved
I'm writing a stylesheet for a web site where I need to support multiple skins/themes. For example, one theme might be black-on-white with red as the primary color, and another theme might be white...
Sequence asked 4/7, 2015 at 22:39
3
Solved
Defining vendors' mixins is common task under LESS, ie:
.box-shadow() {
-moz-box-shadow:@arguments;
-webkit-box-shadow:@arguments;
-o-box-shadow:@arguments;
-ms-box-shadow:@arguments;
box-sh...
2
Stylus CSS pre-processor is awesome but since i used to code in Netbeans, it is hard to code without color highlighting. is there any Netbeans plugin for Stylus available? If any, it'll be perfect!...
Branen asked 22/2, 2013 at 2:39
4
Solved
the new guy here. I've been looking for a good solution to using Stylus (compiled CSS) client side.
Now, I know the tips regarding not using compiled CSS client side because:
It breaks if JS is ...
Hydrotropism asked 5/7, 2012 at 22:16
1
Solved
I'd like to know how can I import Google Fonts from a stylus (.styl) file.
I tried:
@import url(http://fonts.googleapis.com/css?family=Overlock:400,700,400italic,700italic|Calligraffitti)
...but...
Weigela asked 20/8, 2014 at 18:1
2
Solved
Is there any tools to convert SASS/SCSS to Stylus?
Or any way to speed up compiling SCSS?
1
Solved
I'm practicing using Bootstrap to make my table responsive on a search list I'm creating, the issue is that two of my columns I'd like to make as small as possible instead of equal sized.
In the pi...
Rebellion asked 1/3, 2014 at 16:6
1
Solved
Often I come to the same problem,
If I need to add a wrapper (another element to wrap elements), I have to manually select the children tab them etc...
I was wondering is there anything out ther...
Favoritism asked 27/11, 2013 at 10:56
2
Solved
I have some HEX colour values in Stylus similar to the following
$my-background ?= #123456
$my-foreground ?= #ABCDEF
and would like to use them in rgba values for opacity, so that
.my-class
ba...
Brightness asked 12/12, 2013 at 15:18
2
Solved
I'm moving from Sass to Stylus and I have lots of mixins where I pass in a code block which is accessible inside the mixin as @content.
For example...
@mixin respond-min($width) {
// If we're ou...
2
Solved
Here is the SASS code part:
#main-nav{
>ul{
blahblah
}
}
So I want to know the exact mean of the string ">ul" means? I cannot find it in the SASS manual.
Furthermore, can it be translated...
2
Solved
I am running latest version of Node on Mac OS X. I've installed Express together with Stylus. Also the latest versions.
Stylus is not re-compiling my .styl files, when I modify them. How can I fix...
2
Ideally, I'd like to set up one file "colors.styl" where I can define all the colors used across the site like so:
// --------------- GENERAL VARIABLE DEFINITIONS
$beige = #F2F2F2
$darkGrey = #282...
5
Solved
I'm an old Emacs user - I've used it for about 10years now. When I switched to Mac I started to use Aquamacs, which is great in many ways.
But now most my development work involves Node.js/Express...
Libya asked 19/4, 2012 at 21:0
1
Solved
I want...
I am trying to do a loop like this
my-red = #fcc
my-blue = #ccf
for color in my-red, my-blue
.{color}
color x
I want it to output
.my-blue {
color: #ccf;
}
.my-red {
color: #fcc...
Mousetrap asked 4/9, 2012 at 15:27
2
I am building a little node app and using Express with Jade and Stylus to render some basic HTMl pages.
I was curious if there is a way for me to pass some variables INTO the .styl file that are ...
1
Solved
How stylus deals with variables scope?
--
1- Are all variables global?
$foo = red // is $foo global?
2- Similarly to the commonJS module, is there any exports/require equivalent?
$foo = @impo...
© 2022 - 2024 — McMap. All rights reserved.