summaryrefslogtreecommitdiff
path: root/xmake/themes/default/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/default/xmake.lua
parent21539005098febb08e7331e14cae59639c9a21fc (diff)
add status styles
Diffstat (limited to 'xmake/themes/default/xmake.lua')
-rw-r--r--xmake/themes/default/xmake.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/xmake/themes/default/xmake.lua b/xmake/themes/default/xmake.lua
index 86e12da85..b8452c479 100644
--- a/xmake/themes/default/xmake.lua
+++ b/xmake/themes/default/xmake.lua
@@ -25,6 +25,18 @@
-- define theme
theme("default")
+ -- the success status
+ set_text("success", "ok")
+ set_color("success", "green")
+
+ -- the failure status
+ set_text("failure", "failed")
+ set_color("failure", "red")
+
+ -- the nothing status
+ set_text("nothing", "no")
+ set_color("nothing", "red")
+
-- the error info
set_color("error", "red")
set_color("error.dim", "dim red")
@@ -47,4 +59,3 @@ theme("default")
set_color("build.target", "magenta")
set_color("build.target.dim", "dim magenta")
-