sass-pantones 0.0.1

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.
Binary file
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Graeme Worthy
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,32 @@
1
+ SASS Pantones
2
+ =============
3
+ SASS Pantones is a gem that gives you easy-to-remember SASS variables for all the Pantone values available in the Pantone CMYK bridge.
4
+
5
+ ### Naming Conventions:
6
+
7
+ The syntax is pretty simple.
8
+ Try `$pantone-` and append the number of the colour you're looking for:
9
+
10
+ ```scss
11
+ $pantone-250;
12
+ $pantone-5875;
13
+ $pantone-process-black;
14
+ ```
15
+
16
+ How to Install
17
+ --------------
18
+
19
+ If you're using Rails then just add `gem "sass-pantones"` to your gemfile, and then use the `bundle` command.
20
+
21
+ Then in your SCSS file import the file:
22
+ ```scss
23
+ /* app/assets/stylesheets/application.css.scss */
24
+ @import "sass-pantones";
25
+ @import "other-file-that-will-use-it";
26
+ ```
27
+
28
+ Creative Commons License
29
+ ------------------------
30
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Dataset" property="dct:title" rel="dct:type">Semantic Rainbow</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://brandonjmckay.com" property="cc:attributionName" rel="cc:attributionURL">Brandon J McKay</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
31
+
32
+ Tweet me [@brandonjmckay](http://twitter.com/brandonjmckay).
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ @import "sass-pantones/all";
@@ -0,0 +1 @@
1
+ @import "pantones";
@@ -0,0 +1,36 @@
1
+ /*#########################
2
+ #### Pantone Variables ####
3
+ #########################*/
4
+
5
+ // Page 1
6
+ $pantone-process-yellow: rgb(255,229,43);
7
+ $pantone-process-magenta: rgb(213,63,119);
8
+ $pantone-process-cyan: rgb(0,151,219);
9
+ $pantone-process-black: rgb(78,74,71);
10
+
11
+ // Page 2
12
+ $pantone-100: rgb(254,243,128);
13
+ $pantone-101: rgb(255,241,102);
14
+ $pantone-102: rgb(255,236,45);
15
+ $pantone-yellow: rgb(255,232,0);
16
+ $pantone-103: rgb(180,159,41);
17
+ $pantone-104: rgb(155,141,57);
18
+ $pantone-105: rgb(125,117,71);
19
+
20
+ // Page 3
21
+ $pantone-7401: rgb(254,229,165);
22
+ $pantone-7402: rgb(243,218,154);
23
+ $pantone-7403: rgb(244,207,129);
24
+ $pantone-7404: rgb(253,207,65);
25
+ $pantone-7405: rgb(230,177,14);
26
+ $pantone-7406: rgb(241,184,40);
27
+ $pantone-7407: rgb(204,163,110);
28
+
29
+ // Page 4
30
+ $pantone-106: rgb(255,235,104);
31
+ $pantone-107: rgb(255,229,82);
32
+ $pantone-108: rgb(255,221,53);
33
+ $pantone-109: rgb(255,199,0);
34
+ $pantone-110: rgb(204,159,38);
35
+ $pantone-111: rgb(156,135,59);
36
+ $pantone-112: rgb(138,122,62);
@@ -0,0 +1,6 @@
1
+ module Sass
2
+ module Pantones
3
+ require "sass-pantones/engine"
4
+ require "sass-pantones/version"
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Sass
2
+ module Pantones
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Sass
2
+ module Pantones
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require 'sass-pantones/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "sass-pantones"
7
+ s.version = Sass::Pantones::VERSION
8
+ s.authors = ["Brandon J McKay"]
9
+ s.email = ["admin@brandonjmckay.com"]
10
+ s.homepage = "https://github.com/brandonjmckay/sass-pantones"
11
+ s.summary = %q{SASS colour variables for Pantone.}
12
+ s.description = %q{A full range of Pantone values made into easy-to-use SASS variables.}
13
+
14
+ s.license = "MIT"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_development_dependency "bundler", "~> 1.3"
22
+ s.add_development_dependency "rake"
23
+
24
+ s.add_runtime_dependency 'railties', '>= 3.1.1'
25
+ s.add_runtime_dependency 'sass-rails', '>= 3.1.1'
26
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sass-pantones
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brandon J McKay
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-11-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: railties
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: 3.1.1
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 3.1.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: sass-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 3.1.1
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 3.1.1
78
+ description: A full range of Pantone values made into easy-to-use SASS variables.
79
+ email:
80
+ - admin@brandonjmckay.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - .DS_Store
86
+ - Gemfile
87
+ - LICENSE.txt
88
+ - README.md
89
+ - Rakefile
90
+ - app/assets/stylesheets/_sass-pantones.css.scss
91
+ - app/assets/stylesheets/sass-pantones/_all.css.scss
92
+ - app/assets/stylesheets/sass-pantones/_pantones.css.scss
93
+ - lib/sass-pantones.rb
94
+ - lib/sass-pantones/engine.rb
95
+ - lib/sass-pantones/version.rb
96
+ - sass-pantones.gemspec
97
+ homepage: https://github.com/brandonjmckay/sass-pantones
98
+ licenses:
99
+ - MIT
100
+ post_install_message:
101
+ rdoc_options: []
102
+ require_paths:
103
+ - lib
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ! '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 1.8.23
119
+ signing_key:
120
+ specification_version: 3
121
+ summary: SASS colour variables for Pantone.
122
+ test_files: []