Skip to content

Commit

Permalink
feat: swapped subtext0 and subtext1 around
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Lamia authored and mehalter committed Jul 8, 2023
1 parent ab46df6 commit b74b5f4
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions lua/astrotheme/groups/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local function callback(opts)
lCursor = { link = "Cursor" },
ColorColumn = { fg = C.none, bg = C.overlay1 },
CursorLineNr = { fg = C.text, bg = C.none },
Conceal = { fg = C.subtext0, bg = C.none },
Conceal = { fg = C.subtext1, bg = C.none },
CursorColumn = { fg = C.none, bg = C.overlay1 },
CursorLine = { fg = C.none, bg = C.surface0 },
Directory = { fg = C.blue, bg = C.none },
Expand All @@ -26,12 +26,12 @@ local function callback(opts)
DiffIndexLine = { fg = C.cyan },
ErrorMsg = { fg = C.red, bg = C.none },
WinSeparator = { fg = C.overlay1, bg = C.none },
Folded = { fg = C.subtext0, bg = C.none },
Folded = { fg = C.subtext1, bg = C.none },
FoldColumn = { fg = C.none, bg = C.none },
IncSearch = { fg = C.yellow, bg = C.subtext0 },
CurSearch = { link = "IncSearch" },
LineNr = { fg = C.subtext0, bg = C.none },
NonText = { fg = C.subtext0, bg = C.none },
LineNr = { fg = C.subtext1, bg = C.none },
NonText = { fg = C.subtext1, bg = C.none },
Pmenu = { fg = C.text, bg = C.mantle },
PmenuSel = { fg = C.none, bg = C.overlay1 },
PmenuSbar = { fg = C.none, bg = C.overlay2 },
Expand All @@ -40,13 +40,13 @@ local function callback(opts)
QuickFixLine = { fg = C.overlay2, bg = C.yellow },
Search = { fg = C.overlay2, bg = C.yellow },
SignColumn = { fg = C.none, bg = C.none },
SpecialKey = { fg = C.subtext0, bg = C.none },
SpecialKey = { fg = C.subtext1, bg = C.none },
SpellBad = { undercurl = true },
SpellCap = { undercurl = true },
SpellLocal = { undercurl = true },
SpellRare = { undercurl = true },
StatusLine = { fg = C.text, bg = C.status },
StatusLineNC = { fg = C.subtext0, bg = C.none },
StatusLineNC = { fg = C.subtext1, bg = C.none },
StatusLineTerm = { fg = C.text, bg = C.overlay1 },
StatusLineTermNC = { fg = C.crust, bg = C.none },
StatusInactive = { fg = C.crust, bg = C.surface0 },
Expand All @@ -56,10 +56,10 @@ local function callback(opts)
StatusReplace = { fg = C.crust, bg = C.alt_red },
StatusCommand = { fg = C.crust, bg = C.alt_yellow },
StatusTerminal = { link = "StatusInsert" },
WinBar = { fg = C.subtext1, bg = C.base },
WinBarNC = { fg = C.subtext0, bg = opts.inactive and C.crust or C.base },
TabLine = { fg = C.subtext0, bg = C.none },
TabLineSel = { fg = C.text, bg = C.none },
WinBar = { fg = C.subtext0, bg = C.base },
WinBarNC = { fg = C.subtext1, bg = opts.inactive and C.crust or C.base },
TabLine = { fg = C.subtext1, bg = C.none },
TabLineFill = { fg = C.none, bg = C.crust },
Terminal = { fg = C.text, bg = C.overlay2 },
Visual = { fg = C.none, bg = C.surface1 },
Expand Down
4 changes: 2 additions & 2 deletions lua/astrotheme/groups/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ local function callback()
DiagnosticUnderlineHint = { sp = C.red, undercurl = true },
DiagnosticUnderlineInfo = { sp = C.red, undercurl = true },
DiagnosticUnderlineWarn = { sp = C.red, undercurl = true },
LspCodeLens = { fg = C.subtext1 },
LspCodeLensSeparator = { fg = C.subtext1 },
LspCodeLens = { fg = C.subtext0 },
LspCodeLensSeparator = { fg = C.subtext0 },
LspDiagnosticsFloatingError = { fg = C.alt_red },
LspDiagnosticsFloatingHint = { fg = C.alt_yellow },
LspDiagnosticsFloatingInfor = { fg = C.overlay0 },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/aerial.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local function callback()
AerialFieldIcon = { link = "@field" },
AerialFileIcon = { link = "@text.uri" },
AerialFunctionIcon = { link = "@function" },
AerialGuide = { fg = C.subtext0 },
AerialGuide = { fg = C.subtext1 },
AerialInterfaceIcon = { link = "@type" },
AerialKeyIcon = { link = "@type" },
AerialLine = { fg = C.yellow, bg = C.none },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/gitsigns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local function callback()
GitSignsChange = { fg = C.alt_orange, bg = C.none },
GitSignsDelete = { fg = C.alt_red, bg = C.none },
MoreMsg = { fg = C.green, bold = true },
ModeMsg = { fg = C.subtext0, bold = true },
ModeMsg = { fg = C.subtext1, bold = true },
}
end

Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/hop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local function callback()
HopNextKey = { fg = C.red, bold = true },
HopNextKey1 = { fg = C.cyan, bold = true },
HopNextKey2 = { fg = C.blue },
HopUnmatched = { fg = C.subtext0 },
HopUnmatched = { fg = C.subtext1 },
}
end

Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local function callback(opts)
},
NeoTreeSymbolicLinkTarget = { fg = C.cyan },
NeoTreeTabActive = { fg = C.text, bg = C.mantle, bold = true },
NeoTreeTabInactive = { fg = C.subtext0, bg = C.crust },
NeoTreeTabInactive = { fg = C.subtext1, bg = C.crust },
NeoTreeTabSeparatorActive = { fg = C.mantle, bg = C.mantle },
NeoTreeTabSeparatorInactive = { fg = C.crust, bg = C.crust },
NeoTreeVertSplit = { fg = C.base, bg = C.mantle },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/nvim-dap-ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local function callback()
DapUIType = { link = "Type" },
DapUIValue = { fg = C.red },
DapUIModifiedValue = { fg = C.alt_yellow, bold = true },
DapUIDecoration = { fg = C.subtext0 },
DapUIDecoration = { fg = C.subtext1 },
DapUIThread = { link = "String" },
DapUIStoppedThread = { link = "Title" },
DapUIFrameName = { link = "Normal" },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrotheme/groups/plugins/nvim-notify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function callback()
NotifyINFOBody = { fg = C.text },
NotifyDEBUGBody = { fg = C.text },
NotifyTRACEBody = { fg = C.text },
NotifyLogTime = { fg = C.subtext1 },
NotifyLogTime = { fg = C.subtext0 },
NotifyLogTitle = { fg = C.blue },
}
end
Expand Down
12 changes: 6 additions & 6 deletions lua/astrotheme/groups/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local function callback(opts)
TelescopeResultsNormal = { fg = C.text, bg = opts.floating and C.mantle or C.base },
TelescopeBorder = { fg = C.text },
TelescopeTitle = { fg = C.text },
TelescopePromptCounter = { fg = C.subtext0 },
TelescopePromptCounter = { fg = C.subtext1 },
TelescopePromptPrefix = { fg = C.blue },
TelescopePreviewLine = { bg = C.surface1 },
TelescopePreviewMatch = { fg = C.yellow },
Expand All @@ -30,7 +30,7 @@ local function callback(opts)
TelescopePreviewRead = { fg = C.yellow },
TelescopePreviewWrite = { fg = C.purple },
TelescopePreviewExecute = { fg = C.green },
TelescopePreviewHyphen = { fg = C.subtext0 },
TelescopePreviewHyphen = { fg = C.subtext1 },
TelescopePreviewSticky = { fg = C.blue },
TelescopePreviewSize = { fg = C.green },
TelescopePreviewUser = { fg = C.yellow },
Expand All @@ -46,15 +46,15 @@ local function callback(opts)
TelescopeResultsOperator = { fg = C.cyan },
TelescopeResultsStruct = { fg = C.purple },
TelescopeResultsVariable = { fg = C.red },
TelescopeResultsLineNr = { fg = C.subtext0 },
TelescopeResultsLineNr = { fg = C.subtext1 },
TelescopeResultsIdentifier = { fg = C.blue },
TelescopeResultsNumber = { fg = C.orange },
TelescopeResultsComment = { fg = C.subtext1 },
TelescopeResultsSpecialComment = { fg = C.subtext0 },
TelescopeResultsComment = { fg = C.subtext0 },
TelescopeResultsSpecialComment = { fg = C.subtext1 },
TelescopeResultsDiffChange = { fg = C.none, bg = C.yellow },
TelescopeResultsDiffAdd = { fg = C.none, bg = C.green },
TelescopeResultsDiffDelete = { fg = C.none, bg = C.red },
TelescopeResultsDiffUntracked = { fg = C.none, bg = C.subtext0 },
TelescopeResultsDiffUntracked = { fg = C.none, bg = C.subtext1 },
}
end

