aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-06-13 23:30:44 +0200
committerGuldoman <giulio.lettieri@gmail.com>2022-06-13 23:34:15 +0200
commita5b17f6faa2a5593222fa13a8261d8efa5e2ed7f (patch)
tree318f197f5461ca2a8a996fdac8561c2e5e95ff9f
parent0a019f4c32f47898192d563e1ef72d31627974f1 (diff)
downloadlite-xl-colors-a5b17f6faa2a5593222fa13a8261d8efa5e2ed7f.tar.gz
lite-xl-colors-a5b17f6faa2a5593222fa13a8261d8efa5e2ed7f.zip
`duorand`: Set alpha channel of randomized color
-rw-r--r--colors/duorand.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/colors/duorand.lua b/colors/duorand.lua
index dabde42..3a5bdd7 100644
--- a/colors/duorand.lua
+++ b/colors/duorand.lua
@@ -6,7 +6,8 @@ math.randomseed(os.time())
local color = {
math.random(90, 255),
math.random(90, 255),
- math.random(90, 255)
+ math.random(90, 255),
+ 255
}
style.background = { common.color "#151515" }