summaryrefslogtreecommitdiff
path: root/lua/licenses.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/licenses.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/licenses.lua')
-rw-r--r--lua/licenses.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/licenses.lua b/lua/licenses.lua
index fb0e5702..1fa392cf 100644
--- a/lua/licenses.lua
+++ b/lua/licenses.lua
@@ -1,7 +1,7 @@
local backstack = require("backstack")
local widgets = require("widgets")
local font = require("font")
-local theme = require("theme")
+local styles = require("styles")
local screen = require("screen")
local function show_license(text)
@@ -103,7 +103,7 @@ return function()
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
}
- row:add_style(theme.list_item)
+ row:add_style(styles.list_item)
row:Label { text = name, flex_grow = 1 }
local button = row:Button {}
button:Label { text = license, text_font = font.fusion_10 }