Expand Down
4 changes: 2 additions & 2 deletions lua/astrotheme/groups/plugins/vimwiki.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
local function callback()
return {
VimwikiLink = { fg = C.cyan, bg = C.none },
VimwikiHeaderChar = { fg = C.subtext0, bg = C.none },
VimwikiHeaderChar = { fg = C.subtext1, bg = C.none },
VimwikiHR = { fg = C.yellow, bg = C.none },
VimwikiList = { fg = C.orange, bg = C.none },
VimwikiTag = { fg = C.orange, bg = C.none },
VimwikiMarkers = { fg = C.subtext0, bg = C.none },
VimwikiMarkers = { fg = C.subtext1, bg = C.none },
VimwikiHeader1 = { fg = C.orange, bg = C.none, bold = true },
VimwikiHeader2 = { fg = C.green, bg = C.none, bold = true },
VimwikiHeader3 = { fg = C.blue, bg = C.none, bold = true },
Expand Down
4 changes: 2 additions & 2 deletions lua/astrotheme/groups/syntax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
local function callback()
return {
-- Comment
Comment = { fg = C.subtext1, bg = C.none }, -- any comment
Comment = { fg = C.subtext0, bg = C.none }, -- any comment
-- Constant
Constant = { fg = C.yellow, bg = C.none }, -- any constant
String = { fg = C.green, bg = C.none }, -- a string constant: "this is a string"
Expand Down Expand Up @@ -46,7 +46,7 @@ local function callback()
SpecialChar = { fg = C.blue, bg = C.none }, -- special character in a constant
Tag = { fg = C.blue, bg = C.none }, -- you can use CTRL-] on this
Delimiter = { fg = C.blue, bg = C.none }, -- character that needs attention
SpecialComment = { fg = C.subtext0, bg = C.none }, -- special things inside a comment
SpecialComment = { fg = C.subtext1, bg = C.none }, -- special things inside a comment
Debug = { fg = C.blue, bg = C.none }, -- debugging statements
-- Underlined
Underlined = { fg = C.cyan, bg = C.none, underline = true }, -- text that stands out, HTML links
Expand Down

0 comments on commit b74b5f4

Please sign in to comment.