tangrams / refill-style

From Toner to Tangram
https://tangrams.github.io/refill-style
MIT License
34 stars 12 forks source link

Add data visualization color globals for import #61

Open nvkelso opened 7 years ago

nvkelso commented 7 years ago

See https://github.com/tangrams/tangram/issues/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