50 lines
1.2 KiB
Lua
50 lines
1.2 KiB
Lua
local colors = require("farout.colors").setup({ transform = true })
|
|
local config = require("farout.config").options
|
|
|
|
local farout = {}
|
|
|
|
farout.normal = {
|
|
a = { bg = colors.blue, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.blue },
|
|
c = { bg = colors.bg_statusline, fg = colors.fg_sidebar },
|
|
}
|
|
|
|
farout.insert = {
|
|
a = { bg = colors.green, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.green },
|
|
}
|
|
|
|
farout.command = {
|
|
a = { bg = colors.yellow, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.yellow },
|
|
}
|
|
|
|
farout.visual = {
|
|
a = { bg = colors.magenta, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.magenta },
|
|
}
|
|
|
|
farout.replace = {
|
|
a = { bg = colors.red, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.red },
|
|
}
|
|
|
|
farout.terminal = {
|
|
a = { bg = colors.green1, fg = colors.black },
|
|
b = { bg = colors.fg_gutter, fg = colors.green1 },
|
|
}
|
|
|
|
farout.inactive = {
|
|
a = { bg = colors.bg_statusline, fg = colors.blue },
|
|
b = { bg = colors.bg_statusline, fg = colors.fg_gutter, gui = "bold" },
|
|
c = { bg = colors.bg_statusline, fg = colors.fg_gutter },
|
|
}
|
|
|
|
if config.lualine_bold then
|
|
for _, mode in pairs(farout) do
|
|
mode.a.gui = "bold"
|
|
end
|
|
end
|
|
|
|
return farout
|