chroma-sass 1.0.0.beta.1 → 1.0.0.beta.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/chroma-sass.gemspec +3 -3
- data/sass/chroma/_kss.scss +10 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a6bc71fd5ea710cbb9cd69fcb5b783488b1df48
|
|
4
|
+
data.tar.gz: 06fed0323a3ae2873ddd408f1a06c993f1f1d1e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11e671536d3964edb707e955b476fb69297653f059903d5b8d85995b6cdd416ef897f540a525147a55a9ec99106efa182981008acaf2a2658e502e2e9114bcb3
|
|
7
|
+
data.tar.gz: 38592a4bf1fe26e0c99de1deb2c0e00d95d5776c1243dde5623564407fd84ce09e9cbe6e13e3bcb2b7e569ef983f7e8c2bb9251d032b017a6d739871b00fab4c
|
data/README.md
CHANGED
|
@@ -43,7 +43,7 @@ $chroma: add-colors('functional', (
|
|
|
43
43
|
));
|
|
44
44
|
|
|
45
45
|
// Create an "alternate" color scheme that inherits from the "functional" color scheme.
|
|
46
|
-
$chroma: define-color-scheme('alternate', 'Alternate colors for the site.', 'functional');
|
|
46
|
+
$chroma: define-color-scheme('alternate', 'Alternate colors for the site.', $parent: 'functional');
|
|
47
47
|
|
|
48
48
|
// Add colors to the alternate color scheme.
|
|
49
49
|
$chroma: add-colors('alternate', (
|
|
@@ -82,7 +82,7 @@ gem install chroma-sass
|
|
|
82
82
|
If you are using Bundler (and you should!) then you can add it to an existing project by editing the project's Gemfile and adding this line:
|
|
83
83
|
|
|
84
84
|
```ruby
|
|
85
|
-
gem 'chroma-sass', '~> 1.0.0.beta.
|
|
85
|
+
gem 'chroma-sass', '~> 1.0.0.beta.2'
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
If you are using Compass, edit your project's config.rb and add this line:
|
data/chroma-sass.gemspec
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = 'chroma-sass'
|
|
5
5
|
|
|
6
|
-
spec.summary = %q{
|
|
6
|
+
spec.summary = %q{Chroma is the Sass color manager.}
|
|
7
7
|
spec.description = %q{Chroma is the Sass color manager. Manages color names, variations, and schemes.}
|
|
8
8
|
|
|
9
9
|
spec.homepage = 'http://github.com/JohnAlbin/chroma'
|
|
10
10
|
spec.rubyforge_project =
|
|
11
11
|
|
|
12
|
-
spec.version = '1.0.0.beta.
|
|
13
|
-
spec.date = '2015-05-
|
|
12
|
+
spec.version = '1.0.0.beta.2'
|
|
13
|
+
spec.date = '2015-05-07'
|
|
14
14
|
spec.licenses = ['GPL-2']
|
|
15
15
|
|
|
16
16
|
spec.authors = ['John Albin Wilkins']
|
data/sass/chroma/_kss.scss
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
@import "./functions";
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
// chroma-kss-markup()
|
|
17
16
|
//
|
|
18
17
|
// Returns the HTML needed to display all colors in color() in a KSS style
|
|
@@ -47,7 +46,6 @@
|
|
|
47
46
|
// $reference-class - Defaults to 'chroma-kss__reference'.
|
|
48
47
|
//
|
|
49
48
|
// style guide: kss.chroma-kss-markup
|
|
50
|
-
|
|
51
49
|
@function chroma-kss-markup(
|
|
52
50
|
$wrapper-class: 'kss-style',
|
|
53
51
|
$title-class: 'chroma-kss__title',
|
|
@@ -130,7 +128,6 @@
|
|
|
130
128
|
// $reference-class - Defaults to 'chroma-kss__reference'.
|
|
131
129
|
//
|
|
132
130
|
// Style guide: kss.chroma-kss-styles
|
|
133
|
-
|
|
134
131
|
@mixin chroma-kss-styles(
|
|
135
132
|
$wrapper-class: 'kss-style',
|
|
136
133
|
$title-class: 'chroma-kss__title',
|
|
@@ -170,6 +167,11 @@
|
|
|
170
167
|
}
|
|
171
168
|
}
|
|
172
169
|
|
|
170
|
+
// _chroma-kss-styles()
|
|
171
|
+
//
|
|
172
|
+
// Helper mixin for chroma-kss-styles().
|
|
173
|
+
//
|
|
174
|
+
// No style guide reference.
|
|
173
175
|
@mixin _chroma-kss-styles(
|
|
174
176
|
$title-class: 'chroma-kss__title',
|
|
175
177
|
$description-class: 'chroma-kss__description',
|
|
@@ -185,7 +187,7 @@
|
|
|
185
187
|
line-height: 50px;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
|
|
190
|
+
.#{$swatch-class} {
|
|
189
191
|
display: inline-block;
|
|
190
192
|
width: 40px;
|
|
191
193
|
height: 40px;
|
|
@@ -195,11 +197,11 @@
|
|
|
195
197
|
vertical-align: middle;
|
|
196
198
|
}
|
|
197
199
|
|
|
198
|
-
|
|
200
|
+
.#{$variable-class} {
|
|
199
201
|
margin-right: 10px;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
|
|
204
|
+
.#{$alt-text-class} {
|
|
203
205
|
position: absolute !important;
|
|
204
206
|
height: 1px;
|
|
205
207
|
width: 1px;
|
|
@@ -209,7 +211,7 @@
|
|
|
209
211
|
clip: rect(1px, 1px, 1px, 1px);
|
|
210
212
|
}
|
|
211
213
|
|
|
212
|
-
|
|
214
|
+
.#{$value-class} {
|
|
213
215
|
color: #bbb;
|
|
214
216
|
|
|
215
217
|
code {
|
|
@@ -224,7 +226,7 @@
|
|
|
224
226
|
}
|
|
225
227
|
}
|
|
226
228
|
|
|
227
|
-
|
|
229
|
+
.#{$reference-class} {
|
|
228
230
|
display: block;
|
|
229
231
|
position: relative;
|
|
230
232
|
top: -12px;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chroma-sass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.beta.
|
|
4
|
+
version: 1.0.0.beta.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Albin Wilkins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-05-
|
|
11
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sass
|
|
@@ -60,9 +60,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: 1.3.1
|
|
62
62
|
requirements: []
|
|
63
|
-
rubyforge_project: 1.0.0.beta.
|
|
63
|
+
rubyforge_project: 1.0.0.beta.2
|
|
64
64
|
rubygems_version: 2.4.6
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
|
-
summary:
|
|
67
|
+
summary: Chroma is the Sass color manager.
|
|
68
68
|
test_files: []
|