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/licenses.lua | |
| parent | 490b067b765a05192118306e8796bf042ca31b94 (diff) | |
| download | tangara-fw-a78614a5806c9800956f10f993e1c70b74fbf323.tar.gz | |
WIP: Getting styles from lua
Diffstat (limited to 'lua/licenses.lua')
| -rw-r--r-- | lua/licenses.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/licenses.lua b/lua/licenses.lua index 83437454..b5d1ae88 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 function show_license(text) backstack.push(function() @@ -100,7 +100,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 } |
