From 96aa1e80bf38f81a8557458dd07dce4221c1a56f Mon Sep 17 00:00:00 2001 From: Andrey Proskurin Date: Sat, 25 Dec 2021 00:44:22 +0100 Subject: Add github-dark-dimmed colorscheme --- README.md | 1 + colors/github-dark-dimmed.lua | 38 ++++++++++++++++++++++++++++++++++++++ previews/github-dark-dimmed.svg | 12 ++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 colors/github-dark-dimmed.lua create mode 100644 previews/github-dark-dimmed.svg diff --git a/README.md b/README.md index a7b3645..ede3cd1 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Theme | Preview [`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](previews/dracula.svg) [`duorand`](colors/duorand.lua?raw=1) | ![duorand_preview](previews/duorand.svg) [`duotone`](colors/duotone.lua?raw=1) | ![duotone_preview](previews/duotone.svg) +[`github-dark-dimmed`](colors/github-dark-dimmed.lua?raw=1) | ![duotone_preview](previews/github-dark-dimmed.svg) [`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](previews/gruvbox_dark.svg) [`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](previews/liqube.svg) [`mariana`](colors/mariana.lua?raw=1) | ![mariana_preview](previews/mariana.svg) 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 diff --git a/previews/github-dark-dimmed.svg b/previews/github-dark-dimmed.svg new file mode 100644 index 0000000..b68bb2c --- /dev/null +++ b/previews/github-dark-dimmed.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3