diff options
Diffstat (limited to 'src/props-shortcodes.scss')
| -rw-r--r-- | src/props-shortcodes.scss | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/props-shortcodes.scss b/src/props-shortcodes.scss index 2c678a7..e3e3d06 100644 --- a/src/props-shortcodes.scss +++ b/src/props-shortcodes.scss | |||
| @@ -10,14 +10,16 @@ | |||
| 10 | /// @alias iro-props-namespace | 10 | /// @alias iro-props-namespace |
| 11 | /// | 11 | /// |
| 12 | @mixin namespace($name) { | 12 | @mixin namespace($name) { |
| 13 | @include iro-props-namespace($name); | 13 | @include iro-props-namespace($name) { |
| 14 | @content; | ||
| 15 | } | ||
| 14 | } | 16 | } |
| 15 | 17 | ||
| 16 | /// | 18 | /// |
| 17 | /// @alias iro-props-ns-name | 19 | /// @alias iro-props-namespace |
| 18 | /// | 20 | /// |
| 19 | @function namespace() { | 21 | @function namespace() { |
| 20 | @return iro-props-ns-name(); | 22 | @return iro-props-namespace(); |
| 21 | } | 23 | } |
| 22 | 24 | ||
| 23 | /// | 25 | /// |
| @@ -49,24 +51,24 @@ | |||
| 49 | } | 51 | } |
| 50 | 52 | ||
| 51 | /// | 53 | /// |
| 52 | /// @alias iro-props-get | 54 | /// @alias iro-props-get-static |
| 53 | /// | 55 | /// |
| 54 | @function prop($key: (), $tree: $iro-props-default-tree, $default: null, $global: false) { | 56 | @function static($key: (), $tree: $iro-props-default-tree, $default: null, $global: false) { |
| 55 | @return iro-props-get($key, $tree, $default, $global); | 57 | @return iro-props-get-static($key, $tree, $default, $global); |
| 56 | } | 58 | } |
| 57 | 59 | ||
| 58 | /// | 60 | /// |
| 59 | /// @alias iro-props-get-native | 61 | /// @alias iro-props-get |
| 60 | /// | 62 | /// |
| 61 | @function n-prop($key, $tree: null, $default: null, $global: false) { | 63 | @function prop($key, $tree: $iro-props-default-tree, $default: null, $global: false) { |
| 62 | @return iro-props-get-native($key, $tree, $default, $global); | 64 | @return iro-props-get($key, $tree, $default, $global); |
| 63 | } | 65 | } |
| 64 | 66 | ||
| 65 | /// | 67 | /// |
| 66 | /// @alias iro-props-assign-native | 68 | /// @alias iro-props-assign |
| 67 | /// | 69 | /// |
| 68 | @mixin n-assign($tree: $iro-props-default-tree, $root: (), $skip: (), $prefix: '', $global: false) { | 70 | @mixin assign($tree: $iro-props-default-tree, $root: (), $skip: (), $prefix: '', $global: false) { |
| 69 | @include iro-props-assign-native($tree, $root, $skip, $prefix, $global); | 71 | @include iro-props-assign($tree, $root, $skip, $prefix, $global); |
| 70 | } | 72 | } |
| 71 | 73 | ||
| 72 | /// | 74 | /// |
