Adding gruvbox_metarial theme (#72)

* Adding gruvbox_metarial theme

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
This commit is contained in:
Shadman 2021-02-05 03:07:57 +06:00 committed by GitHub
parent 71452fd42e
commit 1ade51b53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View File

@ -33,6 +33,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)
### gruvbox_material
![normal](https://user-images.githubusercontent.com/13149513/104458566-bea7e000-55d5-11eb-85b4-a07c99583365.jpg)
![insert](https://user-images.githubusercontent.com/13149513/104458572-c10a3a00-55d5-11eb-92d6-fb9b684726a0.jpg)
![visual](https://user-images.githubusercontent.com/13149513/104458664-de3f0880-55d5-11eb-9d79-a1cc6ed6f53b.jpg)
![replace](https://user-images.githubusercontent.com/13149513/104458588-c798b180-55d5-11eb-8332-417bb1d8cab1.jpg)
### material
![normal](https://user-images.githubusercontent.com/13149513/104335816-f3f0f700-551d-11eb-8919-96cee2bea2a0.jpg)
![insert](https://user-images.githubusercontent.com/13149513/104335824-f5222400-551d-11eb-9c22-7eeeed129e93.jpg)

View File

@ -0,0 +1,45 @@
-- =============================================================================
-- Filename: lua/lualine/themes/gruvbox_material.lua
-- Author: shadman
-- License: MIT License
-- =============================================================================
local colors = {
fg1 = "#282828",
color2 = "#504945",
fg2 = "#ddc7a1",
color3 = "#32302f",
color4 = "#a89984",
color5 = "#7daea3",
color6 = "#a9b665",
color7 = "#d8a657",
color8 = "#d3869b",
color9 = "#ea6962",
}
local M = {
normal = {
a = { fg = colors.fg1, bg = colors.color4, "bold" },
b = { fg = colors.fg2, bg = colors.color2, },
c = { fg = colors.fg2, bg = colors.color3, },
},
command = {
a = { fg = colors.fg1, bg = colors.color5, "bold" },
},
inactive = {
a = { fg = colors.fg2, bg = colors.color2, },
},
insert = {
a = { fg = colors.fg1, bg = colors.color6, "bold" },
},
replace = {
a = { fg = colors.fg1, bg = colors.color7, "bold" },
},
terminal = {
a = { fg = colors.fg1, bg = colors.color8, "bold" },
},
visual = {
a = { fg = colors.fg1, bg = colors.color9, "bold" },
},
}
return M