2022-09-05 12:06:03 +00:00
|
|
|
local colors = require("tokyonight.colors").setup({ transform = true })
|
2022-09-05 18:32:31 +00:00
|
|
|
local config = require("tokyonight.config").options
|
2021-04-19 12:38:50 +00:00
|
|
|
|
|
|
|
local tokyonight = {}
|
|
|
|
|
|
|
|
tokyonight.normal = {
|
2021-04-21 06:04:25 +00:00
|
|
|
a = { bg = colors.blue, fg = colors.black },
|
2021-04-19 12:38:50 +00:00
|
|
|
b = { bg = colors.fg_gutter, fg = colors.blue },
|
2021-04-21 06:04:25 +00:00
|
|
|
c = { bg = colors.bg_statusline, fg = colors.fg_sidebar },
|
2021-04-19 12:38:50 +00:00
|
|
|
}
|
2021-04-19 18:42:20 +00:00
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
tokyonight.insert = {
|
2021-04-21 06:04:25 +00:00
|
|
|
a = { bg = colors.green, fg = colors.black },
|
2021-04-20 10:19:20 +00:00
|
|
|
b = { bg = colors.fg_gutter, fg = colors.green },
|
2021-04-19 12:38:50 +00:00
|
|
|
}
|
2021-04-19 18:42:20 +00:00
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
tokyonight.command = {
|
2021-04-21 06:04:25 +00:00
|
|
|
a = { bg = colors.yellow, fg = colors.black },
|
2021-04-19 21:47:01 +00:00
|
|
|
b = { bg = colors.fg_gutter, fg = colors.yellow },
|
2021-04-19 12:38:50 +00:00
|
|
|
}
|
2021-04-19 18:42:20 +00:00
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
tokyonight.visual = {
|
2021-04-21 06:04:25 +00:00
|
|
|
a = { bg = colors.magenta, fg = colors.black },
|
2021-04-20 16:00:27 +00:00
|
|
|
b = { bg = colors.fg_gutter, fg = colors.magenta },
|
2021-04-19 12:38:50 +00:00
|
|
|
}
|
2021-04-19 18:42:20 +00:00
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
tokyonight.replace = {
|
2021-04-21 06:04:25 +00:00
|
|
|
a = { bg = colors.red, fg = colors.black },
|
2021-04-19 12:38:50 +00:00
|
|
|
b = { bg = colors.fg_gutter, fg = colors.red },
|
|
|
|
}
|
2021-04-19 18:42:20 +00:00
|
|
|
|
2022-11-10 13:42:08 +00:00
|
|
|
tokyonight.terminal = {
|
|
|
|
a = {bg = colors.green1, fg = colors.black },
|
|
|
|
b = {bg = colors.fg_gutter, fg=colors.green1 },
|
|
|
|
}
|
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
tokyonight.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 },
|
|
|
|
}
|
|
|
|
|
2022-09-05 18:32:31 +00:00
|
|
|
if config.lualine_bold then
|
2021-06-25 12:33:10 +00:00
|
|
|
for _, mode in pairs(tokyonight) do
|
|
|
|
mode.a.gui = "bold"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2021-04-19 12:38:50 +00:00
|
|
|
return tokyonight
|