WIP: Getting styles from lua

This commit is contained in:
ailurux
2024-03-07 12:12:32 +11:00
parent 490b067b76
commit a78614a580
12 changed files with 159 additions and 27 deletions
+23
View File
@@ -0,0 +1,23 @@
local lvgl = require("lvgl")
local font = require("font")
local styles = {
list_item = lvgl.Style {
pad_left = 4,
pad_right = 4,
},
list_heading = lvgl.Style {
pad_top = 4,
pad_left = 4,
pad_right = 4,
text_font = font.fusion_10,
text_align = lvgl.ALIGN.CENTER,
},
settings_title = lvgl.Style {
pad_top = 2,
pad_bottom = 4,
text_font = font.fusion_10,
}
}
return styles