aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author123MayankSharma <mayanksharma922001@gmail.com>2022-06-24 20:01:12 +0530
committer123MayankSharma <mayanksharma922001@gmail.com>2022-06-24 20:01:12 +0530
commit81986894f0a68a6d0470ab283e33ed7282c5e019 (patch)
treeb2006ebdae120e64fbb2920db2505293f073912d
parenta5b17f6faa2a5593222fa13a8261d8efa5e2ed7f (diff)
downloadlite-xl-colors-81986894f0a68a6d0470ab283e33ed7282c5e019.tar.gz
lite-xl-colors-81986894f0a68a6d0470ab283e33ed7282c5e019.zip
Added github_dark colorscheme and It's preview
-rw-r--r--colors/github_dark.lua41
-rw-r--r--previews/github_dark.svg14
2 files changed, 55 insertions, 0 deletions
diff --git a/colors/github_dark.lua b/colors/github_dark.lua
new file mode 100644
index 0000000..1e52b4b
--- /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.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
+
+style.guide = { common.color "#404040" } -- indentguide
+
diff --git a/previews/github_dark.svg b/previews/github_dark.svg
new file mode 100644
index 0000000..324b8dd
--- /dev/null
+++ b/previews/github_dark.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="16" shape-rendering="crispEdges">
+<rect x="0.0" width="16.666666666667" height="16" fill="rgb(13, 17, 23)"></rect>
+<rect x="16.666666666667" width="16.666666666667" height="16" fill="rgb(22, 25, 37)"></rect>
+<rect x="33.333333333333" width="16.666666666667" height="16" fill="rgb(30, 32, 46)"></rect>
+<rect x="50.0" width="16.666666666667" height="16" fill="rgb(64, 64, 64)"></rect>
+<rect x="66.666666666667" width="16.666666666667" height="16" fill="rgb(68, 76, 86)"></rect>
+<rect x="83.333333333333" width="16.666666666667" height="16" fill="rgb(46, 76, 119)"></rect>
+<rect x="100.0" width="16.666666666667" height="16" fill="rgb(118, 131, 144)"></rect>
+<rect x="116.66666666667" width="16.666666666667" height="16" fill="rgb(244, 112, 103)"></rect>
+<rect x="133.33333333333" width="16.666666666667" height="16" fill="rgb(108, 182, 255)"></rect>
+<rect x="150.0" width="16.666666666667" height="16" fill="rgb(173, 186, 199)"></rect>
+<rect x="166.66666666667" width="16.666666666667" height="16" fill="rgb(150, 208, 255)"></rect>
+<rect x="183.33333333333" width="16.666666666667" height="16" fill="rgb(220, 189, 251)"></rect>
+</svg> \ No newline at end of file