chrisprice / t-d3fc

A service powering a collection of tweet-sized d3 creations

Home Page:https://t.d3fc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add classes to CSS to enable easier styling

owennw opened this issue · comments

for example add .red { fill: 'red'; stroke: 'red'; } etc.

I'd be wary of adding too many aliases, this is an API that people have to learn (hopefully with very little effort). you've got a colour scale at your disposal ...

I do, but I also only have 116 characters :(

I think the additional aliases added to the JS and the color scales mean this is no longer required. I also agree with @ColinEberhardt that it's kind of cheating :)