Scott Davis
691c6718b5
updated for chunky png 1.1.0
2011-03-21 17:38:15 -04:00
Chris Eppstein
2fe1c17ac4
Don't rely on global callbacks
2011-02-20 10:16:11 -08:00
Scott Davis
2142430735
Callbacks for the following events:
...
* sprite_saved
* sprite_generated
* stylesheet_saved
* stylesheet_error
From the compass configuration file you can attach code to run when the
event occurs like so:
on_stylesheet_error do |filename, message|
# do something
end
2011-02-20 10:14:34 -08:00
Scott Davis
7343e80b7d
bumped chunky_png to 0.12.0 and updated specs accordingly
2011-01-20 17:10:35 -05:00
Chris Eppstein
df8eefa3c2
Got my reversed motion backwards.
2010-12-19 17:51:40 -08:00
Chris Eppstein
638fd8f543
fix a bug in sprites when the offset position is absolute.
2010-12-18 18:39:35 -08:00
Chris Eppstein
a89d61ce21
Generated sprite filename is now unique based on inputs.
2010-12-05 20:12:50 -08:00
Chris Eppstein
43bd9eb8e5
The Sprite container is now called a Sprite Map, and each individual image is called a sprite.
2010-12-05 16:13:13 -08:00
Chris Eppstein
027ebdd8c4
Change the sprite utilities to create a sprite literal object that can retain information about the sprite for use in other function calls. This avoids the need for global storage and allows multiple sprites constructed from the same sprite folder with different values.
2010-12-05 16:13:13 -08:00
Chris Eppstein
2ac705695f
Rename these sprite files -- the filenames must be legal css identifiers
2010-12-05 16:13:13 -08:00
Chris Eppstein
5aac677e77
Put the Sprite importer on the default load paths coming from compass.
2010-12-05 16:13:13 -08:00
Nico Hagenburger
6e93589e6a
added error messages to help lemonade users
2010-12-05 16:13:12 -08:00
Nico Hagenburger
9dcab9e14b
lemonade compatibility specs and functions
2010-12-05 16:13:12 -08:00
Nico Hagenburger
79d6e28cf5
allow images to be repeated
2010-12-05 16:13:12 -08:00
Nico Hagenburger
2522a3c981
updated gem versions
2010-12-05 16:13:12 -08:00
Nico Hagenburger
8b566765b3
added positioning of images
2010-12-05 16:13:12 -08:00
Nico Hagenburger
573d1a1b03
generation of png file
2010-12-05 16:13:12 -08:00
Nico Hagenburger
c62b8e718d
added default spacing
2010-12-05 16:13:12 -08:00
Nico Hagenburger
bf47c74dc2
added sprite position calculating
2010-12-05 16:13:12 -08:00
Nico Hagenburger
4026c51273
optimized options
2010-12-05 16:13:12 -08:00
Nico Hagenburger
004a1f3887
added spec for base class
2010-12-05 16:13:12 -08:00
Nico Hagenburger
9f80cb9e80
added spec for sprite mixin
2010-12-05 16:13:11 -08:00
Nico Hagenburger
05b2695806
implemented most basic sprite usage without image generation
2010-12-05 16:13:11 -08:00