Skip to content

Commit

Permalink
Merge pull request #5 from scottkellum/master
Browse files Browse the repository at this point in the history
Compass plugin
  • Loading branch information
heygrady committed Feb 21, 2013
2 parents 85ed9ff + 7c5af9d commit 6cbb2dd
Show file tree
Hide file tree
Showing 7 changed files with 562 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvm ruby-1.9.2@blend-mode --create
Binary file added blend-mode-0.0.1.gem
Binary file not shown.
22 changes: 22 additions & 0 deletions blend-mode.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{blend-mode}
s.version = "0.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
s.authors = ["Grady Kuhnline"]
s.date = %q{2011-10-06}
s.description = %q{Using standard color blending functions in Sass.}
s.email = %w{email@website.com}
s.has_rdoc = false
s.files = Dir.glob("lib/*.*")
s.files += Dir.glob("stylesheets/**/*.*")
s.files += Dir.glob("templates/**/*.*")
s.homepage = %q{https://github.com/heygrady/scss-blend-modes}
s.require_paths = ["lib"]
s.rubyforge_project = %q{blend-modes}
s.rubygems_version = %q{0.0.1}
s.summary = %q{Using standard color blending functions in Sass.}
s.add_dependency(%q<compass>, ["~> 0.12"])
end
1 change: 1 addition & 0 deletions example/config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Require any additional compass plugins here.
require 'blend-mode'

# Set this to the root of your project when deployed:
http_path = "/"
Expand Down
2 changes: 1 addition & 1 deletion example/scss/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../blend-mode.scss";
@import "blend-mode";

$blend-modes: normal, multiply, lighten, darken, darkercolor, lightercolor, lineardodge, linearburn, difference, screen, exclusion, overlay, softlight, hardlight, colordodge, colorburn, linearlight, vividlight, pinlight, hardmix;

Expand Down
9 changes: 9 additions & 0 deletions lib/blend-mode.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'compass'
Compass::Frameworks.register("blend-mode", :path => "#{File.dirname(__FILE__)}/..")

module BlendMode

VERSION = "0.0.1"
DATE = "2013-02-21"

end
Loading

0 comments on commit 6cbb2dd

Please sign in to comment.