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 +++++++++++++++++++++++++++++++++++++++++ previews/github_dark.svg | 14 ++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 colors/github_dark.lua create mode 100644 previews/github_dark.svg 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 @@ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 37fdb4ee713f0922eaae81ad8c5c9b9e55c672d9 Mon Sep 17 00:00:00 2001 From: 123MayankSharma Date: Fri, 24 Jun 2022 22:10:25 +0530 Subject: fixed scrollbar color typo --- colors/github_dark.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/github_dark.lua b/colors/github_dark.lua index 1e52b4b..b5ce523 100644 --- a/colors/github_dark.lua +++ b/colors/github_dark.lua @@ -23,7 +23,7 @@ style.selection = { common.color "#2e4c77" } style.line_number = fgdim style.line_number2 = fg style.line_highlight = {common.color "#1e202e"} -style.scrol = fgdim +style.scrollbar = fgdim style.scrollbar2 = fg style.syntax["normal"] = fg -- cgit v1.2.3