You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.4 KiB

return {
"folke/tokyonight.nvim",
lazy = false, -- make sure we load this during startup
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require("tokyonight").setup({
-- your configuration comes here
-- or leave it empty to use the default settings
style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
light_style = "day", -- The theme is used when the background is set to light
transparent = false, -- Enable this to disable setting the background color
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
styles = {
-- Style to be applied to different syntax groups
keywords = { italic = true },
functions = {},
variables = {},
-- Background styles. Can be "dark", "transparent" or "normal"
sidebars = "dark", -- style for sidebars, see below
floats = "dark", -- style for floating windows
},
sidebars = { "qf", "help", "neo-tree", "terminal", "packer" }, -- Set a darker background on sidebar-like windows
day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style
hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines
dim_inactive = false, -- dims inactive windows
lualine_bold = true, -- When `true`, section headers in the lualine theme will be bold
--- You can override specific color groups to use other groups or a hex color
--- function will be called with a ColorScheme table
on_colors = function(colors)
colors.bg = "#14161b"
end,
--- You can override specific highlights to use other groups or a hex color
--- function will be called with a Highlights and ColorScheme table
on_highlights = function(highlights, colors)
-- Add a subtle border to the telescope picker
highlights.TelescopeBorder = {
fg = colors.border_highlight,
}
-- Make neo-tree background slightly different
highlights.NeoTreeNormal = {
-- bg = colors.bg_dark,
bg = "#181a1f",
}
highlights.NeoTreeNormalNC = {
bg = colors.bg_dark,
}
highlights.SnacksIndent = {
fg = colors.bg_highlight,
}
highlights.SnacksIndentScope = {
fg = colors.fg_gutter,
}
highlights.WinSeparator = {
fg = colors.fg_gutter,
}
end,
})
-- load the colorscheme here
vim.cmd([[colorscheme tokyonight]])
end,
}