WIP Lua Theming- style classes

This commit is contained in:
ailurux
2024-03-10 13:20:17 +11:00
parent 20c2816a7b
commit 1133d46215
10 changed files with 264 additions and 170 deletions
+2 -4
View File
@@ -5,6 +5,7 @@ local font = require("font")
local backstack = require("backstack")
local styles = require("styles")
local database = require("database")
local theme = require("theme")
local widgets = {}
@@ -66,10 +67,7 @@ function widgets.StatusBar(parent, opts)
}
if not opts.transparent_bg then
status_bar.root:set {
bg_opa = lvgl.OPA(100),
bg_color = "#fafafa",
}
theme.set_style(status_bar.root, "header");
end
if opts.back_cb then