From 4345785c7e23b51c929f38003c8078fb0f78c379 Mon Sep 17 00:00:00 2001 From: Jipok Date: Thu, 5 Nov 2020 23:05:21 +0500 Subject: Add vscode-dark theme --- README.md | 1 + colors/vscode-dark.lua | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 colors/vscode-dark.lua 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" } -- cgit v1.2.3 From 29e6ed3e5813bfc78e6a745fee2d71220be7d146 Mon Sep 17 00:00:00 2001 From: Jipok Date: Fri, 6 Nov 2020 02:24:11 +0500 Subject: Add some plugins support for vscode-dark theme --- colors/vscode-dark.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/colors/vscode-dark.lua b/colors/vscode-dark.lua index d5543b9..fb7d658 100644 --- a/colors/vscode-dark.lua +++ b/colors/vscode-dark.lua @@ -1,3 +1,6 @@ +-- Most of the colors are taken from: +-- https://github.com/microsoft/vscode/tree/master/extensions/theme-defaults/themes + local style = require "core.style" local common = require "core.common" @@ -26,3 +29,9 @@ style.syntax["literal"] = { common.color "#569CD6" } style.syntax["string"] = { common.color "#CE9178" } style.syntax["operator"] = { common.color "#D4D4D4" } -- = + - / < > style.syntax["function"] = { common.color "#DCDCAA" } + +-- PLUGINS +style.linter_warning = { common.color "#B89500" } -- linter +style.bracketmatch_color = { common.color "#76BCFF" } -- bracketmatch +style.guide = { common.color "#404040" } -- indentguide +style.guide_width = 1 -- indentguide -- cgit v1.2.3 From 3afc058c1babd9beef9c37623f6a70e0b09496fc Mon Sep 17 00:00:00 2001 From: Jipok Date: Fri, 6 Nov 2020 20:05:36 +0500 Subject: Highlight operator highlighting in vscode-dark --- colors/vscode-dark.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/vscode-dark.lua b/colors/vscode-dark.lua index fb7d658..0b8d108 100644 --- a/colors/vscode-dark.lua +++ b/colors/vscode-dark.lua @@ -27,7 +27,7 @@ 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["operator"] = { common.color "#8590A5"} -- = + - / < > style.syntax["function"] = { common.color "#DCDCAA" } -- PLUGINS -- cgit v1.2.3