From a427424064245987e54f3693764b12232bb2be9a Mon Sep 17 00:00:00 2001 From: rxi Date: Sun, 6 Dec 2020 15:36:53 +0000 Subject: Added color theme `duorand` --- README.md | 1 + colors/duorand.lua | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 colors/duorand.lua diff --git a/README.md b/README.md index 8156b04..b117466 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3