fix: update nightfox colors (#58)

This commit is contained in:
Tyler J Russell 2022-05-07 15:09:34 +01:00 committed by GitHub
parent 2bcc3069d6
commit 3cb666662b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,25 @@
local theme = require('nightfox.colors') local palette = require('nightfox.palette').load('nightfox')
local themeColors = theme.init() local spec = require('nightfox.spec').load('nightfox')
local colors = { local colors = {
white = themeColors.fg_alt, white = palette.fg2,
bg = themeColors.bg, bg = palette.bg1,
bg_highlight = themeColors.bg_highlight, bg_highlight = palette.bg3,
normal = themeColors.blue, normal = palette.blue.base,
insert = themeColors.cyan, insert = palette.cyan.base,
command = themeColors.orange, command = palette.orange.base,
visual = themeColors.magenta, visual = palette.magenta.base,
replace = themeColors.red, replace = palette.red.base,
diffAdd = themeColors.git.add, diffAdd = spec.git.add,
diffModified = themeColors.git.change, diffModified = spec.git.change,
diffDeleted = themeColors.git.delete, diffDeleted = spec.git.delete,
trace = themeColors.orange, trace = palette.orange.base,
hint = themeColors.cyan, hint = palette.cyan.base,
info = themeColors.green_br, info = palette.green.bright,
error = themeColors.magenta_br, error = palette.magenta.bright,
warn = themeColors.orange, warn = palette.orange.base,
floatBorder = themeColors.border_highlight, floatBorder = palette.bg3,
selection_caret = themeColors.pink, selection_caret = palette.pink.base,
} }
return colors return colors