aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2021-02-03 15:13:36 +0000
committerGitHub <noreply@github.com>2021-02-03 15:13:36 +0000
commit7af783e8ff7d5c8ae18b7c952629bb361e364d3e (patch)
tree7e2c843405028e4410128262620e0161c1b077d7
parent14de52b381a32a7df470815a59d534907a296cd4 (diff)
parent66ef86761f3302c999226889c66b603dadf1d104 (diff)
downloadlite-xl-colors-7af783e8ff7d5c8ae18b7c952629bb361e364d3e.tar.gz
lite-xl-colors-7af783e8ff7d5c8ae18b7c952629bb361e364d3e.zip
Merge pull request #13 from jDan735/onedark
Add onedark theme
-rw-r--r--colors/onedark.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/colors/onedark.lua b/colors/onedark.lua
new file mode 100644
index 0000000..cd43cbd
--- /dev/null
+++ b/colors/onedark.lua
@@ -0,0 +1,29 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#282c34" }
+style.background2 = { common.color "#21252B" }
+style.background3 = { common.color "#21252B" }
+style.text = { common.color "#abb2bf" }
+style.caret = { common.color "#528bff" }
+style.accent = { common.color "#ffffff" }
+style.dim = { common.color "#4f5873" }
+style.divider = { common.color "#181A1F" }
+style.selection = { common.color "#383D49" }
+style.line_number = { common.color "#53576e" }
+style.line_number2 = { common.color "#666B76" }
+style.line_highlight = { common.color "#2C333E" }
+style.scrollbar = { common.color "#353B45" }
+style.scrollbar2 = { common.color "#353B45" }
+
+style.syntax["normal"] = { common.color "#abb2bf" }
+style.syntax["symbol"] = { common.color "#abb2bf" }
+style.syntax["comment"] = { common.color "#5f697a" }
+style.syntax["keyword"] = { common.color "#cd74e8" }
+style.syntax["keyword2"] = { common.color "#eb6772" }
+style.syntax["number"] = { common.color "#db9d63" }
+style.syntax["literal"] = { common.color "#db9d63" }
+style.syntax["string"] = { common.color "#9acc76" }
+style.syntax["operator"] = { common.color "#abb2bf" }
+style.syntax["function"] = { common.color "#5cb3fa" }
+