Git Product home page Git Product logo

Comments (6)

jferris avatar jferris commented on August 18, 2024

Anybody from @thoughtbot/design have an opinion on this?

from guides.

kaishin avatar kaishin commented on August 18, 2024

I have briefly tried the other way around: .sass for logic and .scss for styles.
The first problem I faced was how hard refactoring got. Most of my mixins are created from previously existing stylesheet code once a pattern starts forming. With this multi-syntax approach it makes that harder.

There is also the problem of context switching. In many cases, I have both open side by side and I end up typing ; or + in the wrong file.

from guides.

joshuaogle avatar joshuaogle commented on August 18, 2024

This seems like such a strange idea, I'd love to see that blog post.

I agree with kaishin that refactoring and abstracting code out of existing styles is going to be your main problem. Separating out mixins, variables and extends is a good idea, but I would stick to whichever syntax you are using in the rest of your project.

from guides.

whatyouhide avatar whatyouhide commented on August 18, 2024

I believe this was the essay I was talking about.

from guides.

jferris avatar jferris commented on August 18, 2024

Any further thoughts here? Is there an action-item here? Close until we get a pull request?

ping @thoughtbot/design

from guides.

joshuaogle avatar joshuaogle commented on August 18, 2024

I personally prefer .sass syntax, but I think mixing them would create much more confusion than it's worth. Closing for now.

from guides.

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.