-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Editor: Dependent values #182
Comments
Do you mean this kind of operation that you want to represent in a nice way from a UI?
Where a color has been established that you can create derivative values off of? |
Exactly. It doesn't necessarily have to be transformed; the easiest example would be the same color being used in two layers. |
It seems like you would want two different paths to choosing color:
So when you select a layer that hasn't been styled you have to make a choice on which path you take. Another thought here: In TileMill I personally, (and see other folks) define my color palettes for a map at the top of the first stylesheet. I think a UI that represented this same workflow would work well - where you can build a color palette at the top of the page and your layers just reference them - you don't actually select colors from the layers |
In TileMill/CartoCSS, we have variables that we can refer to to create derivative values. It's unclear how this looks in a no-code environment. Maybe we can use drag/dropping color swatches onto another layer to make that layer's color the same/dependent upon the dropped color.
/cc @samanpwbb @tristen
The text was updated successfully, but these errors were encountered: