aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-11-30 10:11:44 +0000
committerGitHub <noreply@github.com>2020-11-30 10:11:44 +0000
commit12a4fec492897d5c3e72c10d6e9954e9f6a55c46 (patch)
treeb9652d3b4dd174d8df575452bab57e001ac393d1
parent19d33b5723b8742d5ff8623374131767b9070d9e (diff)
parent9b7af8b6a834c1b39d7b84f578c00a167fc4fccc (diff)
downloadlite-xl-colors-12a4fec492897d5c3e72c10d6e9954e9f6a55c46.tar.gz
lite-xl-colors-12a4fec492897d5c3e72c10d6e9954e9f6a55c46.zip
Merge pull request #11 from mmatongo/duotone
Duotone Theme
-rw-r--r--README.md1
-rw-r--r--colors/duotone.lua29
2 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
index 080682b..8156b04 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ embedded in the table.*
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)
[`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/duotone.lua b/colors/duotone.lua
new file mode 100644
index 0000000..d1f0f36
--- /dev/null
+++ b/colors/duotone.lua
@@ -0,0 +1,29 @@
+local style = require "core.style"
+local common = require "core.common"
+
+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 "#242424" }
+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"] = { common.color "#01A870" }
+style.syntax["function"] = { common.color "#01A870" }