typey 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3fa3d444c5db0f8a712c99131724ac944bbfc68
4
- data.tar.gz: 8ff7a0f82ff9461eec172f7c3d4eb757ec908659
3
+ metadata.gz: 2b242b19dfbd9b5792afb1c0106f2cad4c7e63f1
4
+ data.tar.gz: 75741f2117942f3078a8e8050b1364a94829deb0
5
5
  SHA512:
6
- metadata.gz: c0cbf79e439e6742aa65debf51bb2cc54d9ca6596e89c74b1b5dd36e35220021f34fdaab49f82b55bf3e1a2aa8407ceeda78b2211936cb708c65b8a76a818388
7
- data.tar.gz: caaa36c0583d9a94ad869b6e88fbd0acb6c71defe214c6b989b9658e64309ae29d9453d974fc78e3c82fdcb9faec5e8b7fa3958b7d9adcf585e85d33415f3ff5
6
+ metadata.gz: 6bde429fd6b7b645b9660cea1583e60478c7a9e77a759ae0e0dd83244edb4abfb9463afe5390db4433928b0046e102c34bc91baf6a6efca29fae5fce574bed4b
7
+ data.tar.gz: 23edcd132c3089e278fa972050a950fc1664c58b98788be6310d9ac7c1d58fbf8e832f24978f9240745f9a5beccddefa4a2165ef0851ffa619e152aebf0b694f
@@ -153,9 +153,6 @@ $typey-text-transform-properties: none capitalize uppercase lowercase initial in
153
153
 
154
154
  // Warnings for $typestyles.
155
155
  @each $key, $typestyle in $typestyles {
156
- @if type-of($typestyle) != "map" and type-of($typestyle) != "list" {
157
- @error "Typestyle '#{$key}' in $typestyles map must be a keyed map or a shorthand list in the format: [font-size] [line-height] [weight] [case]";
158
- }
159
156
  @if type-of($typestyle) == "list" {
160
157
  @each $value in $typestyle {
161
158
  @if index($typestyle, $value) == 1 {
@@ -52,6 +52,11 @@
52
52
  }
53
53
  }
54
54
 
55
+ // $typestyle may also be a solitary font-size.
56
+ @if type-of($typestyle) != "map" and type-of($typestyle) != "list" {
57
+ $font-size: $typestyle;
58
+ }
59
+
55
60
  // Output properties.
56
61
  @if $font-size {
57
62
  @include font-size($font-size, $context);
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.homepage = 'http://github.com/jptaranto/typey'
9
9
  spec.rubyforge_project =
10
10
 
11
- spec.version = '1.0.1'
12
- spec.date = '2016-05-02'
11
+ spec.version = '1.0.2'
12
+ spec.date = '2016-07-14'
13
13
  spec.licenses = ['GPL-2']
14
14
 
15
15
  spec.authors = ['Jack Taranto']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Taranto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-02 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubyforge_project: 1.0.1
75
+ rubyforge_project: 1.0.2
76
76
  rubygems_version: 2.4.6
77
77
  signing_key:
78
78
  specification_version: 4