modular-scale 3.0.7 → 3.0.8

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: 884eefca5332d6c83e828fa8857c6069e970c23b
4
- data.tar.gz: 58461def5e7a0ae102448c37d6af7bf99e9cecf7
3
+ metadata.gz: d514928d9de108ca949fe047fdf2e906f40bf68e
4
+ data.tar.gz: d25cab2c356567128b340e8c4500d07745b350f0
5
5
  SHA512:
6
- metadata.gz: 8ab206ecdc36a66d43d8f45ca8f22f17244c1708e5896c21ee627dc78a6d3130de88c7dbf5e0358fa365e5605fa436e0db8eb3105042fd030eb3992695729e1e
7
- data.tar.gz: 15a64a438505c14ad1c37518b1e077d17d6db5e2db8dd5c701912a5e2edac15b6ad4193fd83590a7a4711ddccc903fc8b82b64ba5ef51b2c3b52ec13630d1536
6
+ metadata.gz: d90e8b63152db176cc0ccdc23e5dba0c2e16afc87d57bc1a3e3424fc038a195b84a37f655c478a2fc683885f83c9d5f86b4450f5c257c6d362dd878361fc473e
7
+ data.tar.gz: f3dbabced398cd32d8d76fc8ed6dce98a8d93a8a915af5ee5dc7b5a49568ac7a914cb59bd93a37dfea07824ca1af42869f4675748658cb4da564f439fcdc9eee
@@ -1,6 +1,10 @@
1
+ # Version 3.0.8
2
+
3
+ * Fix issues with removal of rounding, sorry folks.
4
+
1
5
  # Version 3.0.7
2
6
 
3
- * Remove rounding errors.
7
+ * Remove rounding.
4
8
 
5
9
  # Version 3.0.6
6
10
 
@@ -16,7 +16,7 @@ Compass::Frameworks.register('modular-scale', :path => extension_path)
16
16
  # a prerelease version
17
17
  # Date is in the form of YYYY-MM-DD
18
18
  module ModularScale
19
- VERSION = "3.0.7"
19
+ VERSION = "3.0.8"
20
20
  DATE = "2018-09-27"
21
21
  end
22
22
 
@@ -8,6 +8,7 @@
8
8
  @import 'modularscale/sort';
9
9
  @import 'modularscale/target';
10
10
  @import 'modularscale/function';
11
+ @import 'modularscale/round-px';
11
12
 
12
13
  // Mixins
13
14
  @import 'modularscale/respond';
@@ -12,7 +12,7 @@
12
12
 
13
13
  // Fast calc if not multi stranded
14
14
  @if(length($base) == 1) {
15
- @return ms-round-px(ms-pow($ratio, $v) * $base);
15
+ @return ms-pow($ratio, $v) * $base;
16
16
  }
17
17
 
18
18
  // Create new base array
@@ -0,0 +1,7 @@
1
+ @function ms-round-px($r) {
2
+ @if unit($r) == 'px' {
3
+ @return round($r);
4
+ }
5
+ @warn "ms-round-px is no longer used by modular scale and will be removed in the 3.1.0 release.";
6
+ @return $r;
7
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modular-scale
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.7
4
+ version: 3.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Kellum
@@ -34,10 +34,10 @@ files:
34
34
  - license.md
35
35
  - readme.md
36
36
  - stylesheets/_modularscale.scss
37
- - stylesheets/modularscale.zip
38
37
  - stylesheets/modularscale/_function.scss
39
38
  - stylesheets/modularscale/_pow.scss
40
39
  - stylesheets/modularscale/_respond.scss
40
+ - stylesheets/modularscale/_round-px.scss
41
41
  - stylesheets/modularscale/_settings.scss
42
42
  - stylesheets/modularscale/_sort.scss
43
43
  - stylesheets/modularscale/_strip-units.scss
Binary file