diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-03-07 12:12:32 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-03-07 12:12:32 +1100 |
| commit | a78614a5806c9800956f10f993e1c70b74fbf323 (patch) | |
| tree | e8d8208039a8bc7c7020e8b4e0cf18bc54875ab9 /lua/styles.lua | |
| parent | 490b067b765a05192118306e8796bf042ca31b94 (diff) | |
| download | tangara-fw-a78614a5806c9800956f10f993e1c70b74fbf323.tar.gz | |
WIP: Getting styles from lua
Diffstat (limited to 'lua/styles.lua')
| -rw-r--r-- | lua/styles.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/styles.lua b/lua/styles.lua new file mode 100644 index 00000000..76ecad2a --- /dev/null +++ b/lua/styles.lua @@ -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 |
