summaryrefslogtreecommitdiff
path: root/lua/styles.lua
diff options
context:
space:
mode:
authorcooljqln <cooljqln@noreply.codeberg.org>2024-03-28 05:36:38 +0000
committercooljqln <cooljqln@noreply.codeberg.org>2024-03-28 05:36:38 +0000
commit0175eaf1b5e79c53ac86adc568b67f018a5a7daf (patch)
treed6b380746fb011c46c1c1aa2946005c6971a9c4e /lua/styles.lua
parent35a822fe602cdc9e3a3482df3913ea33af6fc8c2 (diff)
parent7c5dae84175aa750ca1b8beeb066f5607ca73181 (diff)
downloadtangara-fw-0175eaf1b5e79c53ac86adc568b67f018a5a7daf.tar.gz
Merge pull request 'themes' (#58) from themes into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/58 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Diffstat (limited to 'lua/styles.lua')
-rw-r--r--lua/styles.lua18
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