aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--colors/github-dark-dimmed.lua38
-rw-r--r--previews/github-dark-dimmed.svg12
3 files changed, 51 insertions, 0 deletions
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 @@
+<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="20.0" height="16" fill="rgb(34, 39, 46)"></rect>
+<rect x="20.0" width="20.0" height="16" fill="rgb(45, 51, 59)"></rect>
+<rect x="40.0" width="20.0" height="16" fill="rgb(68, 76, 86)"></rect>
+<rect x="60.0" width="20.0" height="16" fill="rgb(46, 76, 119)"></rect>
+<rect x="80.0" width="20.0" height="16" fill="rgb(118, 131, 144)"></rect>
+<rect x="100.0" width="20.0" height="16" fill="rgb(244, 112, 103)"></rect>
+<rect x="120.0" width="20.0" height="16" fill="rgb(108, 182, 255)"></rect>
+<rect x="140.0" width="20.0" height="16" fill="rgb(173, 186, 199)"></rect>
+<rect x="160.0" width="20.0" height="16" fill="rgb(150, 208, 255)"></rect>
+<rect x="180.0" width="20.0" height="16" fill="rgb(220, 189, 251)"></rect>
+</svg> \ No newline at end of file