-
Notifications
You must be signed in to change notification settings - Fork 158
Converted to SCSS, using "less2sass" tool with command: #46
Conversation
while read FILE; do less2sass $FILE ${FILE/less/scss}; done <<< `find . -name "*.less" | grep -Po "(?>[a-z])([\S]+\.less)"`
|
Oh man, those are namespaces: a nightmare introduced by LESS. Scenario like: completely makes it hard to convert, as |
|
hey @shehi nevertheless it's a nice idea to provide scss. i will add them in the next version. thanks |
|
@minddust That would be extremely awesome mate! My Laravel powered open-source package is using CSS packages as SCSS to automate CSS management. That's why I am in dire need of SCSS format. I will be watching this package for possible updates. Feel free to use |
|
@shehi it has to wait till 4.3. have a deadly deadline to fulfil ;) will take a look at less2sass and ping you when it's done. cheers |
|
@minddust Sure mate, I will be watching as well. Good luck! |
|
@shehi got a little late but here you go! v0.8.5 is out. pls tell me if you notice something wrong with the scss version. cheers |
|
@minddust Thanks mate. So far it seems to work, but didn't you need to convert files inside |
|
@shehi there is no need to provide a sass version of them because the files inside shell bower install bootstrap-sass#3.3.4
bower install bootstrap-progressbar#0.8.5my_own_progressbar.scss @import "bower_components/bootstrap/assets/stylesheets/_bootstrap.scss"
@import "bower_components/bootstrap-progressbar/scss/bootstrap-progressbar-3.3.0-3.x.x.scss"
$progressbarVerticalWidth = 50px;
// profit |
|
So those were original Bootstrap resources unrelated to this project?! Man, you should've told me so earlier. I wouldn't try converting resource-files and just would've converted those 4 files :) Arghhhh... Thanks nevertheless for the great work! Have a good day! |
|
they are ignored in bower - thought this was obvious :D maybe i should mention/explain that in the readme. cheers stephan |
Hey there. I need SCSS files for this project, since my own project is SCSS based rather than LESS.
I used
less2sasstool for conversion, using following shell command:However, my IDE (PHPStorm, one of the best) warned me about a specific type of SCSS syntax error, which inherently came from your LESS code. The error is the following: the lines with mixins, like:
#gradient > .striped();got converted as#gradient > @include striped();which is incorrect format for SCSS. Since I don't know LESS (I use SCSS/SASS), I have no idea what that line:actually means. Which child of #gradient are you applying that mixin to? Please help me with this one and I will fix the error and complete the patch. Thanks!