diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-04-02 11:13:50 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-04-02 11:13:50 +1100 |
| commit | e20ebe7574db5aedc73f07b7bb3a0a01eae93c84 (patch) | |
| tree | 34c93ec8a80e282f3ce3e47dd60c41e46de0f8b3 /lua/styles.lua | |
| parent | a750af35aa6afda40aadca8f7cf8db75f41a43b2 (diff) | |
| parent | 0d0c4b2307cac8436fea7276956f293262b265ed (diff) | |
| download | tangara-fw-e20ebe7574db5aedc73f07b7bb3a0a01eae93c84.tar.gz | |
Merge branch 'main' into lua-volume
Diffstat (limited to 'lua/styles.lua')
| -rw-r--r-- | lua/styles.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/styles.lua b/lua/styles.lua new file mode 100644 index 00000000..fd45263e --- /dev/null +++ b/lua/styles.lua @@ -0,0 +1,18 @@ +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, + }, +} + +return styles |
