aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorAndrey Proskurin <andreyproskurin@protonmail.com>2021-12-25 00:44:22 +0100
committerjgmdev <jgmdev@gmail.com>2022-03-06 23:44:02 -0400
commit96aa1e80bf38f81a8557458dd07dce4221c1a56f (patch)
tree59aa12f59e3a509bbcc68c0ae74a9356299d3d2d /colors
parentf6e6620a42bf1649dbabbce45f0c753fa8d9ca1b (diff)
downloadlite-xl-colors-96aa1e80bf38f81a8557458dd07dce4221c1a56f.tar.gz
lite-xl-colors-96aa1e80bf38f81a8557458dd07dce4221c1a56f.zip
Add github-dark-dimmed colorscheme
Diffstat (limited to 'colors')
-rw-r--r--colors/github-dark-dimmed.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/colors/github-dark-dimmed.lua b/colors/github-dark-dimmed.lua
new file mode 100644
index 0000000..9cd0605
--- /dev/null
+++ b/colors/github-dark-dimmed.lua
@@ -0,0 +1,38 @@
+local style = require "core.style"
+local common = require "core.common"
+
+-- GitHub color palette
+-- Ported by Andrey Proskurin (proskur1n)
+local bg = { common.color "#22272e" }
+local bg2 = { common.color "#2d333b" }
+local fg = { common.color "#adbac7" }
+local fgdim = { common.color "#768390" }
+local red = { common.color "#f47067" }
+local blue = { common.color "#6cb6ff" }
+local purple = { common.color "#dcbdfb" }
+
+style.background = bg
+style.background2 = bg
+style.background3 = bg
+style.text = fg
+style.caret = red
+style.accent = blue
+style.dim = fgdim
+style.divider = { common.color "#444c56" }
+style.selection = { common.color "#2e4c77" }
+style.line_number = fgdim
+style.line_number2 = fg
+style.line_highlight = bg2
+style.scrol = fgdim
+style.scrollbar2 = fg
+
+style.syntax["normal"] = fg
+style.syntax["symbol"] = fg
+style.syntax["comment"] = fgdim
+style.syntax["keyword"] = red
+style.syntax["keyword2"] = red
+style.syntax["number"] = blue
+style.syntax["literal"] = blue
+style.syntax["string"] = { common.color "#96d0ff" }
+style.syntax["operator"] = fg
+style.syntax["function"] = blue