WIP color every 30 degrees
This commit is contained in:
parent
745cb17751
commit
dd2791bba7
@ -3,26 +3,39 @@ local hsl = lush.hsl -- We'll use hsl a lot so its nice to bind it separately
|
|||||||
|
|
||||||
---@diagnostic disable: undefined-global
|
---@diagnostic disable: undefined-global
|
||||||
local theme = lush(function()
|
local theme = lush(function()
|
||||||
|
local red = hsl(0, 50, 75)
|
||||||
|
local orange = hsl(30, 50, 75)
|
||||||
|
local yellow = hsl(60, 50, 75)
|
||||||
|
local yellow_green = hsl(90, 50, 75)
|
||||||
|
local green = hsl(120, 50, 75)
|
||||||
|
local aquamarine = hsl(150, 50, 75)
|
||||||
|
local cyan = hsl(180, 50, 75)
|
||||||
|
local blue = hsl(210, 50, 75)
|
||||||
|
local lavender = hsl(240, 50, 75)
|
||||||
|
local purple = hsl(270, 50, 75)
|
||||||
|
local fuchsia = hsl(300, 50, 75)
|
||||||
|
local hot_pink = hsl(330, 50, 75)
|
||||||
return {
|
return {
|
||||||
-- See: h highlight-groups
|
-- See: h highlight-groups
|
||||||
Normal { bg = hsl(210, 15, 20), fg = hsl(210, 20, 75) },
|
Normal { bg = hsl(blue.h, 15, 20), fg = hsl(blue.h, 20, 75) },
|
||||||
CursorLine { bg = Normal.bg.li(10) },
|
CursorLine { bg = Normal.bg.li(10) },
|
||||||
Visual { bg = hsl(210, 30, 30) },
|
Visual { bg = hsl(blue.h, 30, 30) },
|
||||||
Comment { fg = hsl(210, 10, 60) },
|
Comment { fg = hsl(blue.h, 10, 60) },
|
||||||
CursorColumn { CursorLine },
|
CursorColumn { CursorLine },
|
||||||
LineNr { Comment, gui = "italic" },
|
LineNr { Comment, gui = "italic" },
|
||||||
CursorLineNr { fg = hsl(210, 50, 75), bg = CursorLine.bg, gui = "italic" },
|
CursorLineNr { fg = blue, bg = CursorLine.bg, gui = "italic" },
|
||||||
Search { bg = hsl(50, 15, 60), fg = Normal.bg },
|
Search { bg = hsl(yellow.h, 15, 60), fg = Normal.bg },
|
||||||
IncSearch { bg = hsl(130, 15, 60), fg = Normal.bg },
|
IncSearch { bg = hsl(green.h, 15, 60), fg = Normal.bg },
|
||||||
String { fg = hsl(210, 50, 75) },
|
|
||||||
PreProc { fg = hsl(300, 50, 75) },
|
String { fg = blue },
|
||||||
Statement { fg = hsl(10, 50, 75) },
|
PreProc { fg = fuchsia },
|
||||||
Type { fg = hsl(50, 50, 75) },
|
Statement { fg = orange },
|
||||||
|
Type { fg = yellow },
|
||||||
Identifier { fg = Normal.fg },
|
Identifier { fg = Normal.fg },
|
||||||
Function { fg = hsl(130, 50, 75) },
|
Function { fg = green },
|
||||||
Operator { fg = hsl(270, 50, 75) },
|
Operator { fg = purple },
|
||||||
Special { fg = hsl(325, 50, 75) },
|
Special { fg = hot_pink },
|
||||||
Constant { fg = hsl(185, 50, 75) },
|
Constant { fg = cyan },
|
||||||
NonText { fg = Normal.bg.li(10) },
|
NonText { fg = Normal.bg.li(10) },
|
||||||
DiffAdd { Function },
|
DiffAdd { Function },
|
||||||
DiffDelete { Special },
|
DiffDelete { Special },
|
||||||
@ -32,16 +45,16 @@ local theme = lush(function()
|
|||||||
MoreMsg { Function, gui = "bold" },
|
MoreMsg { Function, gui = "bold" },
|
||||||
Question { Function, gui = "bold" },
|
Question { Function, gui = "bold" },
|
||||||
TelescopeSelection { CursorLine },
|
TelescopeSelection { CursorLine },
|
||||||
WhichKeyFloat { bg = hsl(210, 15, 30) },
|
WhichKeyFloat { bg = hsl(blue.h, 15, 30) },
|
||||||
DiagnosticError { fg = hsl(0, 80, 75) },
|
DiagnosticError { fg = red },
|
||||||
DiagnosticWarn { fg = hsl(25, 80, 75) },
|
DiagnosticWarn { fg = orange },
|
||||||
DiagnosticInfo { fg = hsl(195, 80, 75) },
|
DiagnosticInfo { fg = cyan },
|
||||||
Pmenu { bg = Normal.bg.li(20) },
|
Pmenu { bg = Normal.bg.li(20) },
|
||||||
PmenuSel { bg = Normal.bg.li(30) },
|
PmenuSel { bg = Normal.bg.li(30) },
|
||||||
Error { bg = hsl(0, 50, 50), fg = Normal.fg },
|
Error { bg = hsl(red.h, 50, 50), fg = Normal.fg },
|
||||||
ErrorMsg { Error },
|
ErrorMsg { Error },
|
||||||
MatchParen { bg = hsl(195, 50, 35), fg = Normal.fg },
|
MatchParen { bg = hsl(aquamarine.h, 50, 75), fg = Normal.bg },
|
||||||
SpecialKey { fg = "red" },
|
SpecialKey { fg = red },
|
||||||
Directory { Constant },
|
Directory { Constant },
|
||||||
Title { Operator, gui = "bold" },
|
Title { Operator, gui = "bold" },
|
||||||
Conceal { bg = Normal.bg.li(40).de(30) },
|
Conceal { bg = Normal.bg.li(40).de(30) },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user