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

|
||||

|
||||
|
||||
### papercolor_dark
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
### papercolor_light
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
### powerline
|
||||

|
||||

|
||||
|
10
lua/lualine/themes/papercolor.lua
Normal file
10
lua/lualine/themes/papercolor.lua
Normal file
@ -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)
|
57
lua/lualine/themes/papercolor_dark.lua
Normal file
57
lua/lualine/themes/papercolor_dark.lua
Normal file
@ -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
|
55
lua/lualine/themes/papercolor_light.lua
Normal file
55
lua/lualine/themes/papercolor_light.lua
Normal file
@ -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…
x
Reference in New Issue
Block a user