stylus Questions
6
Solved
recently I was working on an app using Vuetify and had trouble to change the Vuetify default colors. So I finally ended with this:
https://github.com/vuetifyjs/vuetify/issues/299
Which as its say...
Latrena asked 5/1, 2018 at 18:9
2
I'd like to use Stylus instead of standard CSS in my Angular2 CLI project. I've had a look around and can't find any solid sources on how to set this up.
Matri asked 10/5, 2017 at 7:50
3
I've got a file called "quasar.styl":
@import './quasar.variables'
@import '~quasar-styl'
When it gets processed by webpack, using styl-loader, I get this error:
failed to locate @import file ~...
Regretful asked 29/9, 2019 at 2:30
2
Solved
I try to build next.js project with typescript and stylus using next-compose-plugins.
My next.config.js:
const withPlugins = require('next-compose-plugins')
const withTypescript = require('@zeit/...
Overseer asked 11/5, 2018 at 13:57
5
Solved
I want the classes in my React.js application to be available for export from .styl-files in the same way as it can be done from CSS Modules, but I can't find any ready-made solution to this proble...
Lyall asked 31/8, 2018 at 8:32
6
Solved
Stylus ParseError: expected "indent", got "outdent"
Unable to compile Stylus file app/css/app.styl to CSS: ParseError: app/css/provider.styl:22
18| padding-top: 20px
19| text-align: center
20| ...
2
such as
.some-class
position absolute
left max(0px, 20vh - 100px)
my intention was calling https://developer.mozilla.org/en-US/docs/Web/CSS/max
but due to http://stylus-lang.com/docs/bifs.htm...
5
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 Sty...
Adulterant asked 8/10, 2013 at 15:41
4
Solved
Consider this HTML with CSS classes aa, bb and cc:
<div class='aa'>
<div class='bb'>
<div class='cc'>
</div>
</div>
</div>
I can select the class=cc tag like ...
Musketry asked 23/11, 2012 at 6:2
1
Solved
I'm trying to make a drawing web app. I'd like to draw with stylus and move the canvas with my hand. How to distinguish between those two?
I haven't found anything promising in the official MDN do...
Eu asked 15/4, 2020 at 16:20
2
Solved
I am trying to use Nib CSS3 extensions in stylus. Installed stylus and nib (tried local & global -g). But none works, when I do
stylus styles.styl > build/styles.css
# styles.styl
@import...
4
Solved
Everything is in the title. I can not incorporate several Stylus variables in the function CSS calc ().
I created a code Sass, I would convert myself under Stylus:
// *.scss
$gutter : 1rem;
.si...
3
I building my react application over create-react-app. I want to have local css for each of my component. I was planning use css modules But these are the issues
If I use css modules
I will have...
Godlike asked 22/1, 2018 at 9:39
1
My 'App.vue' style is:
<style lang="stylus">
@import "../node_modules/font-awesome/css/font-awesome.css"
@import "~bootstrap-4-grid"
@import "assets/styl/app.styl"
</style>
After ...
3
Solved
When I run the command in the terminal back to back, it doesn't sync the second time. Which is great! It shouldn't. But, if I run my build process and run aws s3 sync programmatically, back to back...
Deice asked 20/4, 2017 at 21:7
5
Solved
Is there a parser/library for "css stylus" available for php?
If not please suggest something similar, if not better. Possibly a light weight library that makes your life coding css, easier in php...
1
I want to use Vuetify's CSS classes as mixins. For that I'm using @extends Stylus directive. In MyComponent.vue:
<style scoped lang="styl">
.title {
@extends .display-3;
}
</style>
...
Prestissimo asked 9/8, 2018 at 15:3
2
I want to override vuetify variables with custom colors by following this
I've created a stylus folder which contains base folder (_colors, _typography) and main.styl file. The _color file is impor...
Michaels asked 1/2, 2018 at 20:6
1
Is there any convenient way, how to recursively compile all Stylus stylesheets inside standard java web-applications built with Maven?
I found there is a lesscss-maven-plugin, but is there anythin...
1
Solved
Repository Stylint indicates that linter works in:
Atom
Sublime Text
WebStorm / PhpStorm / IntelliJ IDEA
Visual Studio Code
In Atom it works perfectly. From CLI too.
Link from repository to v...
Braw asked 8/7, 2017 at 5:27
2
For example:
<script>
export default {
data() {
return{
varinjs: 1,
}
}
}
</script>
<style lang="stylus">
varincss = varinjs
body
if varincss == 0
background-color re...
2
Solved
How can I rewrite the following line into a multi-line form in stylus?
div
box-shadow 0 0 0 black, 1 0 0, black, 0 0 1, black
Using a much larger list of properties for box-shadow will make my ...
10
Solved
I've tried everything but I can't get the Stylus CSS preprocessor to use variables in media queries.
For instance this doesn't work:
t = 1000px
@media screen and (max-width: t)
html
background...
3
Solved
How can I embed a SVG data uri in CSS using Stylus preprocessor without the SVG being Base64 encoded?
Like this:
background: url('data:image/svg+xml;utf8,<svg>[...]</svg>');
instead...
6
I have installed node.js/stylus/nib on my mac and I can manually compile .styl file to .css on the command line. I also know there is this stylus.middleware() things that keeps coming up when I sea...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.