Git Product home page Git Product logo

Comments (6)

gaomd avatar gaomd commented on June 9, 2024 1

@michaek The missing image-url() confused me, I believe I'm not alone, maybe we should note the incompleteness in the README.md.

from compass-mixins.

Zauberfisch avatar Zauberfisch commented on June 9, 2024

I think defining them in a .scss file is ok for the time being.
after all, if you want to configure them with compass, you would define them in the file config.rb, makes little difference to define them in a _config.scss here.

also, let me state here, the url function set is one of the most important features of compass to me, so I hope to see them in this repository soon ;)

from compass-mixins.

michaek avatar michaek commented on June 9, 2024

I'm still not sure this makes sense to port. If you want to prepend a variable, this is really simple:

$compass-image-path: 'your/image/path' !default;
@function image-url($path) {
  @return "#{$compass-image-path}/#{$path}";
}

I don't want to rule it out, but I'm not yet convinced.

from compass-mixins.

terinjokes avatar terinjokes commented on June 9, 2024

@michaek These mixins already use the url functions from Compass, without defining them, so they just appear unprocessed in the output.

from compass-mixins.

OnkelTem avatar OnkelTem commented on June 9, 2024

Hm... can't we just define lacking functions in js?

UPDATE. Sorry, I forgot that I'm not in node-sass' issue queue :)

from compass-mixins.

michaek avatar michaek commented on June 9, 2024

I agree it's strange to not support everything from Compass, but this is a library that seeks to go halfway, as it would be prohibitive to support all of Compass. I'd say its intention is to provide a crutch to get to the point where your project no longer depends on Compass.

from compass-mixins.

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.