compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/colors.rb
def adjust_lightness(color, amount)
    assert_type color, :Color
    assert_type amount, :Number
    color.with(:lightness => Compass::Util.restrict(color.lightness + amount.value, 0..100))
  end
# a genericized version of lighten/darken so that negative values can be used.
a genericized version of lighten/darken so that negative values can be used.
a genericized version of lighten / darken so that negative values can be used .
def adjust_lightness(color, amount)
    assert_type color, :Color
    assert_type amount, :Number
    color.with(:lightness => Compass::Util.restrict(color.lightness + amount.value, 0..100))
  end
def adjust_lightness ( color , amount ) assert_type color , :Color assert_type amount , :Number color . with ( :lightness => Compass :: Util . restrict ( color . lightness + amount . value , 0 .. 100 ) ) end
a genericized version of lighten/darken so that negative values can be used.
a genericized version of lighten / darken so that negative values can be used .
color
amount