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

Programatically Loading Themes #885

Open
MerlinUKRhapsody opened this issue Sep 16, 2024 · 1 comment
Open

Programatically Loading Themes #885

MerlinUKRhapsody opened this issue Sep 16, 2024 · 1 comment

Comments

@MerlinUKRhapsody
Copy link

I'm using the recommended approach of using .properties files
I'd like to provide my users with the option of defining their own themes by providing the same files which my app would load at runtime. Is that possible ? I couldn't figure out a way of dynamically loading those files at runtime.

@MrUrdam
Copy link

MrUrdam commented Sep 27, 2024

Yea had a similar idea.

Currently a change in the properties file requires a restart of the application to be applied. It would be great if we could simply reload the properties + a refresh like during a L&F change (light to dark) to see the changes.

It would improve the design process for colors and other properties.

And as @MerlinUKRhapsody says also would allow this for the user. I also can think of a settings panel where some parameters can be changed by the user and will be applied to the properties file or a layer in between.

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