2024-03-20, 09:33 PM
(2024-03-18, 12:51 AM)ailurux Wrote:(2024-03-17, 10:30 PM)nanocodebug Wrote: There's a theme branch?! I'm messing around with what's in main right now locally, learning how LVGL works. I should push my local to codeberg or something so the display issue I was having with the variant of the st7735r I bought is at least documented somewhere.
https://codeberg.org/cool-tech-zone/tang...nch/themes
It's quite WIP atm. I'm still figuring out the best way to account for things like image changes, and I need to make it work with more LVGL widgets, but if you wanted to check it out I wouldn't mind some early feedback on it. Ideally I want people to not have to touch C++ at all to make theme changes, and have it all in lua. Long term I want to have the themes be loaded from the SD card so they're easy to share with others, as well as being able to set themes (and maybe some theme defaults like bg and highlight colour) in the settings too.
Oh this is fun! I see the image recoloring and gradients, I'll mess around with themeing system.
I'm partial to monochrome icons so I've been working on some custom battery icons, it would be neat if themes could extend to include icons on SD too (in some future).