sassy_noise 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Sassy noise
|
|
4
4
|
A Sass port of Noisy JS (https://github.com/DanielRapp/Noisy) for generating
|
5
5
|
noise background images as base64 data URIs.
|
6
6
|
|
7
|
-
Based on work of @philippbosch & @aaronrussell.
|
7
|
+
Based on work of @philippbosch & @aaronrussell (https://gist.github.com/1021332).
|
8
8
|
|
9
9
|
Installation
|
10
10
|
============
|
@@ -28,17 +28,17 @@ In your .scss:
|
|
28
28
|
// $bg-noise-size-default: 200;
|
29
29
|
// $bg-noise-mono-default: false;
|
30
30
|
|
31
|
-
@import "
|
31
|
+
@import "sassy-noise";
|
32
32
|
|
33
33
|
// Example usage on <body>
|
34
34
|
|
35
35
|
body {
|
36
|
-
@include
|
36
|
+
@include sassy-noise;
|
37
37
|
}
|
38
38
|
|
39
39
|
// Monochrome example
|
40
40
|
body {
|
41
|
-
@include
|
41
|
+
@include sassy-noise($mono: true);
|
42
42
|
}
|
43
43
|
|
44
44
|
No templates?
|
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)
|
@@ -3,8 +3,8 @@ $sassy-noise-opacity-default: 0.08 !default;
|
|
3
3
|
$sassy-noise-size-default: 200 !default;
|
4
4
|
$sassy-noise-mono-default: false !default;
|
5
5
|
|
6
|
-
.
|
6
|
+
._sassy-noise-repeat {
|
7
7
|
background-repeat: repeat;
|
8
8
|
}
|
9
9
|
|
10
|
-
@import "
|
10
|
+
@import "sassy-noise/_sassy-noise";
|
@@ -8,7 +8,7 @@ Based on work of @philippbosch & @aaronrussell
|
|
8
8
|
|
9
9
|
Usage:
|
10
10
|
|
11
|
-
@import "
|
11
|
+
@import "sassy-noise";
|
12
12
|
body {@include sassy_noise();}
|
13
13
|
|
14
14
|
More info from Github: https://github.com/antsa/sassy_noise
|
@@ -20,7 +20,7 @@ sassy_noise
|
|
20
20
|
|
21
21
|
Usage:
|
22
22
|
|
23
|
-
@import "
|
23
|
+
@import "sassy-noise";
|
24
24
|
body {@include sassy_noise();}
|
25
25
|
|
26
26
|
More info from Github: https://github.com/antsa/sassy_noise
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sassy_noise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Antti Salonen
|
@@ -46,8 +46,8 @@ files:
|
|
46
46
|
- README.md
|
47
47
|
- lib/sassy_noise/sass_extensions.rb
|
48
48
|
- lib/sassy_noise.rb
|
49
|
-
- stylesheets/
|
50
|
-
- stylesheets/
|
49
|
+
- stylesheets/_sassy-noise.scss
|
50
|
+
- stylesheets/sassy-noise/_sassy-noise.scss
|
51
51
|
- templates/project/manifest.rb
|
52
52
|
homepage: https://github.com/antsa/sassy_noise
|
53
53
|
licenses: []
|