aboutsummaryrefslogtreecommitdiff
path: root/colors/github_dark.lua
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-06-24 18:41:52 +0200
committerGitHub <noreply@github.com>2022-06-24 18:41:52 +0200
commit4c2f6a652ac445ecdd2d9358e52cf179cb3ca98d (patch)
tree6431f273bf4e6d33778864f966af4ee429ac72d8 /colors/github_dark.lua
parenta5b17f6faa2a5593222fa13a8261d8efa5e2ed7f (diff)
parent37fdb4ee713f0922eaae81ad8c5c9b9e55c672d9 (diff)
downloadlite-xl-colors-4c2f6a652ac445ecdd2d9358e52cf179cb3ca98d.tar.gz
lite-xl-colors-4c2f6a652ac445ecdd2d9358e52cf179cb3ca98d.zip
Merge pull request #14 from 123MayankSharma/master
Added github_dark colorscheme and It's preview
Diffstat (limited to 'colors/github_dark.lua')
-rw-r--r--colors/github_dark.lua41
1 files changed, 41 insertions, 0 deletions
diff --git a/colors/github_dark.lua b/colors/github_dark.lua
new file mode 100644
index 0000000..b5ce523
--- /dev/null
+++ b/colors/github_dark.lua
@@ -0,0 +1,41 @@
+local style = require "core.style"
+local common = require "core.common"
+
+-- GitHub color palette
+-- Ported by Andrey Proskurin (proskur1n)
+local bg = { common.color "#0d1117" }
+local bg2 = { common.color "#161925" }
+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 = bg2
+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 = {common.color "#1e202e"}
+style.scrollbar = 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
+
+style.guide = { common.color "#404040" } -- indentguide
+