Giter Club home page Giter Club logo

Comments (5)

lacarmen avatar lacarmen commented on June 12, 2024

Hmm I didn't think about this when I added the theming support... I think it would make sense to make the currently existing config keys accept multiple directories. A PR would be great!

from cryogen-core.

KingMob avatar KingMob commented on June 12, 2024

Getting into the thick of it, and I had a question. How much do you want to avoid breaking changes?

In particular, there's an undocumented effect of how sass is currently called. The configuration doc says you need to add the css directory to the :resources list, but the way sass is called, it works even if you forget to do that. Likewise, even though :sass-src is set to css by default, and the css directory doesn't exist by default, it doesn't currently produce an error. (For any other resource directory, not existing is an error.) Should I fix that, if people might be relying on it, or preserve that behavior?

Mostly, my aim is to separate compiling Sass files from copying them to the public directory, as they're currently combined in a way that makes it hard to add more dirs. The idea is to compile all Sass files first, then copy the resources over.

from cryogen-core.

lacarmen avatar lacarmen commented on June 12, 2024

I'd rather clear up all the inconsistencies than avoid breaking changes. If your approach feels intuitive then I'd say go for it.

Mostly, my aim is to separate compiling Sass files from copying them to the public directory, as they're currently combined in a way that makes it hard to add more dirs. The idea is to compile all Sass files first, then copy the resources over.

I think this will definitely clear up any confusion in the future.

from cryogen-core.

KingMob avatar KingMob commented on June 12, 2024

In that case, to preserve the current behavior, how about I leave the default :sass-src as css, but add a css directory to the main cryogen repo, so it works correctly by default. Plus, that'll show people where to place non-theme Sass/CSS anyway.

from cryogen-core.

lacarmen avatar lacarmen commented on June 12, 2024

Sounds good to me.

from cryogen-core.

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.