italic, bold, slight color change

This commit is contained in:
Eric Xiao 2022-11-26 17:06:21 -08:00
commit 6012edb321
2 changed files with 39 additions and 37 deletions

View file

@ -12,7 +12,8 @@ local palette = {
crimson = '#fa4678',
gold = '#f69957',
-- rose = '#ebbcba',
rose = '#ff79b1',
-- rose = '#ff79b1',
rose = '#ff82b4',
calm = '#23ff87',
pine = '#cd51d5',
foam = '#9ccfd8',

View file

@ -41,6 +41,7 @@ function M.get()
local styles = {
italic = 'italic',
bold = 'bold',
vert_split = p.none,
background = groups.background,
float_background = groups.panel
@ -67,7 +68,7 @@ function M.get()
diffRemoved = {link = 'DiffDelete'},
Directory = {fg = p.foam, bg = p.none},
-- EndOfBuffer = {},
ErrorMsg = {fg = p.crimson, style = 'bold'},
ErrorMsg = {fg = p.crimson, style = styles.bold},
FloatBorder = {fg = groups.border},
FloatTitle = {fg = p.muted},
FoldColumn = {fg = p.muted},
@ -115,7 +116,7 @@ function M.get()
-- Whitespace = {},
WildMenu = {link = 'IncSearch'},
Boolean = {fg = p.blu},
Boolean = {fg = p.blu, style = styles.italic},
Character = {fg = p.gold},
Comment = {fg = groups.comment, style = styles.italic},
Conditional = {fg = p.pine},
@ -130,7 +131,7 @@ function M.get()
Identifier = {fg = p.rose},
-- Ignore = {},
Include = {fg = p.iris},
Keyword = {fg = p.pine},
Keyword = {fg = p.pine, style = styles.italic},
Label = {fg = p.foam},
Macro = {fg = p.iris},
Number = {fg = p.gold},
@ -152,13 +153,13 @@ function M.get()
Underlined = {style = 'underline'},
htmlArg = {fg = p.iris},
htmlBold = {style = 'bold'},
htmlBold = {style = styles.bold},
htmlEndTag = {fg = p.subtle},
htmlH1 = {fg = groups.headings.h1, style = 'bold'},
htmlH2 = {fg = groups.headings.h2, style = 'bold'},
htmlH3 = {fg = groups.headings.h3, style = 'bold'},
htmlH4 = {fg = groups.headings.h4, style = 'bold'},
htmlH5 = {fg = groups.headings.h5, style = 'bold'},
htmlH1 = {fg = groups.headings.h1, style = styles.bold},
htmlH2 = {fg = groups.headings.h2, style = styles.bold},
htmlH3 = {fg = groups.headings.h3, style = styles.bold},
htmlH4 = {fg = groups.headings.h4, style = styles.bold},
htmlH5 = {fg = groups.headings.h5, style = styles.bold},
htmlItalic = {style = styles.italic},
htmlLink = {fg = groups.link},
htmlTag = {fg = p.subtle},
@ -166,17 +167,17 @@ function M.get()
htmlTagName = {fg = p.foam},
markdownDelimiter = {fg = p.subtle},
markdownH1 = {fg = groups.headings.h1, style = 'bold'},
markdownH1 = {fg = groups.headings.h1, style = styles.bold},
markdownH1Delimiter = {link = 'markdownH1'},
markdownH2 = {fg = groups.headings.h2, style = 'bold'},
markdownH2 = {fg = groups.headings.h2, style = styles.bold},
markdownH2Delimiter = {link = 'markdownH2'},
markdownH3 = {fg = groups.headings.h3, style = 'bold'},
markdownH3 = {fg = groups.headings.h3, style = styles.bold},
markdownH3Delimiter = {link = 'markdownH3'},
markdownH4 = {fg = groups.headings.h4, style = 'bold'},
markdownH4 = {fg = groups.headings.h4, style = styles.bold},
markdownH4Delimiter = {link = 'markdownH4'},
markdownH5 = {fg = groups.headings.h5, style = 'bold'},
markdownH5 = {fg = groups.headings.h5, style = styles.bold},
markdownH5Delimiter = {link = 'markdownH5'},
markdownH6 = {fg = groups.headings.h6, style = 'bold'},
markdownH6 = {fg = groups.headings.h6, style = styles.bold},
markdownH6Delimiter = {link = 'markdownH6'},
markdownLinkText = {fg = groups.link, style = 'underline'},
markdownUrl = {link = 'markdownLinkText'},
@ -272,7 +273,7 @@ function M.get()
TSTag = {fg = p.foam},
TSTagDelimiter = {fg = p.subtle},
TSText = {fg = p.text},
TSTitle = {fg = groups.headings.h1, style = 'bold'},
TSTitle = {fg = groups.headings.h1, style = styles.bold},
TSType = {link = 'Type'},
-- TSTypeBuiltin = {},
TSURI = {fg = groups.link},
@ -360,8 +361,8 @@ function M.get()
-- hrsh7th/nvim-cmp
CmpItemAbbr = {fg = p.subtle},
CmpItemAbbrDeprecated = {fg = p.subtle, style = 'strikethrough'},
CmpItemAbbrMatch = {fg = p.text, style = 'bold'},
CmpItemAbbrMatchFuzzy = {fg = p.text, style = 'bold'},
CmpItemAbbrMatch = {fg = p.text, style = styles.bold},
CmpItemAbbrMatchFuzzy = {fg = p.text, style = styles.bold},
CmpItemKind = {fg = p.iris},
CmpItemKindClass = {fg = p.gold},
CmpItemKindFunction = {fg = p.iris},
@ -379,46 +380,46 @@ function M.get()
-- vimwiki/vimwiki
VimwikiHR = {fg = p.subtle},
VimwikiHeader1 = {fg = groups.headings.h1, style = 'bold'},
VimwikiHeader2 = {fg = groups.headings.h2, style = 'bold'},
VimwikiHeader3 = {fg = groups.headings.h3, style = 'bold'},
VimwikiHeader4 = {fg = groups.headings.h4, style = 'bold'},
VimwikiHeader5 = {fg = groups.headings.h5, style = 'bold'},
VimwikiHeader6 = {fg = groups.headings.h6, style = 'bold'},
VimwikiHeader1 = {fg = groups.headings.h1, style = styles.bold},
VimwikiHeader2 = {fg = groups.headings.h2, style = styles.bold},
VimwikiHeader3 = {fg = groups.headings.h3, style = styles.bold},
VimwikiHeader4 = {fg = groups.headings.h4, style = styles.bold},
VimwikiHeader5 = {fg = groups.headings.h5, style = styles.bold},
VimwikiHeader6 = {fg = groups.headings.h6, style = styles.bold},
VimwikiHeaderChar = {fg = p.pine},
VimwikiLink = {fg = groups.link, style = 'underline'},
VimwikiList = {fg = p.iris},
VimwikiNoExistsLink = {fg = p.crimson},
-- nvim-neorg/neorg
NeorgHeading1Prefix = {fg = groups.headings.h1, style = 'bold'},
NeorgHeading1Prefix = {fg = groups.headings.h1, style = styles.bold},
NeorgHeading1Title = {link = 'NeorgHeading1Prefix'},
NeorgHeading2Prefix = {fg = groups.headings.h2, style = 'bold'},
NeorgHeading2Prefix = {fg = groups.headings.h2, style = styles.bold},
NeorgHeading2Title = {link = 'NeorgHeading2Prefix'},
NeorgHeading3Prefix = {fg = groups.headings.h3, style = 'bold'},
NeorgHeading3Prefix = {fg = groups.headings.h3, style = styles.bold},
NeorgHeading3Title = {link = 'NeorgHeading3Prefix'},
NeorgHeading4Prefix = {fg = groups.headings.h4, style = 'bold'},
NeorgHeading4Prefix = {fg = groups.headings.h4, style = styles.bold},
NeorgHeading4Title = {link = 'NeorgHeading4Prefix'},
NeorgHeading5Prefix = {fg = groups.headings.h5, style = 'bold'},
NeorgHeading5Prefix = {fg = groups.headings.h5, style = styles.bold},
NeorgHeading5Title = {link = 'NeorgHeading5Prefix'},
NeorgHeading6Prefix = {fg = groups.headings.h6, style = 'bold'},
NeorgHeading6Prefix = {fg = groups.headings.h6, style = styles.bold},
NeorgHeading6Title = {link = 'NeorgHeading6Prefix'},
NeorgMarkerTitle = {fg = p.text, style = 'bold'},
NeorgMarkerTitle = {fg = p.text, style = styles.bold},
-- tami5/lspsaga.nvim (fork of glepnir/lspsaga.nvim)
DefinitionCount = {fg = p.rose},
DefinitionIcon = {fg = p.rose},
DefintionPreviewTitle = {fg = p.rose, style = 'bold'},
DefintionPreviewTitle = {fg = p.rose, style = styles.bold},
LspFloatWinBorder = {fg = groups.border},
LspFloatWinNormal = {bg = groups.background},
LspSagaAutoPreview = {fg = p.subtle},
LspSagaCodeActionBorder = {fg = groups.border},
LspSagaCodeActionContent = {fg = p.foam},
LspSagaCodeActionTitle = {fg = p.gold, style = 'bold'},
LspSagaCodeActionTitle = {fg = p.gold, style = styles.bold},
LspSagaCodeActionTruncateLine = {link = 'LspSagaCodeActionBorder'},
LspSagaDefPreviewBorder = {fg = groups.border},
LspSagaDiagnosticBorder = {fg = groups.border},
LspSagaDiagnosticHeader = {fg = p.gold, style = 'bold'},
LspSagaDiagnosticHeader = {fg = p.gold, style = styles.bold},
LspSagaDiagnosticTruncateLine = {link = 'LspSagaDiagnosticBorder'},
LspSagaDocTruncateLine = {link = 'LspSagaHoverBorder'},
LspSagaFinderSelection = {fg = p.gold},
@ -476,7 +477,7 @@ function M.get()
DapUIThread = {fg = p.gold},
DapUIWatchesValue = {link = 'DapUIThread'},
DapUIBreakpointsInfo = {link = 'DapUIThread'},
DapUIBreakpointsCurrentLine = {fg = p.gold, style = 'bold'},
DapUIBreakpointsCurrentLine = {fg = p.gold, style = styles.bold},
DapUIWatchesEmpty = {fg = p.crimson},
DapUIWatchesError = {link = 'DapUIWatchesEmpty'},
DapUIBreakpointsDisabledLine = {fg = p.muted},
@ -488,7 +489,7 @@ function M.get()
DapUIFloatBorder = {link = 'DapUIBreakpointsPath'},
DapUIStoppedThread = {link = 'DapUIBreakpointsPath'},
DapUIDecoration = {link = 'DapUIBreakpointsPath'},
DapUIModifiedValue = {fg = p.foam, style = 'bold'},
DapUIModifiedValue = {fg = p.foam, style = styles.bold},
-- glepnir/dashboard-nvim
DashboardShortcut = {fg = p.love},