diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-08-16 16:56:58 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-08-16 16:56:58 +1000 |
| commit | 0f9005626d2d919e6995809453b9b5ec3c72096b (patch) | |
| tree | c647e9c92af4bc12308b35c0b29880ac9cceb80a /lua/theme_dark.lua | |
| parent | 9cdb268b2bc5e30db9914b69db5d9763b3ddf656 (diff) | |
| download | tangara-fw-0f9005626d2d919e6995809453b9b5ec3c72096b.tar.gz | |
Redesigned many icons, added styles for battery icon recolouring based on percentage
Diffstat (limited to 'lua/theme_dark.lua')
| -rw-r--r-- | lua/theme_dark.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/theme_dark.lua b/lua/theme_dark.lua index 20d64495..a908245f 100644 --- a/lua/theme_dark.lua +++ b/lua/theme_dark.lua @@ -211,6 +211,29 @@ local theme_dark = { radius = 4 }}, }, + battery = { + {lvgl.PART.MAIN, lvgl.Style { + image_recolor_opa = 0, + }}, + }, + 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_dark |
