Sha256: 70eb00abc469206cd0a0164c1199b86927e550fadb1aa4404eb4ecab47ccdd68
Contents?: true
Size: 529 Bytes
Versions: 25
Compression:
Stored size: 529 Bytes
Contents
module SenchaTouch module SassExtensions module Functions module ThemeImages def theme_image(theme, path, mime_type = nil) path = path.value images_path = File.join(File.dirname(__FILE__), "..", "images", theme.value) real_path = File.join(images_path, path) inline_image_string(data(real_path), compute_mime_type(path, mime_type)) end end end end end module Sass::Script::Functions include SenchaTouch::SassExtensions::Functions::ThemeImages end
Version data entries
25 entries across 25 versions & 2 rubygems