sassy_noise 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +19 -9
- data/lib/sassy_noise.rb +1 -1
- metadata +44 -39
data/README.md
CHANGED
@@ -6,18 +6,19 @@ noise background images as base64 data URIs.
|
|
6
6
|
|
7
7
|
Based on work of @philippbosch & @aaronrussell.
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
Installation
|
10
|
+
============
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
$ gem install sassy_noise
|
13
|
+
|
14
|
+
In your Compass projects config.rb etc:
|
15
|
+
|
16
|
+
require "sassy_noise"
|
14
17
|
|
15
18
|
Basic usage
|
16
19
|
===========
|
17
20
|
|
18
|
-
In your config.rb etc:
|
19
21
|
|
20
|
-
require "sassy_noise"
|
21
22
|
|
22
23
|
In your .scss:
|
23
24
|
|
@@ -28,12 +29,21 @@ In your .scss:
|
|
28
29
|
// $bg-noise-mono-default: false;
|
29
30
|
|
30
31
|
@import "sassy_noise";
|
31
|
-
|
32
|
+
|
33
|
+
// Example usage on <body>
|
34
|
+
|
32
35
|
body {
|
33
|
-
@include
|
36
|
+
@include sassy_noise;
|
34
37
|
}
|
38
|
+
|
35
39
|
// Monochrome example
|
36
40
|
body {
|
37
|
-
@include
|
41
|
+
@include sassy_noise($mono: true);
|
38
42
|
}
|
43
|
+
|
44
|
+
No templates?
|
45
|
+
=============
|
46
|
+
|
47
|
+
I've omitted the project template because probably no-one wants to build a
|
48
|
+
project based on noise. I might add another pattern later.
|
39
49
|
|
data/lib/sassy_noise.rb
CHANGED
@@ -4,4 +4,4 @@ require "base64"
|
|
4
4
|
require File.join(File.dirname(__FILE__), 'sassy_noise', 'sass_extensions')
|
5
5
|
|
6
6
|
extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
7
|
-
Compass::Frameworks.register('
|
7
|
+
Compass::Frameworks.register('sassy_noise', :path => extension_path)
|
metadata
CHANGED
@@ -1,75 +1,80 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassy_noise
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.1'
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Antti Salonen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
|
13
|
+
date: 2011-09-09 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
16
|
name: compass
|
17
|
-
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
19
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version:
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
23
24
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
27
|
name: chunky_png
|
28
|
-
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
30
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version:
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
34
35
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
description: a sass port of the noisy js plugin as a compass extension that creates
|
38
|
-
backgrond noise images as base64 data URIs
|
36
|
+
version_requirements: *id002
|
37
|
+
description: a sass port of the noisy js plugin as a compass extension that creates backgrond noise images as base64 data URIs
|
39
38
|
email: salosen.antti@gmail.com
|
40
39
|
executables: []
|
40
|
+
|
41
41
|
extensions: []
|
42
|
+
|
42
43
|
extra_rdoc_files: []
|
43
|
-
|
44
|
+
|
45
|
+
files:
|
44
46
|
- README.md
|
45
47
|
- lib/sassy_noise/sass_extensions.rb
|
46
48
|
- lib/sassy_noise.rb
|
47
49
|
- stylesheets/_sassy_noise.scss
|
48
50
|
- stylesheets/sassy_noise/_sassy_noise.scss
|
49
51
|
- templates/project/manifest.rb
|
50
|
-
has_rdoc: true
|
51
52
|
homepage: https://github.com/antsa/sassy_noise
|
52
53
|
licenses: []
|
54
|
+
|
53
55
|
post_install_message:
|
54
56
|
rdoc_options: []
|
55
|
-
|
57
|
+
|
58
|
+
require_paths:
|
56
59
|
- lib
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
61
|
none: false
|
59
|
-
requirements:
|
60
|
-
- -
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version:
|
63
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: "0"
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
67
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: "0"
|
69
72
|
requirements: []
|
73
|
+
|
70
74
|
rubyforge_project:
|
71
|
-
rubygems_version: 1.
|
75
|
+
rubygems_version: 1.8.5
|
72
76
|
signing_key:
|
73
77
|
specification_version: 3
|
74
78
|
summary: a sass port of the noisy js plugin as a compass extension
|
75
79
|
test_files: []
|
80
|
+
|