| 1 |
// MIXIN: Create Atom |
| 2 |
// - This mixin is a small to for creating an atom selector |
| 3 |
// - This mixin uses the 'atomize' function which uses '$eps-atoms' map |
| 4 |
// - Each Atom is configured within map. |
| 5 |
// - Map key are 'properties' and values are mapped to tokens. |
| 6 |
// - Please see 'tokens/,aps/_atoms.css' for more info. |
| 7 |
@mixin create-atom($keys...) { |
| 8 |
$map: atomizer($keys...); |
| 9 |
@each $key, $value in $map { |
| 10 |
#{$key}: $value; |
| 11 |
} |
| 12 |
} |
| 13 |
|