clrs 1.1.0 → 1.2.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 +4 -4
- data/README.md +16 -0
- data/app/assets/stylesheets/clrs-saturated.scss +141 -0
- data/clrs-1.1.0.gem +0 -0
- data/lib/clrs/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f2c1d47ea38aef87c6d12df22eda7eebb012461
|
|
4
|
+
data.tar.gz: 5c7606c305116d409c329157ceb872db551dfccc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50039fefa8ff2ebaec360016782d89c3c6fa64bc7d6e3ba9c11bcfc864ce07423e7951828d36eeb04c5a09c9ee962af736caf1a3d377fb32c4bbc6195b3b80b9
|
|
7
|
+
data.tar.gz: e9d5ee9a9b507ca2695134766c1ced341c144dc814e7ad3e5a247549d0313618b1861aaa29a7a882488758a93db66bd6484269285c7dfe453d6fc147ff97009f
|
data/README.md
CHANGED
|
@@ -24,19 +24,33 @@ Or install it yourself as:
|
|
|
24
24
|
$ gem install clrs
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
##### Using Sass
|
|
28
|
+
|
|
27
29
|
You will then need to require the stylesheet in your application.scss:
|
|
28
30
|
|
|
29
31
|
```scss
|
|
30
32
|
@import "clrs";
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
There's also a saturated color palette <http://mrmrs.io/colors-saturated/> which can be included instead:
|
|
36
|
+
|
|
37
|
+
```scss
|
|
38
|
+
@import "clrs-saturated";
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
##### Using CSS
|
|
42
|
+
|
|
33
43
|
Or, in your application.css:
|
|
34
44
|
|
|
35
45
|
```css
|
|
36
46
|
*= require clrs;
|
|
37
47
|
```
|
|
38
48
|
|
|
49
|
+
Or, for the saturated color scheme:
|
|
39
50
|
|
|
51
|
+
```css
|
|
52
|
+
*= require clrs-saturated;
|
|
53
|
+
```
|
|
40
54
|
|
|
41
55
|
## Usage
|
|
42
56
|
|
|
@@ -89,3 +103,5 @@ __NOTE:__ You must require the clrs stylesheet before other stylesheets using th
|
|
|
89
103
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
90
104
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
91
105
|
5. Create new Pull Request
|
|
106
|
+
|
|
107
|
+
More documentation on clrs.cc available at <https://github.com/mrmrs/colors>.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/* Courtesy of http://mrmrs.io/colors-saturated/ by @mrmrs_ */
|
|
2
|
+
|
|
3
|
+
// COLOR VARIABLES
|
|
4
|
+
|
|
5
|
+
$navy: #002B75;
|
|
6
|
+
$blue: #0050D4;
|
|
7
|
+
$aqua: #00D9F7;
|
|
8
|
+
$teal: #00A6A6;
|
|
9
|
+
$olive: #00B562;
|
|
10
|
+
$green: #00D942;
|
|
11
|
+
$lime: #B4D900;
|
|
12
|
+
$yellow: #EBCF00;
|
|
13
|
+
$orange: #EB7700;
|
|
14
|
+
$red: #EB0012;
|
|
15
|
+
$maroon: #790009;
|
|
16
|
+
$fuchsia: #FF00C3;
|
|
17
|
+
$purple: #8D00FF;
|
|
18
|
+
$white: #fff;
|
|
19
|
+
$silver: #777;
|
|
20
|
+
$gray: #333;
|
|
21
|
+
$black: #000;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
|
|
26
|
+
SKINS
|
|
27
|
+
- Backgrounds
|
|
28
|
+
- Colors
|
|
29
|
+
- Border colors
|
|
30
|
+
- SVG fills
|
|
31
|
+
- SVG Strokes
|
|
32
|
+
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/* Backgrounds */
|
|
37
|
+
|
|
38
|
+
.bg-navy { background-color: $navy; }
|
|
39
|
+
.bg-blue { background-color: $blue; }
|
|
40
|
+
.bg-aqua { background-color: $aqua; }
|
|
41
|
+
.bg-teal { background-color: $teal; }
|
|
42
|
+
.bg-olive { background-color: $olive; }
|
|
43
|
+
.bg-green { background-color: $green; }
|
|
44
|
+
.bg-lime { background-color: $lime; }
|
|
45
|
+
.bg-yellow { background-color: $yellow; }
|
|
46
|
+
.bg-orange { background-color: $orange; }
|
|
47
|
+
.bg-red { background-color: $red; }
|
|
48
|
+
.bg-fuchsia { background-color: $fuchsia; }
|
|
49
|
+
.bg-purple { background-color: $purple; }
|
|
50
|
+
.bg-maroon { background-color: $maroon; }
|
|
51
|
+
.bg-white { background-color: $white; }
|
|
52
|
+
.bg-gray { background-color: $gray; }
|
|
53
|
+
.bg-silver { background-color: $silver; }
|
|
54
|
+
.bg-black { background-color: $black; }
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/* Colors */
|
|
58
|
+
|
|
59
|
+
.navy { color: $navy; }
|
|
60
|
+
.blue { color: $blue; }
|
|
61
|
+
.aqua { color: $aqua; }
|
|
62
|
+
.teal { color: $teal; }
|
|
63
|
+
.olive { color: $olive; }
|
|
64
|
+
.green { color: $green; }
|
|
65
|
+
.lime { color: $lime; }
|
|
66
|
+
.yellow { color: $yellow; }
|
|
67
|
+
.orange { color: $orange; }
|
|
68
|
+
.red { color: $red; }
|
|
69
|
+
.fuchsia { color: $fuchsia; }
|
|
70
|
+
.purple { color: $purple; }
|
|
71
|
+
.maroon { color: $maroon; }
|
|
72
|
+
.white { color: $white; }
|
|
73
|
+
.silver { color: $silver; }
|
|
74
|
+
.gray { color: $gray; }
|
|
75
|
+
.black { color: $black; }
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/* Border colors
|
|
79
|
+
|
|
80
|
+
Use with another border utility that sets border-width and style
|
|
81
|
+
i.e .border { border-width: 1px; border-style: solid; }
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
.border--navy { border-color: $navy; }
|
|
85
|
+
.border--blue { border-color: $blue; }
|
|
86
|
+
.border--aqua { border-color: $aqua; }
|
|
87
|
+
.border--teal { border-color: $teal; }
|
|
88
|
+
.border--olive { border-color: $olive; }
|
|
89
|
+
.border--green { border-color: $green; }
|
|
90
|
+
.border--lime { border-color: $lime; }
|
|
91
|
+
.border--yellow { border-color: $yellow; }
|
|
92
|
+
.border--orange { border-color: $orange; }
|
|
93
|
+
.border--red { border-color: $red; }
|
|
94
|
+
.border--fuchsia { border-color: $fuchsia; }
|
|
95
|
+
.border--purple { border-color: $purple; }
|
|
96
|
+
.border--maroon { border-color: $maroon; }
|
|
97
|
+
.border--white { border-color: $white; }
|
|
98
|
+
.border--gray { border-color: $gray; }
|
|
99
|
+
.border--silver { border-color: $silver; }
|
|
100
|
+
.border--black { border-color: $black; }
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/* Fills for SVG */
|
|
104
|
+
|
|
105
|
+
.fill-navy { fill: $navy; }
|
|
106
|
+
.fill-blue { fill: $blue; }
|
|
107
|
+
.fill-aqua { fill: $aqua; }
|
|
108
|
+
.fill-teal { fill: $teal; }
|
|
109
|
+
.fill-olive { fill: $olive; }
|
|
110
|
+
.fill-green { fill: $green; }
|
|
111
|
+
.fill-lime { fill: $lime; }
|
|
112
|
+
.fill-yellow { fill: $yellow; }
|
|
113
|
+
.fill-orange { fill: $orange; }
|
|
114
|
+
.fill-red { fill: $red; }
|
|
115
|
+
.fill-fuchsia { fill: $fuchsia; }
|
|
116
|
+
.fill-purple { fill: $purple; }
|
|
117
|
+
.fill-maroon { fill: $maroon; }
|
|
118
|
+
.fill-white { fill: $white; }
|
|
119
|
+
.fill-gray { fill: $gray; }
|
|
120
|
+
.fill-silver { fill: $silver; }
|
|
121
|
+
.fill-black { fill: $black; }
|
|
122
|
+
|
|
123
|
+
/* Strokes for SVG */
|
|
124
|
+
|
|
125
|
+
.stroke-navy { stroke: $navy; }
|
|
126
|
+
.stroke-blue { stroke: $blue; }
|
|
127
|
+
.stroke-aqua { stroke: $aqua; }
|
|
128
|
+
.stroke-teal { stroke: $teal; }
|
|
129
|
+
.stroke-olive { stroke: $olive; }
|
|
130
|
+
.stroke-green { stroke: $green; }
|
|
131
|
+
.stroke-lime { stroke: $lime; }
|
|
132
|
+
.stroke-yellow { stroke: $yellow; }
|
|
133
|
+
.stroke-orange { stroke: $orange; }
|
|
134
|
+
.stroke-red { stroke: $red; }
|
|
135
|
+
.stroke-fuchsia { stroke: $fuchsia; }
|
|
136
|
+
.stroke-purple { stroke: $purple; }
|
|
137
|
+
.stroke-maroon { stroke: $maroon; }
|
|
138
|
+
.stroke-white { stroke: $white; }
|
|
139
|
+
.stroke-gray { stroke: $gray; }
|
|
140
|
+
.stroke-silver { stroke: $silver; }
|
|
141
|
+
.stroke-black { stroke: $black; }
|
data/clrs-1.1.0.gem
ADDED
|
Binary file
|
data/lib/clrs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clrs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Otander
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -50,9 +50,11 @@ files:
|
|
|
50
50
|
- LICENSE
|
|
51
51
|
- README.md
|
|
52
52
|
- Rakefile
|
|
53
|
+
- app/assets/stylesheets/clrs-saturated.scss
|
|
53
54
|
- app/assets/stylesheets/clrs.scss
|
|
54
55
|
- clrs-0.0.2.gem
|
|
55
56
|
- clrs-1.0.0.gem
|
|
57
|
+
- clrs-1.1.0.gem
|
|
56
58
|
- clrs.gemspec
|
|
57
59
|
- lib/clrs.rb
|
|
58
60
|
- lib/clrs/engine.rb
|