diff --git a/README.md b/README.md index d4eba42..72e799d 100644 --- a/README.md +++ b/README.md @@ -259,4 +259,4 @@ Please create an issue/ pr if you want to see more functionality implemented - [ ] [dense-analysis/ale](https://github.com/dense-analysis/ale) - Themes - [ ] support for `notermguicolors` - - [ ] nord theme + - [x] nord theme diff --git a/THEMES.md b/THEMES.md index 7f6e0a4..4f52e59 100644 --- a/THEMES.md +++ b/THEMES.md @@ -15,6 +15,12 @@ All available themes are only best effort ports by myself/ other users. If you f ![command](https://user-images.githubusercontent.com/41551030/103467919-2ba8b380-4d54-11eb-8585-6c667fd5082e.png) ![replace](https://user-images.githubusercontent.com/41551030/103467925-32372b00-4d54-11eb-88d6-6d39c46854d8.png) +### nord +![normal](https://user-images.githubusercontent.com/13149513/103517642-ad0b5d80-4e9c-11eb-84fd-71541a50abaa.jpg) +![insert](https://user-images.githubusercontent.com/13149513/103517655-b268a800-4e9c-11eb-8bd6-e2808d940779.jpg) +![visual](https://user-images.githubusercontent.com/13149513/103517664-b5fc2f00-4e9c-11eb-85dd-e0d7ed1cdb97.jpg) +![replace](https://user-images.githubusercontent.com/13149513/103517682-ba284c80-4e9c-11eb-9210-d3e28a05f4a2.jpg) + ### onedark ![normal](https://user-images.githubusercontent.com/41551030/103468158-a83c9180-4d56-11eb-89cb-28d802f02341.png) ![insert](https://user-images.githubusercontent.com/41551030/103468174-cdc99b00-4d56-11eb-8723-fd817ff06404.png) diff --git a/lua/lualine/themes/nord.lua b/lua/lualine/themes/nord.lua new file mode 100644 index 0000000..892377a --- /dev/null +++ b/lua/lualine/themes/nord.lua @@ -0,0 +1,76 @@ +local M = { } + +local colors = { + nord1 = "#3B4252", + nord3 = "#4C566A", + nord5 = "#E5E9F0", + nord6 = "#ECEFF4", + nord7 = "#8FBCBB", + nord8 = "#88C0D0", + nord13 = "#EBCB8B", + +} + +M.normal = { + a = { + fg = colors.nord1, + bg = colors.nord8, + }, + b = { + fg = colors.nord5, + bg = colors.nord1, + }, + c = { + fg = colors.nord5, + bg = colors.nord3, + } +} + +M.insert = { + a = { + fg = colors.nord1, + bg = colors.nord6, + }, + b = M.normal.b, + c = M.normal.c, +} + + +M.visual = { + a = { + fg = colors.nord1, + bg = colors.nord7, + }, + b = M.normal.b, + c = M.normal.c, +} + +M.replace = { + a = { + fg = colors.nord1, + bg = colors.nord13, + }, + b = M.normal.b, + c = M.normal.c, +} + +M.command = M.normal + +M.terminal = M.normal + +M.inactive = { + a = { + fg = colors.nord1, + bg = colors.nord8, + }, + b = { + fg = colors.nord5, + bg = colors.nord1, + }, + c = { + fg = colors.nord5, + bg = colors.nord1, + }, +} + +return M