evh-stripes 0.0.0
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.
- checksums.yaml +7 -0
- data/README.md +39 -0
- data/lib/evh-stripes.rb +3 -0
- data/stylesheets/_evh-stripes.scss +1 -0
- data/stylesheets/_mixins.scss +2 -0
- data/stylesheets/mixins/_frankenstein.scss +23 -0
- data/stylesheets/mixins/_lines.scss +20 -0
- data/templates/project/manifest.rb +2 -0
- data/templates/project/screen.scss +1 -0
- metadata +65 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b193deef8021838c32bde4aba9ca02211574aab1
|
4
|
+
data.tar.gz: 146c753c3b5b1008ee7f3fb4c9c23eb518375975
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 556fa91ec23036028630e865fa3b71759de46f79cc813f61d37d3329f58d937d3b5201a4fb2e135e8205e2b887500c532594f20dedc28484d6622979cb108799
|
7
|
+
data.tar.gz: 2bcd6b87c1795ff17eca141285bc779685bfd2d211b58b5ee21014a5eb758b6c1363213a2633046514845bd3707fe870829ea3e43e603a90ded37391b1313519
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Evh::Stripes
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/evh/stripes`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'evh-stripes'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install evh-stripes
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
1. Fork it ( https://github.com/[my-github-username]/evh-stripes/fork )
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create a new Pull Request
|
data/lib/evh-stripes.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import 'mixins';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@mixin frankenstein {
|
2
|
+
background-color: red;
|
3
|
+
@include lines(
|
4
|
+
(white, 90deg, 23%, 23.5%),
|
5
|
+
(black, 121deg, 47.3%, 52.3%),
|
6
|
+
(black, 161deg, 36.5%, 40%),
|
7
|
+
(black, 19deg, 48%, 52%),
|
8
|
+
(black, 41deg, 12%, 14%),
|
9
|
+
(black, 108.5deg, 57%, 59.2%),
|
10
|
+
(black, 63deg, 67.6%, 69.2%),
|
11
|
+
(black, 144deg, 81%, 87%),
|
12
|
+
(white, 36deg, 38.6%, 41%),
|
13
|
+
(white, 143deg, 55%, 55.9%),
|
14
|
+
(white, 129deg, 69%, 74%),
|
15
|
+
(white, 93deg, 77%, 80.9%),
|
16
|
+
(red, 129deg, 74%, 88%),
|
17
|
+
(white, 42deg, 74%, 76%),
|
18
|
+
(white, 139.5deg, 2%, 6%),
|
19
|
+
(white, 59deg, 18%, 21.9%),
|
20
|
+
(white, 20deg, 1%, 3.9%)
|
21
|
+
);
|
22
|
+
}
|
23
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
$transparent: rgba(0,0,0,0);
|
2
|
+
|
3
|
+
@mixin lines($array_of_lines...) {
|
4
|
+
$img: ();
|
5
|
+
|
6
|
+
@each $line in $array_of_lines {
|
7
|
+
$color: nth($line, 1);
|
8
|
+
$angle: nth($line, 2);
|
9
|
+
$from: nth($line, 3);
|
10
|
+
$to: nth($line, 4);
|
11
|
+
|
12
|
+
$img: append($img, draw-line($color, $angle, $from, $to), comma);
|
13
|
+
}
|
14
|
+
@include background-image($img);
|
15
|
+
};
|
16
|
+
|
17
|
+
@function draw-line($color, $angle, $from, $to) {
|
18
|
+
@return linear-gradient($angle, $transparent $from, $color $from, $color $to, $transparent $to);
|
19
|
+
};
|
20
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'evh-stripes';
|
metadata
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: evh-stripes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Patrick Baselier
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: compass
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
description: Use Eddie Van Halen's guitar designs to decorate your backgrounds.
|
28
|
+
email:
|
29
|
+
- patrick.baselier@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- README.md
|
35
|
+
- lib/evh-stripes.rb
|
36
|
+
- stylesheets/_evh-stripes.scss
|
37
|
+
- stylesheets/_mixins.scss
|
38
|
+
- stylesheets/mixins/_frankenstein.scss
|
39
|
+
- stylesheets/mixins/_lines.scss
|
40
|
+
- templates/project/manifest.rb
|
41
|
+
- templates/project/screen.scss
|
42
|
+
homepage: https://rubygems.org/gems/evh-stripes
|
43
|
+
licenses: []
|
44
|
+
metadata: {}
|
45
|
+
post_install_message:
|
46
|
+
rdoc_options: []
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
requirements: []
|
60
|
+
rubyforge_project:
|
61
|
+
rubygems_version: 2.2.2
|
62
|
+
signing_key:
|
63
|
+
specification_version: 4
|
64
|
+
summary: Eddie Van Halen striped CSS3 background
|
65
|
+
test_files: []
|