diff options
author | rxi <rxi@users.noreply.github.com> | 2020-12-06 15:36:53 +0000 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-12-06 15:36:53 +0000 |
commit | a427424064245987e54f3693764b12232bb2be9a (patch) | |
tree | 4fde8becb100bda89794d8a4266c3ffc82e30bac | |
parent | 12a4fec492897d5c3e72c10d6e9954e9f6a55c46 (diff) | |
download | lite-xl-colors-a427424064245987e54f3693764b12232bb2be9a.tar.gz lite-xl-colors-a427424064245987e54f3693764b12232bb2be9a.zip |
Added color theme `duorand`
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | colors/duorand.lua | 37 |
2 files changed, 38 insertions, 0 deletions
@@ -13,6 +13,7 @@ Theme | Preview ------|----------------------------------------- [`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](https://user-images.githubusercontent.com/3920290/81507632-9ead7780-92f6-11ea-85e9-7cfb9ffa97ae.png) [`duotone`](colors/duotone.lua?raw=1) | ![duotone_preview](https://i.imgur.com/ZND82Lv.png) +[`duorand`](colors/duorand.lua?raw=1) | [`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](https://user-images.githubusercontent.com/57670615/81137677-94bdfa00-8f2d-11ea-9224-3d70a5ec3101.png) [`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](https://user-images.githubusercontent.com/49284552/82159394-0c751880-988e-11ea-963d-7a25497a8fee.png) [`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](https://user-images.githubusercontent.com/3920290/80304201-62353400-87ac-11ea-9b13-9ca1b9db0f99.png) 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 |