Style regulatory icons so they are visible with the light theme

custom
ailurux 8 months ago
parent 91eaed4b37
commit 20d5de38cc
  1. 1
      lua/settings.lua
  2. 6
      lua/theme_light.lua

@ -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

Loading…
Cancel
Save