Commit Graph

553 Commits

Author SHA1 Message Date
Aaron Russell
620c9fe1ab Added utilities/color/contrast module. Added contrasted mixin and
get_contrast_yiq function.
2011-02-21 12:49:53 -08:00
Chris Eppstein
f1587b6bf1 pass compilation sass events through to compass when using the sass plugin to compile. 2011-02-21 09:35:26 -08: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
Chris Eppstein
58740fc039 Correctly convert scss files to css names in the installatio instructions. 2011-01-26 09:49:12 -08:00
Chris Eppstein
bf52c76470 Rename the sprite-position mixin in compass/utilities/sprites/base to
sprite-background-position in order to avoid a naming conflict with the
older sprite-image module.
2011-01-17 11:54:58 -08:00
Chris Eppstein
042972003f handle some slightly older versions of sass 2011-01-17 06:40:10 -08:00
Chris Eppstein
d3a346e1ac Merge commit 'psampaio/sprite_skip_overrides'
* commit 'psampaio/sprite_skip_overrides':
  adding --skip-overrides argument to the compass sprite command
2011-01-16 12:58:36 -08:00
Pedro Sampaio
a095eb6abf adding --skip-overrides argument to the compass sprite command 2011-01-11 14:14:40 +00:00
Chris Eppstein
cb7ac80330 New Download page for compass docs 2011-01-09 22:26:47 -08:00
Chris Eppstein
48e3825053 Document Sass Functions 2011-01-02 12:34:16 -08:00
Chris Eppstein
e11f1035bf Refactor the cross browser support and list functions from gradient module. 2010-12-31 12:55:14 -08:00
Chris Eppstein
15f760e002 Infrastructure for cross browser support of simple, experimental functions 2010-12-30 12:19:00 -08:00
Chris Eppstein
a254caecdd Allow a prefix to be specified (or omitted) for sprite class names 2010-12-19 17:57:33 -08: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
50963d7dd2 Fix the url helper in rails2 mode. 2010-12-18 17:17:58 -08:00
Chris Eppstein
cc8bccfb15 fix broken tests and code. 2010-12-18 17:13:47 -08:00
Chris Eppstein
f318e93764 Expose CLI config parameters at configuration parse time. 2010-12-18 11:26:48 -08:00
Chris Eppstein
ec699c42c8 Watch arbitrary files within the compass configuration file. 2010-12-18 00:03:07 -08:00
Chris Eppstein
8d3b2d92df Make compass configuration accessible within a rails app's configuration. 2010-12-18 00:03:07 -08:00
Chris Eppstein
9e3fd546d9 Add donation details to the CLI. 2010-12-10 11:32:26 -08:00
Chris Eppstein
38e13e55e6 Removed deprecated command line options. 2010-12-10 11:32:26 -08:00
Chris Eppstein
25d9cc3468 Fix a bug in the spriting code in ruby 1.9.2 2010-12-10 11:32:25 -08:00
Chris Eppstein
0fb52388cc Upgrade FSSM to whatever version Sass is running. 2010-12-10 11:32:25 -08:00
Chris Eppstein
ab71230b94 Add a --time option to the compile and watch commands. 2010-12-10 11:32:25 -08:00
Chris Eppstein
e3ad16e5fe Don't try to watch importer objects. 2010-12-06 13:52:17 -08:00
Chris Eppstein
48b9e0851b Ruby 1.9 compliant require for the md5 library. 2010-12-05 22:01:46 -08:00
Chris Eppstein
93040322b3 Allow the cache buster in image-url() to be disabled on a per-call basis. 2010-12-05 20:16:40 -08:00
Chris Eppstein
a89d61ce21 Generated sprite filename is now unique based on inputs. 2010-12-05 20:12:50 -08:00
Chris Eppstein
bcf1f4b1f6 Fix a bug in sprite-location resolution 2010-12-05 16:14:55 -08:00
Chris Eppstein
00b41b5506 Only require (chunky|oily)_png if it is needed. 2010-12-05 16:14:55 -08:00
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
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
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