chroma-sass 1.0.0.beta.1 → 1.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54e376ee67d2b82ac4cb331e0e53d57847da5ef4
4
- data.tar.gz: 5d0b0134a9f7627338c32a6f74d6528eeba3d5f2
3
+ metadata.gz: 6a6bc71fd5ea710cbb9cd69fcb5b783488b1df48
4
+ data.tar.gz: 06fed0323a3ae2873ddd408f1a06c993f1f1d1e9
5
5
  SHA512:
6
- metadata.gz: a230b25168e748fdc06d8e05ea4381561e081ac3914686af70a208745ab4527a3b48e96f548ff32f25ccdc0282982d41f4ed53a1c9adeb0d6651b5c0ec909d8c
7
- data.tar.gz: 3450e20a9a7e430f16aa6e3b3ac3ef617fbab647c2e9b0188a988c29c74942ff4e05cc2c54c7d3115b2be01bdbfc48e66a99877c0b9e92f15b531ca58704ec43
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.1'
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{Chorma is the Sass color manager.}
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.1'
13
- spec.date = '2015-05-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']
@@ -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
- #{$swatch-class} {
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
- #{$variable-class} {
200
+ .#{$variable-class} {
199
201
  margin-right: 10px;
200
202
  }
201
203
 
202
- #{$alt-text-class} {
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
- #{$value-class} {
214
+ .#{$value-class} {
213
215
  color: #bbb;
214
216
 
215
217
  code {
@@ -224,7 +226,7 @@
224
226
  }
225
227
  }
226
228
 
227
- #{$reference-class} {
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.1
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-05 00:00:00.000000000 Z
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.1
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: Chorma is the Sass color manager.
67
+ summary: Chroma is the Sass color manager.
68
68
  test_files: []