compass-rgbapng 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # rgbapng - Compass plugin
2
2
 
3
- rgbapng is a Compass plugin for providing cross browser compatible RGBA support. It works by creating single pixel transparent PNGs on the fly for browsers that don't support RGBA. It uses the pure Ruby ChunkyPNG library resulting in hassle-free installation and deployment, and increased performance.
3
+ rgbapng is a Compass plugin for providing cross browser compatible RGBA support. It works by creating single pixel alpha-transparent PNGs on the fly for browsers that don't support RGBA. It uses the pure Ruby ChunkyPNG library resulting in hassle-free installation and deployment.
4
4
 
5
5
  ## Installation
6
6
 
@@ -2,6 +2,10 @@ require "rubygems"
2
2
  require "chunky_png"
3
3
  require "base64"
4
4
 
5
+ # Functions are modified from Benjamin Doherty's first implementations: http://gist.github.com/377912
6
+ # Modified to use the ChunkyPNG library rather than RMagick, and added flexibility to amend the path
7
+ # to which generated PNGs are saved.
8
+
5
9
  module Sass::Script::Functions
6
10
 
7
11
  def png_pixelate(c, dir = "rgbapng")
@@ -1,3 +1,8 @@
1
+ /*
2
+ Mixins are slightly modified from Benjamin Doherty's first implementations: http://gist.github.com/377912
3
+ rgba-background mixin can now be passed an option $dir variable
4
+ */
5
+
1
6
  $rgbapng_path: 'rgbapng';
2
7
 
3
8
  @mixin rgba-background($color, $dir:$rgbapng_path){
metadata CHANGED
@@ -5,11 +5,12 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Aaron Russell
13
+ - Benjamin Doherty
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
@@ -45,7 +46,7 @@ dependencies:
45
46
  version: 0.8.0
46
47
  type: :runtime
47
48
  version_requirements: *id002
48
- description: Compass plugin for providing cross-browser compatible RGBA support by creating transparent PNGs on the fly for browsers that don't support RGBA. Uses the pure Ruby ChunkyPNG library for hassle free install and deployment and increased performance.
49
+ description: Compass plugin for providing cross-browser compatible RGBA support by creating transparent PNGs on the fly for browsers that don't support RGBA. Uses the pure Ruby ChunkyPNG library for hassle free install and deployment.
49
50
  email: aaron@gc4.co.uk
50
51
  executables: []
51
52