aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-11-04 20:02:21 +0000
committerGitHub <noreply@github.com>2020-11-04 20:02:21 +0000
commite5da8b16617b8547b077c38f1479c52760e56131 (patch)
treea48d23ad9535e205ad739da3f7c2ebe710a5df17
parent5f4da480d9237c077a788da5647d4fb95f1f2ba1 (diff)
parent552079b018529e7b41ee0105396286d97c297035 (diff)
downloadlite-xl-colors-e5da8b16617b8547b077c38f1479c52760e56131.tar.gz
lite-xl-colors-e5da8b16617b8547b077c38f1479c52760e56131.zip
Merge pull request #8 from ryawa/master
Update Nord theme
-rw-r--r--README.md2
-rw-r--r--colors/nord.lua71
2 files changed, 25 insertions, 48 deletions
diff --git a/README.md b/README.md
index 9cb7ad5..5a44a4f 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +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)
+[`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)
## Light
diff --git a/colors/nord.lua b/colors/nord.lua
index d0197ac..4b044d6 100644
--- a/colors/nord.lua
+++ b/colors/nord.lua
@@ -1,51 +1,28 @@
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 "#3B4252" }
+style.text = { common.color "#D8DEE9" }
+style.caret = { common.color "#D8DEE9" }
+style.accent = { common.color "#88C0D0" }
+style.dim = { common.color "#5E81AC" }
+style.divider = { common.color "#3B4252" }
+style.selection = { common.color "#434C5E" }
+style.line_number = { common.color "#4C566A" }
+style.line_number2 = { common.color "#D8DEE9" }
+style.line_highlight = { common.color "#434C5E" }
+style.scrollbar = { common.color "#4C566A" }
+style.scrollbar2 = { common.color "#D8DEE9" }
-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" }
+style.syntax["normal"] = { common.color "#ECEFF4" }
+style.syntax["symbol"] = { common.color "#D8DEE9" }
+style.syntax["comment"] = { common.color "#4C566A" }
+style.syntax["keyword"] = { common.color "#81A1C1" }
+style.syntax["keyword2"] = { common.color "#81A1C1" }
+style.syntax["number"] = { common.color "#B48EAD" }
+style.syntax["literal"] = { common.color "#81A1C1" }
+style.syntax["string"] = { common.color "#A3BE8C" }
+style.syntax["operator"] = { common.color "#81A1C1" }
+style.syntax["function"] = { common.color "#88C0D0" }