aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-12-06 15:36:53 +0000
committerrxi <rxi@users.noreply.github.com>2020-12-06 15:36:53 +0000
commita427424064245987e54f3693764b12232bb2be9a (patch)
tree4fde8becb100bda89794d8a4266c3ffc82e30bac /colors
parent12a4fec492897d5c3e72c10d6e9954e9f6a55c46 (diff)
downloadlite-xl-colors-a427424064245987e54f3693764b12232bb2be9a.tar.gz
lite-xl-colors-a427424064245987e54f3693764b12232bb2be9a.zip
Added color theme `duorand`
Diffstat (limited to 'colors')
-rw-r--r--colors/duorand.lua37
1 files changed, 37 insertions, 0 deletions
diff --git a/colors/duorand.lua b/colors/duorand.lua
new file mode 100644
index 0000000..dabde42
--- /dev/null
+++ b/colors/duorand.lua
@@ -0,0 +1,37 @@
+local style = require "core.style"
+local common = require "core.common"
+
+math.randomseed(os.time())
+
+local color = {
+ math.random(90, 255),
+ math.random(90, 255),
+ math.random(90, 255)
+}
+
+style.background = { common.color "#151515" }
+style.background2 = { common.color "#151515" }
+style.background3 = { common.color "#151515" }
+style.text = { common.color "#707070" }
+style.caret = { common.color "#dfdfdf" }
+style.accent = { common.color "#d0d0d0" }
+style.dim = { common.color "#303030" }
+style.divider = { common.color "#151515" }
+style.selection = { common.color "#303030" }
+style.line_number = { common.color "#252525" }
+style.line_number2 = { common.color "#444444" }
+style.line_highlight = { common.color "#101010" }
+style.scrollbar = { common.color "#252525" }
+style.scrollbar2 = { common.color "#444444" }
+
+style.syntax = {}
+style.syntax["normal"] = { common.color "#a0a0a0" }
+style.syntax["symbol"] = { common.color "#a0a0a0" }
+style.syntax["comment"] = { common.color "#404040" }
+style.syntax["keyword"] = { common.color "#dfdfdf" }
+style.syntax["keyword2"] = { common.color "#dfdfdf" }
+style.syntax["number"] = { common.color "#dfdfdf" }
+style.syntax["literal"] = { common.color "#dfdfdf" }
+style.syntax["string"] = { common.color "#dfdfdf" }
+style.syntax["operator"] = color
+style.syntax["function"] = color