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

Add data visualization color globals for import #61

Open
nvkelso opened this issue Jun 19, 2017 · 0 comments
Open

Add data visualization color globals for import #61

nvkelso opened this issue Jun 19, 2017 · 0 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented Jun 19, 2017

See tangrams/tangram#418.

From @burritojustice's original description (which would need a different syntax in practice):

add colorbrewer schemes to color:

layers:
    counties:
        polygon:
            color: OrRd[2]    

https://github.com/axismaps/colorbrewer/

hex is here, for reference:

https://github.com/google/palette.js/blob/master/palette.js#L931

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

1 participant