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

Change color theme #403

Closed
francisco-orduna opened this issue May 9, 2018 · 3 comments
Closed

Change color theme #403

francisco-orduna opened this issue May 9, 2018 · 3 comments
Labels

Comments

@francisco-orduna
Copy link

Description

Is there a way to configure a color theme? We would like to change the default theme to a darker one changing texts to brighter colors.
Thanks and regards

@netil netil added the question label May 9, 2018
@netil
Copy link
Member

netil commented May 10, 2018

Every basic styles are defined at css file.

Update or add the styles as your needs.

@francisco-orduna
Copy link
Author

Thanks,
We found it! But I would add some documentation on how to create your own theme.
We did it looking at the chart in your main page (https://naver.github.io/billboard.js/) after struggling some time trying to change the color of legend items and axis lines. The trick is in the CSS "fill" property and not in "color" one but we didn't see it at first sight.
Cheers.

@netil
Copy link
Member

netil commented May 11, 2018

Yeah, it needs more description on this.
BTW, there's a plan(#241) to add different styles like theme via css files.

It'll be appreciated to be contributed your styles later 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants