summaryrefslogtreecommitdiff
path: root/xmake/themes/plain/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-03 22:41:23 +0800
committerruki <[email protected]>2019-01-03 10:08:21 +0800
commit2c8d0f142deeb90f8e2d2ae7962abbc8a62790aa (patch)
tree5c74326301749db7ee0da5a2f0def3678ce39828 /xmake/themes/plain/xmake.lua
parent21539005098febb08e7331e14cae59639c9a21fc (diff)
add status styles
Diffstat (limited to 'xmake/themes/plain/xmake.lua')
-rw-r--r--xmake/themes/plain/xmake.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/xmake/themes/plain/xmake.lua b/xmake/themes/plain/xmake.lua
index 7341eee41..fe66f7511 100644
--- a/xmake/themes/plain/xmake.lua
+++ b/xmake/themes/plain/xmake.lua
@@ -25,6 +25,18 @@
-- define theme
theme("plain")
+ -- the success status
+ set_text("success", "ok")
+ set_color("success", "")
+
+ -- the failure status
+ set_text("failure", "failed")
+ set_color("failure", "")
+
+ -- the nothing status
+ set_text("nothing", "no")
+ set_color("nothing", "")
+
-- the error info
set_color("error", "")
set_color("error.dim", "")
@@ -46,3 +58,4 @@ theme("plain")
-- the building target file
set_color("build.target", "")
set_color("build.target.dim", "")
+