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

Simple Gnatt #103

Open
jhall16 opened this issue Dec 15, 2015 · 1 comment
Open

Simple Gnatt #103

jhall16 opened this issue Dec 15, 2015 · 1 comment

Comments

@jhall16
Copy link

jhall16 commented Dec 15, 2015

Is there a way to change the font size and color of the Task? The black font is unreadable with some of the rectangle colors (brown and dark red)

Thanks!

Jane

@japerron
Copy link
Contributor

The size and other text properties are set starting on line 242 of the current version. It may be interesting to add logic to use a light color for the font on the ordinals where darker does not work. For instance, replacing line 269:
return d3.rgb(theColorScale(i)).darker();
with something like:
if (i ==4 || i==6) { return d3.rgb(#ffffff); }
else return d3.rgb(theColorScale(i)).darker();

2 cents

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

2 participants