modular-scale 3.0.2 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +15 -1
- data/lib/modular-scale.rb +2 -2
- data/license.md +1 -1
- data/readme.md +7 -7
- data/stylesheets/modularscale.zip +0 -0
- data/stylesheets/modularscale/_pow.scss +1 -8
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb8e832ec7e2ce31126a42b3353df0769f799602
|
4
|
+
data.tar.gz: 4b07f42a8745961ca7aafbf69484ed9438465ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2344c171ae328a33c76181b7a8a7320894947a0eff64a864d502f70827774ff6d6ac9d1df0bee29a985557bbaa669802402d3af2f88235b0f4a3df04a1c03c49
|
7
|
+
data.tar.gz: a7ce210868f806945e497ba7a226f4a17995d90fa9d9ccbdd2fdd0515f5da1d3adf608a710aea6bb91fea88ed52ccb6a7e486961c55a31ef982e9810a7ba8789
|
data/changelog.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# Version 3.0.5
|
2
|
+
|
3
|
+
* Added an !important flag for specificity in some frameworks like IntuitCSS. [See pull 146 for details](https://github.com/modularscale/modularscale-sass/pull/146).
|
4
|
+
|
5
|
+
# Version 3.0.4
|
6
|
+
|
7
|
+
* Fixed line breaks in error messaging to be compatable with future versions of Sass.
|
8
|
+
|
9
|
+
# Version 3.0.3
|
10
|
+
|
11
|
+
* Updated version for eyeglass (1.2.1)
|
12
|
+
* Fixed scss file path for Bower
|
13
|
+
* Removed `npm-debug.log` file
|
14
|
+
|
1
15
|
# Version 3.0.2
|
2
16
|
|
3
17
|
* Fix bug when the exponent is 0
|
@@ -45,4 +59,4 @@
|
|
45
59
|
* No more mixins at all, only functions.
|
46
60
|
* Increased compatibility with Sass 3.1 and up
|
47
61
|
* Compatibility with LibSass
|
48
|
-
* Compass no longer required (non-integer values require Compass)
|
62
|
+
* Compass no longer required (non-integer values require Compass)
|
data/lib/modular-scale.rb
CHANGED
@@ -16,8 +16,8 @@ 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.
|
20
|
-
DATE = "
|
19
|
+
VERSION = "3.0.5"
|
20
|
+
DATE = "2018-01-23"
|
21
21
|
end
|
22
22
|
|
23
23
|
# This is where any custom SassScript should be placed. The functions will be
|
data/license.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright ©
|
3
|
+
Copyright © 2018 [Scott Kellum](http://www.scottkellum.com/) ([@scottkellum](http://twitter.com/scottkellum)), [Adam Stacoviak](http://adamstacoviak.com/) ([@adamstac](http://twitter.com/adamstac)) and [Mason Wendell](http://thecodingdesigner.com/) ([@codingdesigner](http://twitter.com/codingdesigner))
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
6
|
|
data/readme.md
CHANGED
@@ -8,12 +8,6 @@ To get started, you need to select a ratio and a base value. The base value is u
|
|
8
8
|
|
9
9
|
## Install
|
10
10
|
|
11
|
-
### Compass
|
12
|
-
|
13
|
-
* Terminal: `gem install modular-scale --pre`
|
14
|
-
* Compass config: `require 'modular-scale'`
|
15
|
-
* SCSS: `@import 'modularscale';`
|
16
|
-
|
17
11
|
### Eyeglass
|
18
12
|
|
19
13
|
* Terminal: `npm install modularscale-sass --save-dev`
|
@@ -36,6 +30,12 @@ To get started, you need to select a ratio and a base value. The base value is u
|
|
36
30
|
* Extract into your project
|
37
31
|
* SCSS: `@import 'modularscale';`
|
38
32
|
|
33
|
+
### Compass (no longer being updated. Last release v3.0.2)
|
34
|
+
|
35
|
+
* Terminal: `gem install modular-scale --pre`
|
36
|
+
* Compass config: `require 'modular-scale'`
|
37
|
+
* SCSS: `@import 'modularscale';`
|
38
|
+
|
39
39
|
## Using modular scale
|
40
40
|
|
41
41
|
#### Initial setup and usage:
|
@@ -126,7 +126,7 @@ h2 {
|
|
126
126
|
|
127
127
|
If you do happen to have any values that are just named without numbers they will be ignored by the responsive mixin, it’s smart enough to just pull values that look like breakpoints.
|
128
128
|
|
129
|
-
Here is an [example page](http://skscratch.bitballoon.com/ms-demo) and the [
|
129
|
+
Here is an [example page](http://skscratch.bitballoon.com/ms-demo) and the [corresponding Sass](https://github.com/modularscale/modularscale-sass/blob/3.x/test-compass/sass/style.scss).
|
130
130
|
|
131
131
|
#### Note on non-integer values
|
132
132
|
|
Binary file
|
@@ -18,14 +18,7 @@
|
|
18
18
|
// This does not support non-integer exponents,
|
19
19
|
// Check and return an error if a non-integer exponent is passed.
|
20
20
|
@if (floor($e) != $e) {
|
21
|
-
@error '
|
22
|
-
======================================================================
|
23
|
-
Non-integer values are not supported in modularscale by default.
|
24
|
-
|
25
|
-
Try using mathsass in your project to add non-integer scale support.
|
26
|
-
https://github.com/terkel/mathsass
|
27
|
-
======================================================================
|
28
|
-
'
|
21
|
+
@error 'Non-integer values are not supported in modularscale by default. Try using mathsass in your project to add non-integer scale support. https://github.com/terkel/mathsass'
|
29
22
|
}
|
30
23
|
|
31
24
|
// Seed the return.
|
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.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Kellum
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2018-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: |-
|
16
16
|
A modular scale is a list of values that share the same relationship. These
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- license.md
|
35
35
|
- readme.md
|
36
36
|
- stylesheets/_modularscale.scss
|
37
|
+
- stylesheets/modularscale.zip
|
37
38
|
- stylesheets/modularscale/_function.scss
|
38
39
|
- stylesheets/modularscale/_pow.scss
|
39
40
|
- stylesheets/modularscale/_respond.scss
|
@@ -64,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
65
|
version: 1.3.6
|
65
66
|
requirements: []
|
66
67
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.
|
68
|
+
rubygems_version: 2.5.2
|
68
69
|
signing_key:
|
69
70
|
specification_version: 4
|
70
71
|
summary: Modular scale calculator built into your Sass.
|