css-doodle / css-doodle

🎨 A web component for drawing patterns with CSS.

Home Page:https://css-doodle.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't unfold @multiple() or @repeat() in @pick()

ibafly opened this issue · comments

Say an unusual use case:

 background: @pick-n(blue, @multiple(3, red));

Then we get one like:

background: red, red, red;

I don't know it's a bug or feature request or simply I used it in a wrong way.

hmm... It treats @multiple(3, red) as a dependent value. Like this

background: @pick-n(blue, (red, red, red));

But what you expected is probably this:

background: @pick-n(blue, red, red, red);

Thanks for reporting. I think I should fix it.

Yeah, opening the bracket is what I wanted.

Thank you for creating and maintaining this marvelous thing.
I won't miss your upcoming updates.

Hi @ibafly, I'm planning to rewrite the whole parser/generator part. This issue will be fixed after that but it may take some time.

Sounds huge.

Take your time and I'll still be a happy gazer.

Added in 0.8.2