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

How to build custom color scheme in @superset-ui/color? #8064

Closed
syazshafei opened this issue Aug 19, 2019 · 6 comments
Closed

How to build custom color scheme in @superset-ui/color? #8064

syazshafei opened this issue Aug 19, 2019 · 6 comments

Comments

@syazshafei
Copy link

Environment

  • superset version: 0.34.0rc1
  • python version: 3.6
  • node.js version: 10.16.0
  • npm version: 6.9.0
@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@LilianXie
Copy link

superset\static\assets\src\modules\colorSchemes add your schemes
superset\static\assets\src\common.js register your color schemes
superset\static\assets\src\controls.jsx set default color scheme
hope can help you

@syazshafei
Copy link
Author

Thanks but I am using version 0.34.0rc1.
All of the path don't have in that version

superset\static\assets\src\modules\colorSchemes add your schemes
superset\static\assets\src\common.js register your color schemes
superset\static\assets\src\controls.jsx set default color scheme
hope can help you

@LilianXie
Copy link

Actually I get the src folder from github one month ago, can you find the src folder? Maybe it is in superset/assets/

@LilianXie
Copy link

superset\static\assets\src\explore\common.js register your color schemes
superset\static\assets\src\explore\controls.jsx set default color scheme
sorry miss the explore

@syazshafei
Copy link
Author

Actually color scheme is bundled in the node modules
Screenshot from 2019-08-19 16-35-59

Not in the path you mentioned

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