aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2021-03-13 15:50:34 +0000
committerGitHub <noreply@github.com>2021-03-13 15:50:34 +0000
commitf8c7a5671d937bc0495d6821b6fa980e442d43c6 (patch)
treeb58794998a22165d8ac6824a78123f38b5f64550
parent7af783e8ff7d5c8ae18b7c952629bb361e364d3e (diff)
parent69f63057f5c35fee153fcdf273b86f46634bf787 (diff)
downloadlite-xl-colors-f8c7a5671d937bc0495d6821b6fa980e442d43c6.tar.gz
lite-xl-colors-f8c7a5671d937bc0495d6821b6fa980e442d43c6.zip
Merge pull request #17 from mcseptian/master
Add only_dark theme
-rw-r--r--README.md1
-rw-r--r--colors/only_dark.lua31
2 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md
index 60b3e1b..5677a69 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ Theme | Preview
[`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](https://user-images.githubusercontent.com/3920290/80304201-62353400-87ac-11ea-9b13-9ca1b9db0f99.png)
[`monokai`](colors/monokai.lua?raw=1) | ![monokai_preview](https://user-images.githubusercontent.com/3920290/80307643-43419c80-87c2-11ea-9f04-580d6acf6252.png)
[`nord`](colors/nord.lua?raw=1) | ![nord_preview](https://user-images.githubusercontent.com/22625346/92419103-6baab180-f139-11ea-8638-d90db10da086.png)
+[`only_dark`](colors/only_dark.lua?raw=1) | ![only_dark_preview](https://user-images.githubusercontent.com/18345339/110795752-c8825280-82a9-11eb-9d90-e9f8f9c7ebb5.png)
[`vscode-dark`](colors/vscode-dark.lua?raw=1) | ![vscode-dark_preview](https://i.imgur.com/GcSGaZc.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)
diff --git a/colors/only_dark.lua b/colors/only_dark.lua
new file mode 100644
index 0000000..2c29e9d
--- /dev/null
+++ b/colors/only_dark.lua
@@ -0,0 +1,31 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#242424" }
+style.background2 = { common.color "#252528" }
+style.background3 = { common.color "#44475A" }
+
+style.text = { common.color "#fffff0" }
+style.caret = { common.color "#69FF94" }
+style.accent = { common.color "#ff0fff" }
+
+style.dim = { common.color "#0fffff" }
+style.divider = { common.color "#7b7f8b" }
+style.selection = { common.color "#48484f" }
+style.selectionhighlight = { common.color "#dddeee" }
+style.line_number = { common.color "#525259" }
+style.line_number2 = { common.color "#f6f6e0" }
+style.line_highlight = { common.color "#343438" }
+style.scrollbar = { common.color "#414146" }
+style.scrollbar2 = { common.color "#4b4bff" }
+
+style.syntax["normal"] = { common.color "#e1e1e6" }
+style.syntax["symbol"] = { common.color "#97e1f1" }
+style.syntax["comment"] = { common.color "#676b6f" }
+style.syntax["keyword"] = { common.color "#E58AC9" }
+style.syntax["keyword2"] = { common.color "#F77483" }
+style.syntax["number"] = { common.color "#FFA94D" }
+style.syntax["literal"] = { common.color "#ee6666" }
+style.syntax["string"] = { common.color "#f7c95c" }
+style.syntax["operator"] = { common.color "#93DDFA" }
+style.syntax["function"] = { common.color "#bf9eee" }