Permalink
Browse files

Adding new assign function

Used by html input types addon.
  • Loading branch information...
1 parent 8e19574 commit 37aece021c8c4d95a84ebface15a11d3f3710628 @hmps hmps committed Dec 1, 2013
Showing with 12 additions and 0 deletions.
  1. +1 −0 app/assets/stylesheets/_bourbon.scss
  2. +11 −0 app/assets/stylesheets/functions/_assign.scss
@@ -11,6 +11,7 @@
@import "helpers/shape-size-stripper";
// Custom Functions
+@import "functions/assign";
@import "functions/flex-grid";
@import "functions/grid-width";
@import "functions/golden-ratio";
@@ -0,0 +1,11 @@
+@function assign-inputs($inputs, $pseudo: null) {
+ $list : ();
+
+ @each $input in $inputs {
+ $input: unquote($input);
+ $input: if($pseudo, $input + ":" + $pseudo, $input);
+ $list: append($list, $input, comma);
+ }
+
+ @return $list;
+}

0 comments on commit 37aece0

Please sign in to comment.