sane-scale 0.7 → 0.9
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 +4 -4
- data/lib/sane-scale.rb +4 -2
- data/templates/project/stylesheets/main.css +4 -5
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58868c6089698e146afb4e69dce938064fd5f505
|
4
|
+
data.tar.gz: b8dc213cf3e907f491b6a6aeb0e5b60feb75c9b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352c3bd7eb7876129d1df4bf39fe180413e101c3335e532db46d5bb24bff1ea611622bced1c6771b3ed5655407ea479f35228231c0b715fd637e4c2a0c36dd92
|
7
|
+
data.tar.gz: 49eefdfe7803787d9fb13b394fc5bc85fa426bf3847030199ea8909e62d04d754a0b4601bcb6ed63bc87718fada445f0dc9756ad242d6d3b8083219d95c34297
|
data/README.md
CHANGED
@@ -160,7 +160,7 @@ $typography: ss-build-typography((
|
|
160
160
|
"max-font-size": 28px,
|
161
161
|
"max-line-height": 1.35,
|
162
162
|
"font-size-precision": 0.1,
|
163
|
-
"line-height-precision: 0.01
|
163
|
+
"line-height-precision": 0.01
|
164
164
|
),
|
165
165
|
|
166
166
|
// ...
|
@@ -173,7 +173,7 @@ Oftentimes you may need to set very narrow lines of text, causing your line-heig
|
|
173
173
|
|
174
174
|
```scss
|
175
175
|
.caption-tight {
|
176
|
-
@include ss-set-responsive-font-size($font-verdana, -1, opts: ("line-height": "tight"));
|
176
|
+
@include ss-set-responsive-font-size($font-verdana, -1, $opts: ("line-height": "tight"));
|
177
177
|
}
|
178
178
|
```
|
179
179
|
|
@@ -181,7 +181,7 @@ Other times you may want to set text to be solid (meaning no "leading"). In term
|
|
181
181
|
|
182
182
|
```scss
|
183
183
|
.btn {
|
184
|
-
@include ss-set-responsive-font-size($font-verdana, 1, opts: ("line-height": "solid"));
|
184
|
+
@include ss-set-responsive-font-size($font-verdana, 1, $opts: ("line-height": "solid"));
|
185
185
|
}
|
186
186
|
```
|
187
187
|
|
@@ -201,7 +201,7 @@ $font-verdana: (
|
|
201
201
|
Apply an uppercase style like so:
|
202
202
|
```scss
|
203
203
|
.h4 {
|
204
|
-
@include ss-set-responsive-font-size($font-verdana, 1, opts: ("uppercase": true));
|
204
|
+
@include ss-set-responsive-font-size($font-verdana, 1, $opts: ("uppercase": true));
|
205
205
|
}
|
206
206
|
```
|
207
207
|
|
data/lib/sane-scale.rb
CHANGED
@@ -11,14 +11,16 @@ require 'sassy-math'
|
|
11
11
|
extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
12
12
|
Compass::Frameworks.register('sane-scale', :path => extension_path)
|
13
13
|
|
14
|
+
warn "[DEPRECATION] This gem has been renamed to type-director and will no longer be supported. Please switch to type-director as soon as possible."
|
15
|
+
|
14
16
|
# Version and date of version for your Compass extension.
|
15
17
|
# Replace Extension with the name of your extension. Letters,
|
16
18
|
# numbers, and underscores only. Version is a number. If a
|
17
19
|
# version contains alphas, it will be created as a
|
18
20
|
# prerelease version. Date is in the form of YYYY-MM-DD
|
19
21
|
module SaneScale
|
20
|
-
VERSION = "0.
|
21
|
-
DATE = "2016-08-
|
22
|
+
VERSION = "0.9"
|
23
|
+
DATE = "2016-08-14"
|
22
24
|
end
|
23
25
|
|
24
26
|
# This is where any custom SassScript should be placed. The functions will be
|
@@ -102,15 +102,14 @@ body {
|
|
102
102
|
/* line 22, ../sass/_typography.scss */
|
103
103
|
.h1 {
|
104
104
|
font-family: Verdana, sans-serif;
|
105
|
-
|
106
|
-
|
107
|
-
line-height: 1.67746;
|
105
|
+
font-size: 24.92px;
|
106
|
+
line-height: 1.42584;
|
108
107
|
}
|
109
108
|
@media screen and (min-width: 768px) {
|
110
109
|
/* line 22, ../sass/_typography.scss */
|
111
110
|
.h1 {
|
112
|
-
font-size:
|
113
|
-
line-height: 1.
|
111
|
+
font-size: 37.38px;
|
112
|
+
line-height: 1.32022;
|
114
113
|
}
|
115
114
|
}
|
116
115
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sane-scale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Fusilier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassy-math
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.0.3
|
55
|
-
description:
|
55
|
+
description: " Deprecated. Renamed to 'type-director'"
|
56
56
|
email:
|
57
57
|
- dfusil2@gmail.com
|
58
58
|
executables: []
|
@@ -84,7 +84,10 @@ homepage: https://github.com/dfusilier/sane-scale.git
|
|
84
84
|
licenses:
|
85
85
|
- MIT
|
86
86
|
metadata: {}
|
87
|
-
post_install_message:
|
87
|
+
post_install_message: |2
|
88
|
+
! The 'sane-scale' gem has been deprecated and has been replaced by 'type-director'.
|
89
|
+
! See: https://rubygems.org/gems/type-director
|
90
|
+
! And: https://github.com/dfusilier/type-director
|
88
91
|
rdoc_options: []
|
89
92
|
require_paths:
|
90
93
|
- lib
|