Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list support is unclear #19

Closed
Lokua opened this issue Nov 18, 2015 · 1 comment
Closed

list support is unclear #19

Lokua opened this issue Nov 18, 2015 · 1 comment

Comments

@Lokua
Copy link

Lokua commented Nov 18, 2015

I came here via precss, so forgive me if this isn't the correct place to bring this up.

I don't see any mention of lists in the readme, aside from the @each example. I'm not sure if this is a feature of postcss-advanced-variables or just luck or what, but this is what I've found:

// this works with @each
$list: foo, bar;

// this too
$list: (foo, bar);

// and so do these
$list:
  foo,
  bar;

$list: foo,
  bar;

// but this results in looping though each character
$list: (
  foo,
  bar
);

The last way was the first I tried from intuition, but that's just me. In any case I would have benefited from some documentation, especially being that list support is totally a feature worth noting!

@jonathantneal
Copy link
Collaborator

Thanks for pointing this out. Those should all work now, but do raise an issue if they do not, or add a PR if you think more documentation would be helpful. Otherwise, the Sass docs will manage this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants