From 81986894f0a68a6d0470ab283e33ed7282c5e019 Mon Sep 17 00:00:00 2001 From: 123MayankSharma Date: Fri, 24 Jun 2022 20:01:12 +0530 Subject: Added github_dark colorscheme and It's preview --- colors/github_dark.lua | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 colors/github_dark.lua (limited to 'colors') 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 + -- cgit v1.2.3