Generated css
k0fi opened this issue · 2 comments
k0fi commented
I have generated a falavor using https://minicss.org/flavors#build-your-own-flavor and now I have a mini-custom.scss
.
How am I supposed to make a css file out of this?
FrancoisCapon commented
Your mini-custom.zip
file doesn't contains a mini-custom.css
and a mini-custom.min.css
files a the root?
k0fi commented
Well, modifying .css files is not fun, especially when you discover the power of scss.
So I solved the configuration problem like this:
- Download
mini.css-master
from github - Copy the src folder to my project's css folder.
- Install Live Sass Compiler to my vscode
3.b Assign the output path in the compiler's configuration if you want to specify where the resulting .css should go:
"liveSassCompile.settings.formats": [{
"format": "compressed",
"extensionName": ".min.css",
"savePath": "/css/mini-modified/dist"
}
otherwise it saves generated .css
in the same folder as corresponding .scss
- Live Sass compiler watches the changes which I make to any of the *.scss files in
css/mini
folder and generates css outputmini-default.scss
and whatever other .scss file is incss/flavor
and put them insavePath
defined for it. - Remove unwanted mini-*.css from
css/flavor
folder, so that only the desired .css is generated. Very handy!