summaryrefslogtreecommitdiff
path: root/lua/theme_dark.lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-09-12 05:20:07 +0000
committercooljqln <cooljqln@noreply.codeberg.org>2024-09-12 05:20:07 +0000
commit9a47e43ab72daa96bfb3e95e95c30e5703f39397 (patch)
tree04ed29f71978feb722b0b2246e9d88067812b9a4 /lua/theme_dark.lua
parent1f5ce2438982860529e43f8ddf093164b920724a (diff)
downloadtangara-fw-9a47e43ab72daa96bfb3e95e95c30e5703f39397.tar.gz
daniel/theme-tweaks (#102)
- Multiple improvements + fixes - Add charge outline icon for improving readability with monochromatic themes - Add a chevron icon and update existing dropdown menus - Rename `set_style` to `set_subject` for disambiguation with lvgl's Style type Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/102 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
Diffstat (limited to 'lua/theme_dark.lua')
-rw-r--r--lua/theme_dark.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/theme_dark.lua b/lua/theme_dark.lua
index 41fddf81..ac1044c6 100644
--- a/lua/theme_dark.lua
+++ b/lua/theme_dark.lua
@@ -38,6 +38,7 @@ local theme_dark = {
},
button = {
{lvgl.PART.MAIN, lvgl.Style {
+ bg_opa = lvgl.OPA(100),
pad_left = 2,
pad_right = 2,
pad_top = 1,
@@ -217,6 +218,12 @@ local theme_dark = {
radius = 4
}},
},
+ bluetooth_icon = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 255,
+ image_recolor = text_color,
+ }},
+ },
battery = {
{lvgl.PART.MAIN, lvgl.Style {
image_recolor_opa = 0,
@@ -240,6 +247,18 @@ local theme_dark = {
image_recolor = "#fdd833",
}},
},
+ battery_charge_outline = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 255,
+ image_recolor = background_color,
+ }},
+ },
+ regulatory_icons = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ image_recolor_opa = 255,
+ image_recolor = text_color,
+ }},
+ },
}
return theme_dark