Add papercolor theme (#69)
* Adding papercolor theme * Add papercolor light
This commit is contained in:
parent
d904b753a8
commit
5eb42599ce
12
THEMES.md
12
THEMES.md
|
@ -51,6 +51,18 @@ All available themes are only best effort ports by myself/ other users. If you f
|
|||
![visual](https://user-images.githubusercontent.com/41551030/103468184-ea65d300-4d56-11eb-99e2-73cb649ab679.png)
|
||||
![replace](https://user-images.githubusercontent.com/41551030/103468213-07020b00-4d57-11eb-9b66-5061de556f44.png)
|
||||
|
||||
### papercolor_dark
|
||||
![normal](https://user-images.githubusercontent.com/13149513/104417232-3e668800-559f-11eb-8b85-9a09ed3078f6.jpg)
|
||||
![insert](https://user-images.githubusercontent.com/13149513/104417238-41617880-559f-11eb-9fdb-5e31eeb35a47.jpg)
|
||||
![visual](https://user-images.githubusercontent.com/13149513/104417247-43c3d280-559f-11eb-840c-2c05c475d3fb.jpg)
|
||||
![replace](https://user-images.githubusercontent.com/13149513/104417255-46262c80-559f-11eb-87b4-cfb500046997.jpg)
|
||||
|
||||
### papercolor_light
|
||||
![normal](https://user-images.githubusercontent.com/13149513/104417355-6bb33600-559f-11eb-9017-7b2f00059000.jpg)
|
||||
![insert](https://user-images.githubusercontent.com/13149513/104417361-6d7cf980-559f-11eb-9965-df0038e7d1a0.jpg)
|
||||
![visual](https://user-images.githubusercontent.com/13149513/104417368-6fdf5380-559f-11eb-9923-27679ba37e2c.jpg)
|
||||
![replace](https://user-images.githubusercontent.com/13149513/104417378-7241ad80-559f-11eb-97e5-74813da51191.jpg)
|
||||
|
||||
### powerline
|
||||
![normal](https://user-images.githubusercontent.com/13149513/103506288-8fcb9480-4e86-11eb-97f8-3768a34188fd.jpg)
|
||||
![insert](https://user-images.githubusercontent.com/13149513/103506295-978b3900-4e86-11eb-8eca-d31514c66275.jpg)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
-- =============================================================================
|
||||
-- Filename: lua/lualine/themes/papercolor.lua
|
||||
-- Author: shadman
|
||||
-- Credit: itchyny(lightline)
|
||||
-- License: MIT License
|
||||
-- =============================================================================
|
||||
|
||||
local background = vim.o.background
|
||||
|
||||
return require("lualine.themes.papercolor_"..background)
|
|
@ -0,0 +1,57 @@
|
|||
-- =============================================================================
|
||||
-- Filename: lua/lightline/themes/PaperColor_dark.lua
|
||||
-- Author: shadman
|
||||
-- Credit: TKNGUE(lightline)
|
||||
-- License: MIT License
|
||||
-- =============================================================================
|
||||
|
||||
local M = {}
|
||||
|
||||
local colors = {
|
||||
red = '#df0000',
|
||||
green = '#008700',
|
||||
blue = '#00afaf',
|
||||
pink = '#afdf00',
|
||||
olive = '#dfaf5f',
|
||||
navy = '#df875f',
|
||||
orange = '#d75f00',
|
||||
purple = '#8959a8',
|
||||
aqua = '#3e999f',
|
||||
foreground = '#d0d0d0',
|
||||
background = '#444444',
|
||||
window = '#efefef',
|
||||
status = '#c6c6c6',
|
||||
error = '#5f0000',
|
||||
statusline_active_fg = '#1c1c1c',
|
||||
statusline_active_bg = '#5f8787',
|
||||
statusline_inactive_fg = '#c6c6c6',
|
||||
statusline_inactive_bg = '#444444',
|
||||
visual_fg = '#000000',
|
||||
visual_bg = '#8787af',
|
||||
}
|
||||
|
||||
M.normal = {
|
||||
a = { fg = colors.foreground, bg = colors.background , gui = 'bold', },
|
||||
b = { fg = colors.statusline_active_fg, bg = colors.status , },
|
||||
c = { fg = colors.statusline_active_fg, bg = colors.statusline_active_bg , }
|
||||
}
|
||||
|
||||
M.insert = {
|
||||
a = { fg = colors.background, bg = colors.blue, gui = 'bold', },
|
||||
}
|
||||
|
||||
M.visual = {
|
||||
a = { fg = colors.visual_fg, bg = colors.visual_bg , gui = 'bold', },
|
||||
}
|
||||
|
||||
M.replace = {
|
||||
a = { fg = colors.background, bg = colors.pink , gui = 'bold', },
|
||||
}
|
||||
|
||||
M.inactive = {
|
||||
a = { fg = colors.foreground, bg = colors.background , gui = 'bold', },
|
||||
b = { fg = colors.foreground, bg = colors.background , },
|
||||
c = { fg = colors.foreground, bg = colors.background , },
|
||||
}
|
||||
|
||||
return M
|
|
@ -0,0 +1,55 @@
|
|||
-- =============================================================================
|
||||
-- Filename: lua/lualine/themes/PaperColor_light.lua
|
||||
-- Author: shadman
|
||||
-- Credit: TKNGUE(lightline)
|
||||
-- License: MIT License
|
||||
-- =============================================================================
|
||||
|
||||
local M = {}
|
||||
|
||||
local colors = {
|
||||
red = '#df0000',
|
||||
green = '#008700',
|
||||
blue = '#4271ae',
|
||||
pink = '#d7005f',
|
||||
olive = '#718c00',
|
||||
navy = '#005f87',
|
||||
orange = '#d75f00',
|
||||
purple = '#8959a8',
|
||||
aqua = '#3e999f',
|
||||
foreground = '#4d4d4c',
|
||||
background = '#F5F5F5',
|
||||
window = '#efefef',
|
||||
status = '#3e999f',
|
||||
error = '#ffafdf',
|
||||
statusline_active_fg = '#efefef',
|
||||
statusline_active_bg = '#005f87',
|
||||
statusline_inactive_fg = '#4d4d4c',
|
||||
statusline_inactive_bg = '#dadada',
|
||||
}
|
||||
|
||||
M.normal = {
|
||||
a = { fg = colors.foreground, bg = colors.background , gui = 'bold', },
|
||||
b = { fg = colors.statusline_active_fg, bg = colors.status , },
|
||||
c = { fg = colors.statusline_active_fg, bg = colors.statusline_active_bg , }
|
||||
}
|
||||
|
||||
M.insert = {
|
||||
a = { fg = colors.blue, bg = colors.background , gui = 'bold', },
|
||||
}
|
||||
|
||||
M.visual = {
|
||||
a = { fg = colors.background, bg = colors.orange , gui = 'bold', },
|
||||
}
|
||||
|
||||
M.replace = {
|
||||
a = { fg = colors.background, bg = colors.pink , gui = 'bold', },
|
||||
}
|
||||
|
||||
M.inactive = {
|
||||
a = { fg = colors.foreground, bg = colors.background , gui = 'bold', },
|
||||
b = { fg = colors.foreground, bg = colors.background , },
|
||||
c = { fg = colors.foreground, bg = colors.background , },
|
||||
}
|
||||
|
||||
return M
|
Loading…
Reference in New Issue