|
| 1 | +local M = {} |
| 2 | + |
| 3 | +--- Get extension configuration |
| 4 | +--- @param opts Config |
| 5 | +--- @param t CyberdreamPalette |
| 6 | +function M.get(opts, t) |
| 7 | + opts = opts or {} |
| 8 | + local highlights = { |
| 9 | + NeogitNormal = { bg = t.bg }, |
| 10 | + NeogitPopupSwitchKey = { fg = t.orange }, |
| 11 | + NeogitPopupOptionKey = { fg = t.orange }, |
| 12 | + NeogitPopupActionKey = { fg = t.orange }, |
| 13 | + NeogitPopupBranchName = { fg = t.cyan, bold = true }, |
| 14 | + NeogitPopupSectionTitle = { fg = t.pink, bold = true }, |
| 15 | + NeogitFold = { fg = t.fg }, |
| 16 | + NeogitRemote = { fg = t.cyan }, |
| 17 | + NeogitBranch = { fg = t.pink, bold = true }, |
| 18 | + NeogitBranchHead = { fg = t.pink, bold = true }, |
| 19 | + NeogitWinSeparator = { bg = t.bg, fg = t.bgHighlight }, |
| 20 | + NeogitChangeDeleted = { fg = t.red, bold = true, italic = true }, |
| 21 | + NeogitChangeModified = { fg = t.blue, bold = true, italic = true }, |
| 22 | + NeogitSectionHeader = { fg = t.orange, bold = true }, |
| 23 | + NeogitCommitViewHeader = { bg = t.pink, fg = t.bgAlt }, |
| 24 | + NeogitHunkHeader = { bg = t.cyan, fg = t.bgAlt, bold = true }, |
| 25 | + NeogitHunkHeaderHighlight = { bg = t.pink, fg = t.bgAlt, bold = true }, |
| 26 | + NeogitDiffHeader = { bg = t.fg, fg = t.bgAlt }, |
| 27 | + NeogitDiffContext = { bg = t.bg }, |
| 28 | + NeogitDiffHeaderHighlight = { bg = t.bgHighlight, fg = t.orange, bold = true, italic = true }, |
| 29 | + NeogitDiffContextHighlight = { bg = t.bgHighlight }, |
| 30 | + } |
| 31 | + |
| 32 | + return highlights |
| 33 | +end |
| 34 | + |
| 35 | +return M |
0 commit comments