Skip to content

Commit 56c8bf2

Browse files
A-Lamiamehalter
authored andcommitted
refactor(base): initial color changes to better fit a hierarchy
1 parent 55e9308 commit 56c8bf2

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

lua/astrotheme/groups/base.lua

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
local function callback()
1+
local function callback(opts)
22
return {
33
Normal = { fg = C.text, bg = C.base },
4-
NormalNC = { fg = C.text, bg = C.mantle },
4+
NormalNC = { fg = C.text, bg = opts.inactive and C.crust or C.base },
55
Title = { fg = C.cyan, bg = C.none },
66
Cursor = { fg = C.base, bg = C.text },
77
CursorIM = { link = "Cursor" },
@@ -32,7 +32,7 @@ local function callback()
3232
CurSearch = { link = "IncSearch" },
3333
LineNr = { fg = C.subtext0, bg = C.none },
3434
NonText = { fg = C.subtext0, bg = C.none },
35-
Pmenu = { fg = C.text, bg = C.base },
35+
Pmenu = { fg = C.text, bg = C.mantle },
3636
PmenuSel = { fg = C.none, bg = C.overlay1 },
3737
PmenuSbar = { fg = C.none, bg = C.overlay2 },
3838
PmenuThumb = { fg = C.none, bg = C.text },
@@ -45,25 +45,26 @@ local function callback()
4545
SpellCap = { undercurl = true },
4646
SpellLocal = { undercurl = true },
4747
SpellRare = { undercurl = true },
48-
StatusLine = { fg = C.text, bg = C.overlay1 },
48+
StatusLine = { fg = C.text, bg = C.crust },
4949
StatusLineNC = { fg = C.subtext0, bg = C.none },
5050
StatusLineTerm = { fg = C.text, bg = C.overlay1 },
51-
StatusLineTermNC = { fg = C.overlay1, bg = C.none },
52-
StatusInactive = { fg = C.overlay1, bg = C.surface0 },
53-
StatusNormal = { fg = C.overlay1, bg = C.blue },
54-
StatusInsert = { fg = C.overlay1, bg = C.green },
55-
StatusVisual = { fg = C.overlay1, bg = C.purple },
56-
StatusReplace = { fg = C.overlay1, bg = C.dark_red },
57-
StatusCommand = { fg = C.overlay1, bg = C.dark_yellow },
51+
StatusLineTermNC = { fg = C.crust, bg = C.none },
52+
StatusInactive = { fg = C.crust, bg = C.surface0 },
53+
StatusNormal = { fg = C.crust, bg = C.blue },
54+
StatusInsert = { fg = C.crust, bg = C.green },
55+
StatusVisual = { fg = C.crust, bg = C.purple },
56+
StatusReplace = { fg = C.crust, bg = C.dark_red },
57+
StatusCommand = { fg = C.crust, bg = C.dark_yellow },
5858
StatusTerminal = { link = "StatusInsert" },
5959
WinBar = { fg = C.subtext1, bg = C.base },
60-
WinBarNC = { fg = C.subtext0, bg = C.mantle },
60+
WinBarNC = { fg = C.subtext0, bg = opts.inactive and C.crust or C.base },
6161
TabLine = { fg = C.subtext0, bg = C.none },
6262
TabLineSel = { fg = C.text, bg = C.none },
6363
TabLineFill = { fg = C.none, bg = C.overlay2 },
6464
Terminal = { fg = C.text, bg = C.overlay2 },
6565
Visual = { fg = C.none, bg = C.surface1 },
6666
VisualNOS = { fg = C.surface1, bg = C.none },
67+
VirtSplit = { bg = C.base },
6768
WarningMsg = { fg = C.yellow, bg = C.none },
6869
WildMenu = { fg = C.overlay2, bg = C.blue },
6970
EndOfBuffer = { fg = C.base, bg = C.none },

0 commit comments

Comments
 (0)