From e58dcf6dc5332c60a346509436f9934d9e3bbfbb Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 12 Jun 2024 18:46:07 +1000 Subject: WIP fix issues introduced by lvgl version bump --- lua/theme_dark.lua | 18 +++++++++--------- lua/theme_light.lua | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'lua') diff --git a/lua/theme_dark.lua b/lua/theme_dark.lua index be5feeaa..6508f642 100644 --- a/lua/theme_dark.lua +++ b/lua/theme_dark.lua @@ -43,14 +43,14 @@ local theme_dark = { pad_top = 1, pad_bottom = 1, bg_color = background_color, - img_recolor_opa = 180, - img_recolor = highlight_color, + image_recolor_opa = 180, + image_recolor = highlight_color, radius = 5, }}, {lvgl.PART.MAIN | lvgl.STATE.FOCUSED, lvgl.Style { bg_opa = lvgl.OPA(100), bg_color = highlight_color, - img_recolor_opa = 0, + image_recolor_opa = 0, }}, }, listbutton = { @@ -146,8 +146,8 @@ local theme_dark = { }, database_indicator = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = highlight_color, + image_recolor_opa = 180, + image_recolor = highlight_color, }}, }, settings_title = { @@ -160,14 +160,14 @@ local theme_dark = { }, icon_disabled = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = icon_disabled_color, + image_recolor_opa = 180, + image_recolor = icon_disabled_color, }}, }, icon_enabled = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = icon_enabled_color, + image_recolor_opa = 180, + image_recolor = icon_enabled_color, }}, }, diff --git a/lua/theme_light.lua b/lua/theme_light.lua index e0a4468f..05b7d291 100644 --- a/lua/theme_light.lua +++ b/lua/theme_light.lua @@ -41,14 +41,14 @@ local theme_light = { pad_top = 1, pad_bottom = 1, bg_color = background_color, - img_recolor_opa = 180, - img_recolor = highlight_color, + image_recolor_opa = 180, + image_recolor = highlight_color, radius = 5, }}, {lvgl.PART.MAIN | lvgl.STATE.FOCUSED, lvgl.Style { bg_opa = lvgl.OPA(100), bg_color = highlight_color, - img_recolor_opa = 0, + image_recolor_opa = 0, }}, }, listbutton = { @@ -144,8 +144,8 @@ local theme_light = { }, database_indicator = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = highlight_color, + image_recolor_opa = 180, + image_recolor = highlight_color, }}, }, settings_title = { @@ -158,14 +158,14 @@ local theme_light = { }, icon_disabled = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = icon_disabled_color, + image_recolor_opa = 180, + image_recolor = icon_disabled_color, }}, }, icon_enabled = { {lvgl.PART.MAIN, lvgl.Style { - img_recolor_opa = 180, - img_recolor = icon_enabled_color, + image_recolor_opa = 180, + image_recolor = icon_enabled_color, }}, }, -- cgit v1.2.3