diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-01-15 12:31:20 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-01-15 12:31:20 +1100 |
| commit | 7cdcd44e0ca10ebdc796638190ed1d9b45d99ef0 (patch) | |
| tree | 637b43848d17c9dbdc1688cb4733eb235f223e37 /lua/theme.lua | |
| parent | 0e04eb918ec976017276306181282769d8896c83 (diff) | |
| download | tangara-fw-7cdcd44e0ca10ebdc796638190ed1d9b45d99ef0.tar.gz | |
Begin migration of remaining screens to Lua
Diffstat (limited to 'lua/theme.lua')
| -rw-r--r-- | lua/theme.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/theme.lua b/lua/theme.lua index ff3aeb7b..9c808946 100644 --- a/lua/theme.lua +++ b/lua/theme.lua @@ -1,10 +1,23 @@ local lvgl = require("lvgl") +local font = require("font") local theme = { 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 theme |
