Style regulatory icons so they are visible with the light theme

This commit is contained in:
ailurux
2024-08-29 16:08:11 +10:00
parent 91eaed4b37
commit 20d5de38cc
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -760,6 +760,7 @@ local RegulatoryScreen = SettingsScreen:new {
pad_top = 4,
pad_column = 4,
}
theme.set_style(logo_container, "regulatory_icons")
button_container:add_style(styles.list_item)
logo_container:Image { src = "//lua/img/ce.png" }
+6
View File
@@ -280,6 +280,12 @@ local theme_light = {
image_recolor = "#fdd833",
}},
},
regulatory_icons = {
{lvgl.PART.MAIN, lvgl.Style {
image_recolor_opa = 255,
image_recolor = text_color,
}},
},
}
return theme_light