# File lib/compass/sass_extensions/functions/sprites.rb, line 268 def convert_sprite_name(sprite) case sprite when Sass::Script::Value::Color rgb = if reversed_color_names.keys.first.size == 3 sprite.rgb else # Sass 3.3 includes the alpha channel sprite.rgba end identifier(reversed_color_names[rgb]) when Sass::Script::Value::Bool identifier(sprite.to_s) else sprite end end