GithubHelp home page GithubHelp logo

Comments (7)

jlong avatar jlong commented on July 17, 2024

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.

ryanburnette avatar ryanburnette commented on July 17, 2024

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.

ryanburnette avatar ryanburnette commented on July 17, 2024

Also it looks like the issue already has a pull request waiting to solve it.
sass/sass#713

from sass-bootstrap-defunct.

jlong avatar jlong commented on July 17, 2024

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.

ryanburnette avatar ryanburnette commented on July 17, 2024

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.

jlong avatar jlong commented on July 17, 2024

Glad that you found a good solution!

from sass-bootstrap-defunct.

ryanburnette avatar ryanburnette commented on July 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.