aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-04-26 13:34:37 +0100
committerrxi <rxi@users.noreply.github.com>2020-04-26 13:34:37 +0100
commit98f8f42a41aaf63619686efd9e5d7d11a615a216 (patch)
treed30804c6b2dd43f5a7776b7038fc45ff42775963
parent8cb8e921d5ddd2b728029685b93b1e72157a69f5 (diff)
downloadlite-xl-colors-98f8f42a41aaf63619686efd9e5d7d11a615a216.tar.gz
lite-xl-colors-98f8f42a41aaf63619686efd9e5d7d11a615a216.zip
Added color theme `monokai`
-rw-r--r--README.md2
-rw-r--r--colors/monokai.lua28
2 files changed, 29 insertions, 1 deletions
diff --git a/README.md b/README.md
index 90892d6..e8bb24e 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,9 @@ embedded in the table.*
Theme | Preview
------|-----------------------------------------
[`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](https://user-images.githubusercontent.com/3920290/80304201-62353400-87ac-11ea-9b13-9ca1b9db0f99.png)
+[`monokai`](colors/monokai.lua?raw=1) | ![monokai_preview](https://user-images.githubusercontent.com/3920290/80307643-43419c80-87c2-11ea-9f04-580d6acf6252.png)
[`winter`](colors/winter.lua?raw=1) |![winter_preview](https://user-images.githubusercontent.com/3920290/80304194-5c3f5300-87ac-11ea-9acf-33892579093e.png)
-
## Light
Theme | Preview
diff --git a/colors/monokai.lua b/colors/monokai.lua
new file mode 100644
index 0000000..96446c8
--- /dev/null
+++ b/colors/monokai.lua
@@ -0,0 +1,28 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#272822" }
+style.background2 = { common.color "#22231C" }
+style.background3 = { common.color "#22231C" }
+style.text = { common.color "#9ea191" }
+style.caret = { common.color "#F8F8F0" }
+style.accent = { common.color "#F8F8F2" }
+style.dim = { common.color "#5e6052" }
+style.divider = { common.color "#1b1c17" }
+style.selection = { common.color "#49483E" }
+style.line_number = { common.color "#75715E" }
+style.line_number2 = { common.color "#d2d0c6" }
+style.line_highlight = { common.color "#36372f" }
+style.scrollbar = { common.color "#49483E" }
+style.scrollbar2 = { common.color "#636254" }
+
+style.syntax["normal"] = { common.color "#F8F8F2" }
+style.syntax["symbol"] = { common.color "#F8F8F2" }
+style.syntax["comment"] = { common.color "#75715E" }
+style.syntax["keyword"] = { common.color "#F92672" }
+style.syntax["keyword2"] = { common.color "#66DAEF" }
+style.syntax["number"] = { common.color "#AE81FF" }
+style.syntax["literal"] = { common.color "#AE81FF" }
+style.syntax["string"] = { common.color "#E6DB74" }
+style.syntax["operator"] = { common.color "#F8F8F2" }
+style.syntax["function"] = { common.color "#A6E22E" }