aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-05-06 15:04:18 +0100
committerGitHub <noreply@github.com>2020-05-06 15:04:18 +0100
commitf968093aace093e04bb97e142596bf629e8e9b22 (patch)
treecc60248e6d9ee80af42b9fd2dab9d82a035703d2
parent9e77ce15772e5f5f9e9ab8ddb637387250cda579 (diff)
parent5d2cbab35b2384cd1df24d8c5b6e2c2f35f02d80 (diff)
downloadlite-xl-colors-f968093aace093e04bb97e142596bf629e8e9b22.tar.gz
lite-xl-colors-f968093aace093e04bb97e142596bf629e8e9b22.zip
Merge pull request #2 from crapidied/master
added gruvbox dark
-rw-r--r--README.md1
-rw-r--r--colors/gruvbox_dark.lua28
2 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index ee2d292..2ca94b1 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@ embedded in the table.*
Theme | Preview
------|-----------------------------------------
+[`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](https://user-images.githubusercontent.com/57670615/81137677-94bdfa00-8f2d-11ea-9224-3d70a5ec3101.png)
[`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)
diff --git a/colors/gruvbox_dark.lua b/colors/gruvbox_dark.lua
new file mode 100644
index 0000000..ff3e9d8
--- /dev/null
+++ b/colors/gruvbox_dark.lua
@@ -0,0 +1,28 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#282828" }
+style.background2 = { common.color "#1d2021" }
+style.background3 = { common.color "#1d2021" }
+style.text = { common.color "#928374" }
+style.caret = { common.color "#fbf1c7" }
+style.accent = { common.color "#ebdbb2" }
+style.dim = { common.color "#928374" }
+style.divider = { common.color "#1d2021" }
+style.selection = { common.color "#3c3836" }
+style.line_number = { common.color "#928374" }
+style.line_number2 = { common.color "#ebdbb2" }
+style.line_highlight = { common.color "#32302f" }
+style.scrollbar = { common.color "#928374" }
+style.scrollbar2 = { common.color "#fbf1c7" }
+
+style.syntax["normal"] = { common.color "#ebdbb2" }
+style.syntax["symbol"] = { common.color "#ebdbb2" }
+style.syntax["comment"] = { common.color "#928374" }
+style.syntax["keyword"] = { common.color "#fb4934" }
+style.syntax["keyword2"] = { common.color "#83a598" }
+style.syntax["number"] = { common.color "#d3869b" }
+style.syntax["literal"] = { common.color "#d3869b" }
+style.syntax["string"] = { common.color "#b8bb26" }
+style.syntax["operator"] = { common.color "#ebdbb2" }
+style.syntax["function"] = { common.color "#8ec07c" }