Style regulatory icons so they are visible with the light theme
This commit is contained in:
@@ -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" }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user