aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJipok <braaga@inbox.ru>2020-11-05 23:05:21 +0500
committerJipok <braaga@inbox.ru>2020-11-05 23:05:21 +0500
commit4345785c7e23b51c929f38003c8078fb0f78c379 (patch)
tree853f39e72e02fd4bb4e6d15745fba51834600b65
parent57cea95e4f9fec4b7fcf9f611cd7b31907fff598 (diff)
downloadlite-xl-colors-4345785c7e23b51c929f38003c8078fb0f78c379.tar.gz
lite-xl-colors-4345785c7e23b51c929f38003c8078fb0f78c379.zip
Add vscode-dark theme
-rw-r--r--README.md1
-rw-r--r--colors/vscode-dark.lua28
2 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6d544da..080682b 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ Theme | Preview
[`nord`](colors/nord.lua?raw=1) | ![nord_preview](https://user-images.githubusercontent.com/22625346/92419103-6baab180-f139-11ea-8638-d90db10da086.png)
[`winter`](colors/winter.lua?raw=1) | ![winter_preview](https://user-images.githubusercontent.com/3920290/80304194-5c3f5300-87ac-11ea-9acf-33892579093e.png)
[`zenburn`](colors/zenburn.lua?raw=1) | ![zenburn_preview](https://i.imgur.com/XUIJwMs.png)
+[`vscode-dark`](colors/vscode-dark.lua?raw=1) | ![vscode-dark_preview](https://i.imgur.com/GcSGaZc.png)
## Light
diff --git a/colors/vscode-dark.lua b/colors/vscode-dark.lua
new file mode 100644
index 0000000..d5543b9
--- /dev/null
+++ b/colors/vscode-dark.lua
@@ -0,0 +1,28 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#1E1E1E" }
+style.background2 = { common.color "#252526" }
+style.background3 = { common.color "#252526" }
+style.text = { common.color "#D4D4D4" }
+style.caret = { common.color "#FFFFFF" }
+style.accent = { common.color "#76BCFF" } -- Text in autocomplete and command, col(>80) in satusbar
+style.dim = { common.color "#7A7A7A" } -- Text of nonactive tabs, prefix in log
+style.divider = { common.color "#1E1E1E" }
+style.selection = { common.color "#264F78" }
+style.line_number = { common.color "#707070" }
+style.line_number2 = { common.color "#A0A0A0" } -- Number on line with caret
+style.line_highlight = { common.color "#333A40"}
+style.scrollbar = { common.color "#404040" }
+style.scrollbar2 = { common.color "#707070" } -- Hovered
+
+style.syntax["normal"] = { common.color "#D4D4D4" }
+style.syntax["symbol"] = { common.color "#D4D4D4" }
+style.syntax["comment"] = { common.color "#6A9955" }
+style.syntax["keyword"] = { common.color "#569CD6" } -- local function end, if case
+style.syntax["keyword2"] = { common.color "#C586C0" } -- self, int float
+style.syntax["number"] = { common.color "#B5CEA8" }
+style.syntax["literal"] = { common.color "#569CD6" }
+style.syntax["string"] = { common.color "#CE9178" }
+style.syntax["operator"] = { common.color "#D4D4D4" } -- = + - / < >
+style.syntax["function"] = { common.color "#DCDCAA" }