toolkit 1.3.6 → 1.3.7

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.
@@ -1,5 +1,8 @@
1
+ $nested-context-contexts: 100% !default;
2
+ $nested-context-position: left !default;
3
+
1
4
  // simple function to find the context of a nested percentage.
2
- @function nested-context($contexts) {
5
+ @function nested-context($contexts: $nested-context-contexts) {
3
6
 
4
7
  // First level deep is always 100%
5
8
  $percentage: 100%;
@@ -14,7 +17,7 @@
14
17
  }
15
18
 
16
19
  // mixin to make things easier
17
- @mixin nested-context($contexts, $position: left) {
20
+ @mixin nested-context($contexts: $nested-context-contexts, $position: $nested-context-position) {
18
21
  width: nested-context($contexts);
19
22
  @if $position == "center" {
20
23
  position: relative;
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: 1.3.6
4
+ version: 1.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: