Lemur Themer and Editor
This project consists of two projects
- lemur-themer
- A library to create, edit, save and load themes for Lemur.
- lemur-themer-editor
- A stand-alone GUI editor for lemur-themer.
The first project is where all the magic happens. The second project is simply a graphical UI to visualize your theme. You can make changes and see them instantly, save them, create new themes, etc…
The entire themes are saved in JSON
format, images, icons, everything. This makes it extremely easy to share themes - and has the added benefit of not needing groovy-all
(mainly concerning mobile-devices). For me personally on a Raspberry Pi 4B 4GB the themes loaded faster than the groovy alternative.
Creating Themes
The easiest way is using the Editor. Releases are available on github - as is the source-code.
Just double-click the .jar file or type:
java -jar lemur-themer-editor-0.0.1.jar
Loading Themes
Documentation is available in the github repository, but the basic premise is just:
dependencies {
implementation 'com.jayfella:lemur-themer:0.0.1'
}
And in the simpleInit() method:
public void simpleInit() {
GuiGlobals.initialize();
LemurThemer lemurThemer = new LemurThemer();
lemurThemer.setTheme("./mytheme.lemur.json");
}