Commit Graph

1968 Commits

Author SHA1 Message Date
Chris Eppstein
20bb8c0d28 Update gemfiles to depend on sass3.1 2010-12-05 16:14:36 -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
b2a8c8a634 Some code comments, cleanup, and register sprite functions with sass. 2010-12-05 16:13:13 -08:00
Chris Eppstein
472456f344 Less joins. More responding. 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
adcfcf4556 Fix broken test. 2010-12-05 16:13:13 -08:00
Chris Eppstein
b2b913d69f Generator for creating sprite imports for users who don't like magic. 2010-12-05 16:13:13 -08:00
Chris Eppstein
b63bf2669d Don't rely on reading the environment within the sprite code. Instead accept variable keyword args. 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
d62cdf0127 Fix a bug in ruby 1.9 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
Chris Eppstein
28a77171e3 Quick cache for burst reads. 2010-12-05 16:13:13 -08:00
Chris Eppstein
e1130066f2 Update links to compass online. 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
Nico Hagenburger
f577da1d5e updated to rspec 2.0.0 2010-12-05 16:13:11 -08:00
Chris Eppstein
aaffea49af factor out the saving from the generating, we'll need to monkey patch this in a rails environment. 2010-12-05 16:13:11 -08:00
Chris Eppstein
0a447625e0 The image_url function has to be accessed from within the engine for it to work right in all cases. 2010-12-05 16:13:11 -08:00
Chris Eppstein
57a63c455a Use the Sass cache to store information about sprites across compiles -- this removes one aspect of lemonade's filesystem dependency. 2010-12-05 16:13:11 -08:00
Chris Eppstein
53033e473b This is a little more readable. 2010-12-05 16:13:11 -08:00
Chris Eppstein
8bf992defa Move the lemonade files around to adhere to compass conventions. 2010-12-05 16:13:11 -08:00
Chris Eppstein
757fed8888 Rename Lemonade to Compass::Sprites 2010-12-05 16:13:11 -08:00
Chris Eppstein
a2f1026659 This is a whole lot faster 2010-12-05 16:13:11 -08:00
Chris Eppstein
a1f1943367 Only do this once, otherwise the output changes every time. 2010-12-05 16:13:11 -08:00
Chris Eppstein
dd2c9eb72d Add a --profile option to the compass CLI 2010-12-05 16:13:11 -08:00
Chris Eppstein
b313ac794e update the gemspec with lemonade dependencies. add nico as an author. 2010-12-05 16:13:11 -08:00
Chris Eppstein
ffe967e8c8 Bolt on lemonade to get started. 2010-12-05 16:13:10 -08:00
Chris Eppstein
9f1b8f515b Use the new Sass gem now. 2010-12-05 16:13:10 -08:00
Brandon Mathis
529a31f767 added new sass brush to doc-src, turned it on 2010-12-02 22:59:50 -06:00
Chris Eppstein
488fddfff5 Rake runs cucumber tasks by default 2010-11-27 16:58:04 -08:00
Chris Eppstein
ee7920f6e5 Fix some broken tests 2010-11-27 16:56:24 -08:00
Chris Eppstein
633bb24302 Fix the broken validator tests 2010-11-27 16:48:36 -08:00
Chris Eppstein
fd1dd25737 Depend on sass 3.1 2010-11-27 15:53:38 -08:00
Chris Eppstein
35b206a897 Support simple background fallback in the background mixin. 2010-11-27 15:34:52 -08:00
Chris Eppstein
dd921ea363 Handle list arguments to prefixes 2010-11-27 15:34:52 -08:00
Chris Eppstein
6e30099473 Sass has an if function now. removing compass's version. 2010-11-27 15:34:52 -08:00
B Mathis
b17450e5e2 removed old homepage site and unused sass files 2010-11-27 17:14:27 -06:00
B Mathis
38b372bbbf added home page and improved site styles for IE 2010-11-27 17:13:47 -06:00
Chris Eppstein
8f9cce83c3 update changelog 2010-11-24 15:43:52 -08:00
B Mathis
b6cea68690 Merge branch 'master' of github.com:chriseppstein/compass 2010-11-24 17:43:32 -06:00