I run into another problem. ff is renamed to white. How can I prevent
this?
On Tue, Feb 22, 2011 at 3:30 AM, Mike Branderhorst <
mikebranderho...@gmail.com> wrote:
> Thx Chris,
>
> It works :-)
>
> I added the next lines to the bottom of my config.rb
>
> module Sass::Script::Functions
> def
Thx Chris,
It works :-)
I added the next lines to the bottom of my config.rb
module Sass::Script::Functions
def gsub(string, regexp, replacement)
Sass::Script::String.new(string.value.gsub(Regexp.new(regexp.value),
replacement.value))
end
end
And used it like this:
$someComputedColor:
The simplest approach is to just drop that snippet into your compass config.
You'll need to coerce your color to a string before passing it to that
function. Any value can be coerced to a string like this: "#{$value}"
chris
On Mon, Feb 21, 2011 at 5:47 PM, Mike wrote:
> Thx Chris,
>
> Do I put
Thx Chris,
Do I put gsub_ext.rb next to config.rb?
I just made a simple example for my question. At the moment I make
jQuery UI SASS ready. With a custom made themeroller but I still have
to get the generated icons from themeroller.
background: url("http://jqueryui.com/themeroller/images/?
new=2