chroma-sass 1.2.3 → 1.2.4
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 +1 -1
 - data/chroma-sass.gemspec +2 -2
 - data/package.json +5 -5
 - data/sass/chroma/_kss.scss +13 -3
 - 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: c1c5cf6813992038de152db9aaf516384459a8f3
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f3a371c5dd9aa2ec9d3ff573657561d3fb0cf3d7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7eee35cbb5fe05bdc599ce6fffe3f4ebae9302ad0256358a7b4b455bdc8fce57752909cf3cb638a084ef72fb4bd26e37d2d49d520260448d75dca1f91646becc
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 326964755ab48b04a7560cfece2de7c2782d41c0d04772bc6440409d5e3bcac5778bf70b8d0a195da72ec085a89280c07ec3aafffdcc9f14ff83a3242797b0e8
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -109,4 +109,4 @@ See [Chroma’s online documentation](http://johnalbin.github.io/chroma/#install 
     | 
|
| 
       109 
109 
     | 
    
         | 
| 
       110 
110 
     | 
    
         
             
            Available under the GPL v2 license. See [LICENSE.txt](https://github.com/JohnAlbin/chroma/blob/master/LICENSE.txt).
         
     | 
| 
       111 
111 
     | 
    
         | 
| 
       112 
     | 
    
         
            -
            [](https://travis-ci.org/JohnAlbin/chroma)
         
     | 
| 
      
 112 
     | 
    
         
            +
            [](https://travis-ci.org/JohnAlbin/chroma/builds)
         
     | 
    
        data/chroma-sass.gemspec
    CHANGED
    
    | 
         @@ -9,8 +9,8 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       9 
9 
     | 
    
         
             
              spec.homepage    = 'https://github.com/JohnAlbin/chroma'
         
     | 
| 
       10 
10 
     | 
    
         
             
              spec.rubyforge_project =
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
              spec.version     = '1.2. 
     | 
| 
       13 
     | 
    
         
            -
              spec.date        = '2016-04- 
     | 
| 
      
 12 
     | 
    
         
            +
              spec.version     = '1.2.4'
         
     | 
| 
      
 13 
     | 
    
         
            +
              spec.date        = '2016-04-30'
         
     | 
| 
       14 
14 
     | 
    
         
             
              spec.licenses    = ['GPL-2.0']
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
              spec.authors     = ['John Albin Wilkins']
         
     | 
    
        data/package.json
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
              "name": "chroma-sass",
         
     | 
| 
       3 
     | 
    
         
            -
              "version": "1.2. 
     | 
| 
      
 3 
     | 
    
         
            +
              "version": "1.2.4",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "description": "Chroma is the Sass color manager, managing color names, variations, and color schemes.",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "homepage": "https://github.com/JohnAlbin/chroma",
         
     | 
| 
       6 
6 
     | 
    
         
             
              "bugs": {
         
     | 
| 
         @@ -30,17 +30,17 @@ 
     | 
|
| 
       30 
30 
     | 
    
         
             
              },
         
     | 
| 
       31 
31 
     | 
    
         
             
              "scripts": {
         
     | 
| 
       32 
32 
     | 
    
         
             
                "test": "mocha",
         
     | 
| 
       33 
     | 
    
         
            -
                "posttest": "eslint  
     | 
| 
      
 33 
     | 
    
         
            +
                "posttest": "eslint .",
         
     | 
| 
       34 
34 
     | 
    
         
             
                "docs": "kss-node --source sass --source docs --destination gh-pages --title 'Chroma for Sass'"
         
     | 
| 
       35 
35 
     | 
    
         
             
              },
         
     | 
| 
       36 
36 
     | 
    
         
             
              "license": "GPL-2.0",
         
     | 
| 
       37 
37 
     | 
    
         
             
              "dependencies": {},
         
     | 
| 
       38 
38 
     | 
    
         
             
              "devDependencies": {
         
     | 
| 
       39 
39 
     | 
    
         
             
                "chai": "^3.5.0",
         
     | 
| 
       40 
     | 
    
         
            -
                "eslint": "^2. 
     | 
| 
      
 40 
     | 
    
         
            +
                "eslint": "^2.9.0",
         
     | 
| 
       41 
41 
     | 
    
         
             
                "eyeglass": "^0.8.3",
         
     | 
| 
       42 
     | 
    
         
            -
                "kss": " 
     | 
| 
      
 42 
     | 
    
         
            +
                "kss": "3.0.0-beta.3",
         
     | 
| 
       43 
43 
     | 
    
         
             
                "mocha": "^2.4.5",
         
     | 
| 
       44 
     | 
    
         
            -
                "sassy-test": "^3.0. 
     | 
| 
      
 44 
     | 
    
         
            +
                "sassy-test": "^3.0.4"
         
     | 
| 
       45 
45 
     | 
    
         
             
              }
         
     | 
| 
       46 
46 
     | 
    
         
             
            }
         
     | 
    
        data/sass/chroma/_kss.scss
    CHANGED
    
    | 
         @@ -74,18 +74,28 @@ 
     | 
|
| 
       74 
74 
     | 
    
         
             
                    $reference: map-get($data, 'reference');
         
     | 
| 
       75 
75 
     | 
    
         
             
                    $referenced_by: map-get($data, 'referenced_by');
         
     | 
| 
       76 
76 
     | 
    
         | 
| 
      
 77 
     | 
    
         
            +
                    // @TODO: node-sass 3.6.0 crashes with too many "+" operators in one command.
         
     | 
| 
       77 
78 
     | 
    
         
             
                    $markup: $markup
         
     | 
| 
       78 
79 
     | 
    
         
             
                      + '<div class="#{$color-class}">'
         
     | 
| 
       79 
     | 
    
         
            -
                      +   '<span class="#{$swatch-class}" style="background-color: #{$value}"></span>'
         
     | 
| 
      
 80 
     | 
    
         
            +
                      +   '<span class="#{$swatch-class}" style="background-color: #{$value}"></span>';
         
     | 
| 
      
 81 
     | 
    
         
            +
                    $markup: $markup
         
     | 
| 
       80 
82 
     | 
    
         
             
                      +   '<code class="#{$variable-class}">#{$_chroma-spelling}(#{$color})</code>'
         
     | 
| 
       81 
     | 
    
         
            -
                      +   ' <span class="#{$alt-text-class}">uses the #{$_chroma-spelling}:</span> '
         
     | 
| 
      
 83 
     | 
    
         
            +
                      +   ' <span class="#{$alt-text-class}">uses the #{$_chroma-spelling}:</span> ';
         
     | 
| 
      
 84 
     | 
    
         
            +
                    $markup: $markup
         
     | 
| 
       82 
85 
     | 
    
         
             
                      +   '<span class="#{$value-class}"><code>#{$value}</code>';
         
     | 
| 
       83 
86 
     | 
    
         
             
                    @if $reference {
         
     | 
| 
       84 
87 
     | 
    
         
             
                      $markup: $markup + ' (#{$reference})';
         
     | 
| 
       85 
88 
     | 
    
         
             
                    }
         
     | 
| 
       86 
89 
     | 
    
         
             
                    $markup: $markup + '</span>';
         
     | 
| 
       87 
90 
     | 
    
         
             
                    @if length($referenced_by) > 0 {
         
     | 
| 
       88 
     | 
    
         
            -
                      $markup: $markup + ' <span class="#{$reference_class}">This #{$_chroma-spelling} is inherited by:  
     | 
| 
      
 91 
     | 
    
         
            +
                      $markup: $markup + ' <span class="#{$reference_class}">This #{$_chroma-spelling} is inherited by: ';
         
     | 
| 
      
 92 
     | 
    
         
            +
                      @for $i from 1 through length($referenced_by) {
         
     | 
| 
      
 93 
     | 
    
         
            +
                        $markup: $markup + nth($referenced_by, $i);
         
     | 
| 
      
 94 
     | 
    
         
            +
                        @if ($i != length($referenced_by)) {
         
     | 
| 
      
 95 
     | 
    
         
            +
                          $markup: $markup + ', ';
         
     | 
| 
      
 96 
     | 
    
         
            +
                        }
         
     | 
| 
      
 97 
     | 
    
         
            +
                      }
         
     | 
| 
      
 98 
     | 
    
         
            +
                      $markup: $markup + '</span>';
         
     | 
| 
       89 
99 
     | 
    
         
             
                    }
         
     | 
| 
       90 
100 
     | 
    
         
             
                    $markup: $markup + '</div>';
         
     | 
| 
       91 
101 
     | 
    
         
             
                  }
         
     | 
    
        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.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.2.4
         
     | 
| 
       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: 2016-04- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-04-30 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: sass
         
     | 
| 
         @@ -63,8 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       63 
63 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       64 
64 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       65 
65 
     | 
    
         
             
            requirements: []
         
     | 
| 
       66 
     | 
    
         
            -
            rubyforge_project: 1.2. 
     | 
| 
       67 
     | 
    
         
            -
            rubygems_version: 2.6. 
     | 
| 
      
 66 
     | 
    
         
            +
            rubyforge_project: 1.2.4
         
     | 
| 
      
 67 
     | 
    
         
            +
            rubygems_version: 2.6.2
         
     | 
| 
       68 
68 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       69 
69 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       70 
70 
     | 
    
         
             
            summary: Chroma is the Sass color manager.
         
     |