compass-excess 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c7edab6c6005ad98bdcf8eb477022d9600aa812
4
- data.tar.gz: 146ce5601bca52d860ccb510e590f2c8f4119fc4
3
+ metadata.gz: e69e3d2a02ad15331a8074dd02395594dcdaab28
4
+ data.tar.gz: 5c20443fd7f62351d8244447bc5cddb13f91ec80
5
5
  SHA512:
6
- metadata.gz: 3795640163a70ea952bad66bc5c64fc2e9d2118def0c5b5c3c6350ed0477eb04e0bdab1410bffa224ccfc670afa7ad23e3a42bc8817e23fe22a696c6c86ddba8
7
- data.tar.gz: 398fd4eb191607ff838bdcc7fbde228578f87e2382978cfbe59c393205b86352878abed2d53c39a51e0d2449c7d5099c22051328e09d8b861e1ecc92256f2b91
6
+ metadata.gz: b116f54e4498babf87cea3bdc89a227c3b9906d1a66086cd36816e9e9928f70c06bb85efbe8ffdab238b7f9209640aafb84e4c33478bb7d81d4face2974e2221
7
+ data.tar.gz: e2096ad0c0f472c6d4e51e6470da5c3c1f177935c86b55ad132944a3f7d27fabbf802f7d295af8ffe88e82c1f70397993e54011303a71ce74cbe0cadaeae5087
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module Excess
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -19,11 +19,15 @@
19
19
  } // @mixin unstyled-list
20
20
 
21
21
  @function breakpoint($width) {
22
- @if map-has-key($breakpoints, $width) {
23
- @return map-get($breakpoints, $width);
22
+ @if type-of($width) == 'number' {
23
+ @return $width;
24
+ } @elseif type-of($width) == 'string' {
25
+ @if map-has-key($breakpoints, $width) {
26
+ @return map-get($breakpoints, $width);
27
+ }
28
+ @error "No breakpoint called `#{$width}` exists in the `$breakpoints` map";
24
29
  }
25
30
 
26
- @warn "No breakpoint called `#{$width}` exists in the `$breakpoints` map";
27
31
  @return null;
28
32
  } // @function breakpoint()
29
33
 
@@ -30,9 +30,9 @@ $line-height-modifiers: (
30
30
  );
31
31
 
32
32
  @mixin text-underline-line-height($line-height) {
33
- display: inline-block;
34
33
  text-decoration: none;
35
34
  @include line-height($line-height * map-get($line-height-modifiers, default));
35
+ background-repeat: repeat-x;
36
36
 
37
37
  body.mac &,
38
38
  body.ios & {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-excess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Darlow