Added nord theme (#24)

* Added nord theme

Credit : Ported from lightline nord theme

* Added nord to THEMES.md

* Checked nord theme in README.md
This commit is contained in:
Shadman 2021-01-04 17:15:39 +06:00 committed by GitHub
parent 39dc034335
commit 3a82c3b345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 83 additions and 1 deletions

View File

@ -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) - [ ] [dense-analysis/ale](https://github.com/dense-analysis/ale)
- Themes - Themes
- [ ] support for `notermguicolors` - [ ] support for `notermguicolors`
- [ ] nord theme - [x] nord theme

View File

@ -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) ![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) ![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 ### onedark
![normal](https://user-images.githubusercontent.com/41551030/103468158-a83c9180-4d56-11eb-89cb-28d802f02341.png) ![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) ![insert](https://user-images.githubusercontent.com/41551030/103468174-cdc99b00-4d56-11eb-8723-fd817ff06404.png)

View File

@ -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