summaryrefslogtreecommitdiff
path: root/lua/theme_dark.lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-03-20 15:30:32 +1100
committerailurux <ailuruxx@gmail.com>2024-03-20 15:30:32 +1100
commitf29d31d01c26ee0cb175e44ac4096e5904c282cd (patch)
tree2251a4accd96e374446cd41bc00b86e6e49f07da /lua/theme_dark.lua
parent4293c488364171b4abf5d1dccac1a1fb55a42a31 (diff)
downloadtangara-fw-f29d31d01c26ee0cb175e44ac4096e5904c282cd.tar.gz
Image recolouring for database indicator
Diffstat (limited to 'lua/theme_dark.lua')
-rw-r--r--lua/theme_dark.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/theme_dark.lua b/lua/theme_dark.lua
index 21cfe76c..8c1da65c 100644
--- a/lua/theme_dark.lua
+++ b/lua/theme_dark.lua
@@ -17,6 +17,8 @@ local theme_dark = {
{lvgl.PART.MAIN, lvgl.Style {
bg_opa = lvgl.OPA(100),
bg_color = background_color, -- Root background color
+ bg_grad_dir = 1,
+ bg_grad_color = "#1d0e38",
text_color = text_color
}},
},
@@ -33,11 +35,13 @@ local theme_dark = {
pad_top = 1,
pad_bottom = 1,
bg_color = background_color,
+ img_opa = 180,
radius = 5,
}},
{lvgl.PART.MAIN | lvgl.STATE.FOCUSED, lvgl.Style {
bg_opa = lvgl.OPA(100),
bg_color = highlight_color,
+ img_opa = 255,
}},
},
listbutton = {
@@ -131,6 +135,12 @@ local theme_dark = {
bg_color = highlight_color,
}},
},
+ database_indicator = {
+ {lvgl.PART.MAIN, lvgl.Style {
+ img_recolor_opa = 180,
+ img_recolor = highlight_color,
+ }},
+ },
settings_title = {
{lvgl.PART.MAIN, lvgl.Style {
pad_top = 2,