aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-07-02 18:58:20 +0100
committerGitHub <noreply@github.com>2020-07-02 18:58:20 +0100
commit5a2f97148dfb35500e45a50d36043f6831aecce4 (patch)
tree2f1749f3417a5dada57f0e1330cde6a567c4a39d
parent213c0c6ab9fffda88d2fcc216529fee37933f449 (diff)
parent738ec77ccc9a8b5b9b24e5df4e1feb0b74b27654 (diff)
downloadlite-xl-colors-5a2f97148dfb35500e45a50d36043f6831aecce4.tar.gz
lite-xl-colors-5a2f97148dfb35500e45a50d36043f6831aecce4.zip
Merge pull request #5 from bokunodev/master
i want to submit my color theme. [based on nord color palette]
-rw-r--r--README.md1
-rw-r--r--colors/nord.lua51
2 files changed, 52 insertions, 0 deletions
diff --git a/README.md b/README.md
index d4c488f..a28950e 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ Theme | Preview
[`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](https://user-images.githubusercontent.com/49284552/82159394-0c751880-988e-11ea-963d-7a25497a8fee.png)
[`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://github.com/bokunodev/lite_modules/blob/master/colors/nord_preview.png?raw=1)
[`winter`](colors/winter.lua?raw=1) | ![winter_preview](https://user-images.githubusercontent.com/3920290/80304194-5c3f5300-87ac-11ea-9acf-33892579093e.png)
## Light
diff --git a/colors/nord.lua b/colors/nord.lua
new file mode 100644
index 0000000..d0197ac
--- /dev/null
+++ b/colors/nord.lua
@@ -0,0 +1,51 @@
+local style = require "core.style"
+local common = require "core.common"
+
+--[[ Nord palette
+ Polar Night
+#2e3440
+#3b4252
+#434c5e
+#4c566a
+ Snow Storm
+#d8dee9
+#e5e9f0
+#eceff4
+ Frost
+#8fbcbb
+#88c0d0
+#81a1c1
+#5e81ac
+ Aurora
+#bf616a
+#d08770
+#ebcb8b
+#a3be8c
+#b48ead
+]]
+
+style.background = { common.color "#2e3440" }
+style.background2 = { common.color "#3b4252" }
+style.background3 = { common.color "#4c566a" }
+style.text = { common.color "#8fbcbb" }
+style.caret = { common.color "#88c0d0" }
+style.accent = { common.color "#5e81ac" }
+style.dim = { common.color "#5e81ac" }
+style.divider = { common.color "#2e3440" }
+style.selection = { common.color "#3b4252" }
+style.line_number = { common.color "#4c566a" }
+style.line_number2 = { common.color "#d8dee9" }
+style.line_highlight = { common.color "#3b4252" }
+style.scrollbar = { common.color "#4c566a" }
+style.scrollbar2 = { common.color "#b48ead" }
+
+style.syntax["normal"] = { common.color "#a3be8c" }
+style.syntax["symbol"] = { common.color "#5e81ac" }
+style.syntax["comment"] = { common.color "#4c566a" }
+style.syntax["keyword"] = { common.color "#b48ead" }
+style.syntax["keyword2"] = { common.color "#b48ead" }
+style.syntax["number"] = { common.color "#bf616a" }
+style.syntax["literal"] = { common.color "#bf616a" }
+style.syntax["string"] = { common.color "#ebcb8b" }
+style.syntax["operator"] = { common.color "#a3be8c" }
+style.syntax["function"] = { common.color "#d08770" }