summaryrefslogtreecommitdiff
path: root/lua/theme_light.lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-08-16 16:56:58 +1000
committerailurux <ailuruxx@gmail.com>2024-08-16 16:56:58 +1000
commit0f9005626d2d919e6995809453b9b5ec3c72096b (patch)
treec647e9c92af4bc12308b35c0b29880ac9cceb80a /lua/theme_light.lua
parent9cdb268b2bc5e30db9914b69db5d9763b3ddf656 (diff)
downloadtangara-fw-0f9005626d2d919e6995809453b9b5ec3c72096b.tar.gz
Redesigned many icons, added styles for battery icon recolouring based on percentage
Diffstat (limited to 'lua/theme_light.lua')
-rw-r--r--lua/theme_light.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/theme_light.lua b/lua/theme_light.lua
index ce728c7c..e856c015 100644
--- a/lua/theme_light.lua
+++ b/lua/theme_light.lua
@@ -246,6 +246,30 @@ local theme_light = {
radius = 4
}},
},
+ battery = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 180,
+ image_recolor = highlight_color,
+ }},
+ },
+ battery_0 = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 180,
+ image_recolor = "#aa3333",
+ }},
+ },
+ battery_charging = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 180,
+ image_recolor = "#33aa33",
+ }},
+ },
+ battery_charge_icon = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 180,
+ image_recolor = "#fdd833",
+ }},
+ },
}
return theme_light