Skip to content

allow gradients stops to accept an array#193

Open
Cactusbone wants to merge 1 commit intostylus:masterfrom
Cactusbone:overridableGradient
Open

allow gradients stops to accept an array#193
Cactusbone wants to merge 1 commit intostylus:masterfrom
Cactusbone:overridableGradient

Conversation

@Cactusbone
Copy link
Copy Markdown

this allows to send stops as an array, hence enabling linear-gradient overloading

suppose you define:

custom-linear-gradient(start, stops...)
    //do stuff
    linear-gradient(start, stops)

@notslang
Copy link
Copy Markdown
Collaborator

This is gonna need tests, documentation, and a compelling use-case (which can prolly be covered by the docs)

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

Successfully merging this pull request may close these issues.

2 participants