aboutsummaryrefslogtreecommitdiff
path: root/src/sysapp
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-04-01 19:20:19 +0200
committerAlex Auvolat <alex@adnab.me>2018-04-01 19:20:19 +0200
commit67db86ec53336da886153797deb643483e9596d0 (patch)
tree62ed2bb5d916f91d30017bd34c7089153a3a2b93 /src/sysapp
parent45b7ea4c94bed7abcf8b27e5d716be240110740d (diff)
downloadkogata-67db86ec53336da886153797deb643483e9596d0.tar.gz
kogata-67db86ec53336da886153797deb643483e9596d0.zip
themesretrowave
Diffstat (limited to 'src/sysapp')
-rw-r--r--src/sysapp/login/main.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sysapp/login/main.lua b/src/sysapp/login/main.lua
index 1e9bba1..67ce3fe 100644
--- a/src/sysapp/login/main.lua
+++ b/src/sysapp/login/main.lua
@@ -51,8 +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, 0, 0),
- color = tk.rgb(0, 255, 0),
+ tk.text({background = tk.theme.colors.button.good.bg(tk),
+ color = tk.theme.colors.button.good.text(tk),
padding = 4,
on_click = function() win.close() end},
"Ok"))
@@ -85,8 +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(0, 0, 0),
- color = tk.rgb(128, 128, 255),
+ tk.text({background = tk.theme.colors.button.action.bg(tk),
+ color = tk.theme.colors.button.action.text(tk),
on_click = function() open_listing(path) end},
"open"))
}
@@ -125,8 +125,8 @@ local function fsline(fs)
return {
tk.text(fs .. ":/"),
tk.box({center_content = true, width = 32},
- tk.text({background = tk.rgb(0, 0, 0),
- color = tk.rgb(128, 128, 255),
+ tk.text({background = tk.theme.colors.button.action.bg(tk),
+ color = tk.theme.colors.button.action.text(tk),
on_click = function() open_listing(fs .. ":/") end},
"open"))
}