diff options
author | Alex Auvolat <alex@adnab.me> | 2018-04-01 18:13:40 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-04-01 18:13:40 +0200 |
commit | 45b7ea4c94bed7abcf8b27e5d716be240110740d (patch) | |
tree | c554ba85a436b9ff0e2c981266b907a2235c2ac6 /src/sysapp | |
parent | 0fcc7fcab8cc13fb9ab54feafbd46cf15b4871ea (diff) | |
download | kogata-45b7ea4c94bed7abcf8b27e5d716be240110740d.tar.gz kogata-45b7ea4c94bed7abcf8b27e5d716be240110740d.zip |
Retrowave/cyberpunk theme try
Diffstat (limited to 'src/sysapp')
-rw-r--r-- | src/sysapp/login/main.lua | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/sysapp/login/main.lua b/src/sysapp/login/main.lua index a246c87..1e9bba1 100644 --- a/src/sysapp/login/main.lua +++ b/src/sysapp/login/main.lua @@ -51,7 +51,8 @@ function alert(text, on_dismiss) tk.grid({}, { { tk.text({padding = 16}, text) }, { tk.box({center_content = true, height = 40}, - tk.text({background = tk.rgb(0, 255, 0), + tk.text({background = tk.rgb(0, 0, 0), + color = tk.rgb(0, 255, 0), padding = 4, on_click = function() win.close() end}, "Ok")) @@ -84,9 +85,8 @@ local function open_listing(path) tk.text(name), tk.text(tostring(size)), tk.box({center_content = true, width = 32}, - tk.text({background = tk.rgb(128, 128, 255), - padding =2, - text_size = 12, + tk.text({background = tk.rgb(0, 0, 0), + color = tk.rgb(128, 128, 255), on_click = function() open_listing(path) end}, "open")) } @@ -125,9 +125,8 @@ local function fsline(fs) return { tk.text(fs .. ":/"), tk.box({center_content = true, width = 32}, - tk.text({background = tk.rgb(128, 128, 255), - padding =2, - text_size = 12, + tk.text({background = tk.rgb(0, 0, 0), + color = tk.rgb(128, 128, 255), on_click = function() open_listing(fs .. ":/") end}, "open")) } |