Add molokai theme (#62)

* Added molokai theme
This commit is contained in:
Shadman 2021-02-05 01:54:36 +06:00 committed by GitHub
parent 8c09fc8228
commit 82e0d7d2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

View File

@ -21,6 +21,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)
### molokai
![normal](https://user-images.githubusercontent.com/13149513/104329284-f69c1e00-5516-11eb-9c35-4b7f4baebe47.jpg)
![insert](https://user-images.githubusercontent.com/13149513/104329303-fac83b80-5516-11eb-96fd-fc30eaab8244.jpg)
![visual](https://user-images.githubusercontent.com/13149513/104329313-fc91ff00-5516-11eb-810b-5cf377e26830.jpg)
![replace](https://user-images.githubusercontent.com/13149513/104329415-10d5fc00-5517-11eb-9312-f494adafe874.jpg)
### 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)

View File

@ -0,0 +1,46 @@
-- =============================================================================
-- Filename: lua/lualine/themes/molokai.lua
-- Author: shadman
-- Credit: challsted(lightline)
-- License: MIT License
-- =============================================================================
local molokai = {}
local colors = {
black = { '#232526', 233 },
gray = { '#808080', 244 },
white = { '#f8f8f2', 234 },
cyan = { '#66d9ef', 81 },
green = { '#a6e22e', 118 },
orange = { '#ef5939', 166 },
pink = { '#f92672', 161 },
red = { '#ff0000', 160 },
yellow = { '#e6db74', 229 },
}
molokai.normal = {
a = { fg = colors.black, bg = colors.cyan , gui = 'bold', },
b = { fg = colors.black, bg = colors.pink , },
c = { fg = colors.orange, bg = colors.black , }
}
molokai.insert = {
a = { fg = colors.black, bg = colors.green , gui = 'bold', },
}
molokai.visual = {
a = { fg = colors.black, bg = colors.yellow , gui = 'bold', },
}
molokai.replace = {
a = { fg = colors.black, bg = colors.red , gui = 'bold', },
}
molokai.inactive = {
a = { fg = colors.pink, bg = colors.black , gui = 'bold', },
b = { fg = colors.white, bg = colors.pink , },
c = { fg = colors.gray, bg = colors.black , },
}
return molokai