Skip to content

@background-image mixin not accepting value #94

@alexcracea

Description

@alexcracea

After installing compass-mixins I tried to include a gradient that was generated here http://www.colorzilla.com/gradient-editor/

The code included was something like this

// Needs latest Compass, add '@import "compass"' to your scss
// Permalink - use to edit and share this gradient:
// http://colorzilla.com/gradient-editor/#1e5799+0,2989d8+50,207cca+51,7db9e8+100;Blue+Gloss+Default
background-color: #1e5799; // Old browsers
@include filter-gradient(#1e5799, #7db9e8, vertical); // IE6-9
@include background-image(linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%));

Thing is that when I was using ruby-sass - it used to compile this function by replacing things like "top" to "to bottom". Seems like this package doesn't replace it and I have to do it manually every time.

Is it possible to integrate this string replacement into this package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions