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