diff options
author | Andrey Proskurin <andreyproskurin@protonmail.com> | 2021-12-25 00:44:22 +0100 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-03-06 23:44:02 -0400 |
commit | 96aa1e80bf38f81a8557458dd07dce4221c1a56f (patch) | |
tree | 59aa12f59e3a509bbcc68c0ae74a9356299d3d2d | |
parent | f6e6620a42bf1649dbabbce45f0c753fa8d9ca1b (diff) | |
download | lite-xl-colors-96aa1e80bf38f81a8557458dd07dce4221c1a56f.tar.gz lite-xl-colors-96aa1e80bf38f81a8557458dd07dce4221c1a56f.zip |
Add github-dark-dimmed colorscheme
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | colors/github-dark-dimmed.lua | 38 | ||||
-rw-r--r-- | previews/github-dark-dimmed.svg | 12 |
3 files changed, 51 insertions, 0 deletions
@@ -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 |