local gh = require("github-theme.spec").load("github_light") local colors = { bg = gh.bg1, alt_bg = gh.bg0, dark_fg = gh.palette.fg.emphasis, fg = gh.palette.fg.default, light_fg = gh.palette.fg.subtle, normal = gh.palette.blue.base, insert = gh.palette.green.base, visual = gh.palette.magenta.base, replace = gh.palette.red.base, } local theme = { normal = { a = { fg = colors.bg, bg = colors.normal }, b = { fg = colors.light_fg, bg = colors.alt_bg }, c = { fg = colors.fg, bg = colors.bg }, }, replace = { a = { fg = colors.bg, bg = colors.replace }, b = { fg = colors.light_fg, bg = colors.alt_bg }, }, insert = { a = { fg = colors.bg, bg = colors.insert }, b = { fg = colors.light_fg, bg = colors.alt_bg }, }, visual = { a = { fg = colors.bg, bg = colors.visual }, b = { fg = colors.light_fg, bg = colors.alt_bg }, }, inactive = { a = { fg = colors.dark_fg, bg = colors.bg }, b = { fg = colors.dark_fg, bg = colors.bg }, c = { fg = colors.dark_fg, bg = colors.bg }, }, } theme.command = theme.normal theme.terminal = theme.insert return theme