initial commit
This commit is contained in:
commit
7b54fcfcd2
8
colors/lupan.lua
Normal file
8
colors/lupan.lua
Normal file
@ -0,0 +1,8 @@
|
||||
vim.g.colors_name = 'lupan'
|
||||
if vim.o.background == "dark" then
|
||||
package.loaded["lupancolors.lupan"] = nil
|
||||
require("lush")(require("lupancolors.lupan"))
|
||||
else
|
||||
package.loaded["lupancolors.lupanlight"] = nil
|
||||
require("lush")(require("lupancolors.lupanlight"))
|
||||
end
|
53
lua/lupancolors/lupan.lua
Normal file
53
lua/lupancolors/lupan.lua
Normal file
@ -0,0 +1,53 @@
|
||||
local lush = require('lush')
|
||||
local hsl = lush.hsl -- We'll use hsl a lot so its nice to bind it separately
|
||||
|
||||
---@diagnostic disable: undefined-global
|
||||
local theme = lush(function()
|
||||
return {
|
||||
-- See: h highlight-groups
|
||||
Normal { bg = hsl(235, 15, 20), fg = hsl(235, 30, 85) },
|
||||
CursorLine { bg = Normal.bg.li(10) },
|
||||
Visual { bg = hsl(235, 30, 30) },
|
||||
Comment { fg = hsl(235, 10, 60) },
|
||||
CursorColumn { CursorLine },
|
||||
LineNr { Comment, gui = "italic" },
|
||||
CursorLineNr { fg = hsl(235, 50, 75), bg = CursorLine.bg, gui = "italic" },
|
||||
Search { bg = hsl(50, 15, 60), fg = Normal.bg },
|
||||
IncSearch { bg = hsl(130, 15, 60), fg = Normal.bg },
|
||||
String { fg = hsl(235, 50, 75) },
|
||||
PreProc { fg = hsl(300, 50, 75) },
|
||||
Statement { fg = hsl(10, 50, 75) },
|
||||
Type { fg = hsl(50, 50, 75) },
|
||||
Identifier { fg = Normal.fg },
|
||||
Function { fg = hsl(130, 50, 75) },
|
||||
Operator { fg = hsl(270, 50, 75) },
|
||||
Special { fg = hsl(325, 50, 75) },
|
||||
Constant { fg = hsl(195, 50, 75) },
|
||||
NonText { fg = Normal.bg.li(10) },
|
||||
DiffAdd { Function },
|
||||
DiffDelete { Special },
|
||||
DiffChange { String },
|
||||
SignColumn { Normal },
|
||||
diffAdded { DiffAdd },
|
||||
MoreMsg { Function, gui = "bold" },
|
||||
Question { Function, gui = "bold" },
|
||||
TelescopeSelection { CursorLine },
|
||||
WhichKeyFloat { bg = hsl(235, 15, 30) },
|
||||
DiagnosticError { fg = hsl(0, 80, 75) },
|
||||
DiagnosticWarn { fg = hsl(25, 80, 75) },
|
||||
DiagnosticInfo { fg = hsl(195, 80, 75) },
|
||||
Pmenu { bg = Normal.bg.li(20) },
|
||||
PmenuSel { bg = Normal.bg.li(30) },
|
||||
Error { bg = hsl(0, 50, 50), fg = Normal.fg },
|
||||
ErrorMsg { Error },
|
||||
MatchParen { bg = hsl(195, 50, 35), fg = Normal.fg },
|
||||
SpecialKey { fg = "red" },
|
||||
Directory { Constant },
|
||||
Title { Operator, gui = "bold" },
|
||||
Conceal { bg = Normal.bg.li(40).de(30) }
|
||||
}
|
||||
end)
|
||||
|
||||
return theme
|
||||
|
||||
-- vi:nowrap:number
|
53
lua/lupancolors/lupanlight.lua
Normal file
53
lua/lupancolors/lupanlight.lua
Normal file
@ -0,0 +1,53 @@
|
||||
local lush = require('lush')
|
||||
local hsl = lush.hsl -- We'll use hsl a lot so its nice to bind it separately
|
||||
|
||||
---@diagnostic disable: undefined-global
|
||||
local theme = lush(function()
|
||||
return {
|
||||
-- See: h highlight-groups
|
||||
Normal { bg = hsl(235, 25, 97), fg = hsl(235, 30, 20) },
|
||||
CursorLine { bg = Normal.bg.da(4) },
|
||||
Visual { bg = hsl(235, 30, 75) },
|
||||
Comment { fg = hsl(235, 10, 50) },
|
||||
CursorColumn { CursorLine },
|
||||
LineNr { Comment, gui = "italic" },
|
||||
CursorLineNr { fg = hsl(235, 50, 30), bg = CursorLine.bg, gui = "italic" },
|
||||
Search { bg = hsl(50, 15, 60), fg = Normal.fg },
|
||||
IncSearch { bg = hsl(130, 15, 60), fg = Normal.fg },
|
||||
String { fg = hsl(235, 50, 35) },
|
||||
PreProc { fg = hsl(300, 50, 35) },
|
||||
Statement { fg = hsl(10, 50, 35) },
|
||||
Type { fg = hsl(50, 50, 35) },
|
||||
Identifier { fg = Normal.fg },
|
||||
Function { fg = hsl(130, 50, 35) },
|
||||
Operator { fg = hsl(270, 50, 35) },
|
||||
Special { fg = hsl(325, 50, 35) },
|
||||
Constant { fg = hsl(195, 50, 35) },
|
||||
NonText { fg = Normal.bg.li(10) },
|
||||
DiffAdd { Function },
|
||||
DiffDelete { Special },
|
||||
DiffChange { String },
|
||||
SignColumn { Normal },
|
||||
diffAdded { DiffAdd },
|
||||
MoreMsg { Function, gui = "bold" },
|
||||
Question { Function, gui = "bold" },
|
||||
TelescopeSelection { CursorLine },
|
||||
WhichKeyFloat { bg = Normal.bg.da(5) },
|
||||
DiagnosticError { fg = hsl(0, 80, 35) },
|
||||
DiagnosticWarn { fg = hsl(25, 80, 35) },
|
||||
DiagnosticInfo { fg = hsl(195, 80, 35) },
|
||||
Pmenu { bg = Normal.bg.da(5) },
|
||||
PmenuSel { bg = Normal.bg.da(10) },
|
||||
Error { bg = hsl(0, 50, 65), fg = Normal.fg },
|
||||
ErrorMsg { Error },
|
||||
MatchParen { bg = hsl(195, 50, 65), fg = Normal.fg },
|
||||
SpecialKey { fg = "red" },
|
||||
Directory { Constant },
|
||||
Title { Operator, gui = "bold" },
|
||||
Conceal { bg = Normal.bg.da(15).de(30) }
|
||||
}
|
||||
end)
|
||||
|
||||
return theme
|
||||
|
||||
-- vi:nowrap:number
|
Loading…
x
Reference in New Issue
Block a user