toolkit 2.0.0 → 2.0.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: 62760cac31edf0b4c29adc98c135ae7fe31701ab
4
- data.tar.gz: 9c9685e17a161700d2a601a6000c821a867d4bea
3
+ metadata.gz: f6d9bc88fda26dd82d2b0c7c3203692b62dc9390
4
+ data.tar.gz: b869cfdf00d2fb51256b68b2f2e2f6bb099b8951
5
5
  SHA512:
6
- metadata.gz: 312c882e68716000f7de22b83cecab58e414fae1938bf0445a34e3a8816e212982ec034b5e957af88a874f10bdadc107848caec86c542e0ae5c6fc879fb9c258
7
- data.tar.gz: 39dc84d1b4a8567d593e09de184c000585049d3c7a7871fcf9a58bd49076c306659e67ed48e32a00315b42a01db78f20839694aa6f1d48a6d53c83dc1adbb870
6
+ metadata.gz: 8847040541ebc7ab941c2d0dc0c11587a9aa0ee0fa52c80e68c6c62d134222b090aa7a5a1f7f3a48cb5591923614193b11e95272603bbfb57ac2ae11add51356
7
+ data.tar.gz: 694291003eecbdf74e2356e56eb4170bd4bfe315b6230041face45e002f260c32fa2cb300b6156f2bd08a33257bd5e4e467ab8c0faacdcd9acf1a20a4c778614
data/lib/toolkit.rb CHANGED
@@ -6,6 +6,6 @@ if (defined? Compass)
6
6
  end
7
7
 
8
8
  module Toolkit
9
- VERSION = "2.0.0"
10
- DATE = "2014-03-14"
9
+ VERSION = "2.0.1"
10
+ DATE = "2014-03-17"
11
11
  end
@@ -5,7 +5,7 @@
5
5
  $extend: if($extend != null, $extend, toolkit-get('clearfix extend'));
6
6
 
7
7
  @if $extend == true {
8
- @include toolkit-placeholder('clearfix') {
8
+ @include dynamic-extend('clearfix') {
9
9
  @include clearfix(false);
10
10
  }
11
11
  }
@@ -5,7 +5,7 @@
5
5
  $extend: if($extend != null, $extend, toolkit-get('ligature extend'));
6
6
 
7
7
  @if $extend {
8
- @include toolkit-placeholder('enable ligatures') {
8
+ @include dynamic-extend('enable ligatures') {
9
9
  @include enable-ligatures;
10
10
  }
11
11
  }
@@ -56,17 +56,15 @@
56
56
 
57
57
  }
58
58
 
59
- @at-root {
60
- @font-face {
61
- font-family: $name;
62
- font-weight: $weight;
63
- font-style: $style;
64
- @if $eot {
65
- src: $eot;
66
- }
67
- @if length($font-stack) > 0 {
68
- src: $font-stack;
69
- }
59
+ @font-face {
60
+ font-family: $name;
61
+ font-weight: $weight;
62
+ font-style: $style;
63
+ @if $eot {
64
+ src: $eot;
65
+ }
66
+ @if length($font-stack) > 0 {
67
+ src: $font-stack;
70
68
  }
71
69
  }
72
70
  }
@@ -90,7 +88,7 @@
90
88
  $extend: if($extend != null, $extend, toolkit-get('icon font extend'));
91
89
 
92
90
  @if $extend {
93
- @include toolkit-placeholder('icon font core') {
91
+ @include dynamic-extend('icon font core') {
94
92
  @include icon-font--core(false);
95
93
  }
96
94
  }
@@ -117,7 +115,7 @@
117
115
  $extend: if($extend != null, $extend, toolkit-get('fade in extend'));
118
116
 
119
117
  @if $extend == true and $duration == toolkit-get('fade in duration') and $loading == toolkit-get('fade in loading class') {
120
- @include toolkit-placeholder('content fade in') {
118
+ @include dynamic-extend('content fade in') {
121
119
  @include content-fade-in($extend: false);
122
120
  }
123
121
  }
@@ -5,7 +5,7 @@
5
5
  $extend: if($extend != null, $extend, toolkit-get('intrinsic ratio extend'));
6
6
 
7
7
  @if $extend {
8
- @include toolkit-placeholder('intrinsic ratio parent') {
8
+ @include dynamic-extend('intrinsic ratio parent') {
9
9
  @include intrinsic-ratio-parent(false);
10
10
  }
11
11
  }
@@ -19,7 +19,7 @@
19
19
  $extend: if($extend != null, $extend, toolkit-get('intrinsic ratio extend'));
20
20
 
21
21
  @if $extend {
22
- @include toolkit-placeholder('intrinsic ratio child') {
22
+ @include dynamic-extend('intrinsic ratio child') {
23
23
  @include intrinsic-ratio-child(false);
24
24
  }
25
25
  }
@@ -17,7 +17,7 @@ $Private-Toolkit-Placeholders: (
17
17
  //////////////////////////////
18
18
  // Generate Placeholder Class and Extend
19
19
  //////////////////////////////
20
- @mixin toolkit-placeholder($id) {
20
+ @mixin dynamic-extend($id) {
21
21
  $placeholder-id: toolkit-placeholder-get($id);
22
22
 
23
23
  @if $placeholder-id == null {
@@ -11,7 +11,7 @@
11
11
  @mixin vertical-center-core($extend: null) {
12
12
  $extend: if($extend != null, $extend, toolkit-get('vertical extend'));
13
13
  @if $extend {
14
- @include toolkit-placeholder('vertical center') {
14
+ @include dynamic-extend('vertical center') {
15
15
  @include vertical-center-core($extend: false);
16
16
  }
17
17
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Richard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-03-14 00:00:00.000000000 Z
13
+ date: 2014-03-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sass
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '1.2'
73
73
  requirements: []
74
74
  rubyforge_project: toolkit
75
- rubygems_version: 2.0.3
75
+ rubygems_version: 2.0.14
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Toolkit of awesome Sass stuff