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

Light theme? #1

Open
Geethree opened this issue Aug 20, 2022 · 2 comments
Open

Light theme? #1

Geethree opened this issue Aug 20, 2022 · 2 comments

Comments

@Geethree
Copy link
Member

Hey @mcslee!

Curious how one would go about making/loading a new theme? I’ve attempted to se the ui.theme.setDarkbackgroundColor to FFFFFF(white) in the initializeUI constructor to no avail.

Going to continue poking around, but never hurts to ask.

@mcslee
Copy link
Member

mcslee commented Aug 21, 2022

Hrm, that's all it should take, but I think darkBackgroundColor might not be used for what you're expecting. Which thing are you trying to change in the UI that isn't responding as expected?

void initializeUI(final heronarts.lx.studio.LXStudio lx, heronarts.lx.studio.LXStudio.UI ui) {
  // Modify the UI theme if you like
  ui.theme.setPrimaryColor(#ff0000);
  ui.theme.setPaneBackgroundColor(#ffffff);
  ui.theme.setPaneInsetColor(#336666);
}

Screen Shot 2022-08-20 at 5 54 46 PM

@Geethree
Copy link
Member Author

Geethree commented Aug 21, 2022 via email

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