Comments (7)
That's a pity that sass-conver doesn't handle these comments well. It would probably be good to file an issue on the Sass project.
What's your motivation for wanting bootstrap in the Sass syntax? Sass understands both syntaxes.
--John
On May 27, 2013, at 2:32 PM, Ryan Burnette [email protected] wrote:
Hey guys. I probably haven't spent enough time looking for an answer, but I actually want to use the sass-twitter-bootstrap in the Sass syntax instead of Scss.
I tried sass-convert but it broke most or all of the files because of how the comments are formatted. It looks like sass-convert doesn't deal with /* comment */ on one line after code.
Has anyone else accomplished using this with Sass instead of Scss?
—
Reply to this email directly or view it on GitHub.
from sass-bootstrap-defunct.
I think sass-convert is its own thing. I'm going to see if I can submit an issue about it specifically.
I thought the Sass compiler would freak out if I gave it a mix of files in both syntaxes. The last time I tried that it didn't appear capable of handling such. So I tried to convert over to all Sass syntax for that reason. I'll revisit the prospect of having a project mixed across the two syntaxes.
The core motivation is that I want to write in Sass instead of Scss on my next project.
from sass-bootstrap-defunct.
Also it looks like the issue already has a pull request waiting to solve it.
sass/sass#713
from sass-bootstrap-defunct.
Sass should be fine with mixing syntaxes. We do it at work and it compiles nicely.
If your desire is to layer your styles on top of bootstrap you might want to leave boostrap as is and just create a "bootstrap-overrides.sass" file with your modifications. This might be the simplest way to use bootstrap and keep it updated as improvements are released.
If you really want to fork the project I'm afraid you are probably on your own. At least until sass-convert is updated.
--John
On May 27, 2013, at 3:28 PM, Ryan Burnette [email protected] wrote:
I think sass-convert is its own thing. I'm going to see if I can submit an issue about it specifically.
I thought the Sass compiler would freak out if I gave it a mix of files in both syntaxes. The last time I tried that it didn't appear capable of handling such. So I tried to convert over to all Sass syntax for that reason. I'll revisit the prospect of having a project mixed across the two syntaxes.
The core motivation is that I want to write in Sass instead of Scss on my next project.
—
Reply to this email directly or view it on GitHub.
from sass-bootstrap-defunct.
Thanks, @jlong, for the quick response. This only appeared to be an issue to me based on my misunderstanding that mixing syntaxes would break the compiler. I asked this question to an expert at a conference and was told it wasn't possible. That was a couple years ago. I suspect that the answer was as wrong then as it is now. ;) I just tested and it's working great.
I always make a bootstrap/
and bootstrap-modified/
folder in addition to my own project/
folder so I can quickly update the core on all my projects.
I'll also take this opportunity to say how much I appreciate this project. I literally use it every day. I really love Bootstrap. Being a Sass user, however, I would have never adopted it without you and the other contributors' help. I hope one day I can pay it back or contribute to the project.
from sass-bootstrap-defunct.
Glad that you found a good solution!
from sass-bootstrap-defunct.
@jlong Apparently the problem I had was just a problem with the Sass syntax highlighting I'm using in Sublime Text 2. :(
from sass-bootstrap-defunct.
Related Issues (20)
- _navs.scss causes infinite loop and memory error when compiled HOT 3
- BS 3.0.1 update request (please:) HOT 1
- Broken link in repo's description HOT 1
- Compiling with libsass fails HOT 3
- Glyphicons not working? HOT 1
- All js files have comments that their version is 3.0.0
- Packagist.org still show old composer name HOT 4
- npm install error with phantomjs HOT 1
- grid column resets are missing HOT 1
- Why does the Gruntfile use Less? HOT 1
- bower ECMDERR exit code #69 HOT 20
- More files to be ignored in bower.json HOT 3
- Add .container-fluid variation for full-width containers and layouts HOT 1
- bower sass-bootstrap syntax error in yeoman HOT 3
- Grunt Config for Fonts HOT 1
- Fixed Nav Bar Showing scroll bar when it veiwed in lg - Not same as non-sass bootstrap HOT 1
- make-row setting incorrect margins HOT 1
- datepicker following an input-group-addon conflicts with bootstrap inputgroup styling HOT 1
- Official TWBS sass handover HOT 24
- Reinstate this project to bower with a different name.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sass-bootstrap-defunct.