update colorscheme

This commit is contained in:
xfy
2025-03-05 15:53:08 +08:00
parent b08cd8657d
commit 4bd3863bd6

View File

@ -52,119 +52,119 @@ local init_lackluster = function()
end end
return { return {
{ -- {
"catppuccin/nvim", -- "catppuccin/nvim",
name = "catppuccin", -- name = "catppuccin",
-- priority = 1000, -- -- priority = 1000,
-- lazy = true, -- -- lazy = true,
config = function() -- config = function()
require("catppuccin").setup({ -- require("catppuccin").setup({
flavour = "macchiato", -- latte, frappe, macchiato, mocha -- flavour = "macchiato", -- latte, frappe, macchiato, mocha
background = { -- :h background -- background = { -- :h background
light = "latte", -- light = "latte",
dark = "mocha", -- dark = "mocha",
}, -- },
transparent_background = true, -- disables setting the background color. -- transparent_background = true, -- disables setting the background color.
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers -- show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) -- term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
dim_inactive = { -- dim_inactive = {
enabled = false, -- dims the background color of inactive window -- enabled = false, -- dims the background color of inactive window
shade = "dark", -- shade = "dark",
percentage = 0.15, -- percentage of the shade to apply to the inactive window -- percentage = 0.15, -- percentage of the shade to apply to the inactive window
}, -- },
no_italic = false, -- Force no italic -- no_italic = false, -- Force no italic
no_bold = false, -- Force no bold -- no_bold = false, -- Force no bold
no_underline = false, -- Force no underline -- no_underline = false, -- Force no underline
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): -- styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
comments = { "italic" }, -- Change the style of comments -- comments = { "italic" }, -- Change the style of comments
conditionals = { "italic" }, -- conditionals = { "italic" },
loops = {}, -- loops = {},
functions = {}, -- functions = {},
keywords = {}, -- keywords = {},
strings = {}, -- strings = {},
variables = {}, -- variables = {},
numbers = {}, -- numbers = {},
booleans = {}, -- booleans = {},
properties = {}, -- properties = {},
types = {}, -- types = {},
operators = {}, -- operators = {},
-- miscs = {}, -- Uncomment to turn off hard-coded styles -- -- miscs = {}, -- Uncomment to turn off hard-coded styles
}, -- },
color_overrides = { -- color_overrides = {
rosewater = "#f4dbd6", -- rosewater = "#f4dbd6",
flamingo = "#f0c6c6", -- flamingo = "#f0c6c6",
pink = "#f5bde6", -- pink = "#f5bde6",
mauve = "#B9AEE6", -- mauve = "#B9AEE6",
red = "#A87692", -- red = "#A87692",
maroon = "#FD9491", -- maroon = "#FD9491",
peach = "#f5a97f", -- peach = "#f5a97f",
yellow = "#FCD0A1", -- yellow = "#FCD0A1",
green = "#809FA1", -- green = "#809FA1",
teal = "#8bd5ca", -- teal = "#8bd5ca",
sky = "#91d7e3", -- sky = "#91d7e3",
sapphire = "#7dc4e4", -- sapphire = "#7dc4e4",
blue = "#91B8E9", -- blue = "#91B8E9",
lavender = "#b7bdf8", -- lavender = "#b7bdf8",
text = "#DAD0E9", -- text = "#DAD0E9",
subtext1 = "#b8c0e0", -- subtext1 = "#b8c0e0",
subtext0 = "#a5adcb", -- subtext0 = "#a5adcb",
overlay2 = "#939ab7", -- overlay2 = "#939ab7",
overlay1 = "#8087a2", -- overlay1 = "#8087a2",
overlay0 = "#6e738d", -- overlay0 = "#6e738d",
surface2 = "#5b6078", -- surface2 = "#5b6078",
surface1 = "#494d64", -- surface1 = "#494d64",
surface0 = "#363a4f", -- surface0 = "#363a4f",
base = "#24273a", -- base = "#24273a",
mantle = "#1e2030", -- mantle = "#1e2030",
crust = "#181926", -- crust = "#181926",
}, -- },
custom_highlights = {}, -- custom_highlights = {},
default_integrations = true, -- default_integrations = true,
integrations = { -- integrations = {
cmp = true, -- cmp = true,
gitsigns = true, -- gitsigns = true,
nvimtree = true, -- nvimtree = true,
treesitter = true, -- treesitter = true,
alpha = true, -- alpha = true,
mini = { -- mini = {
enabled = true, -- enabled = true,
indentscope_color = "", -- indentscope_color = "",
}, -- },
mason = true, -- mason = true,
markdown = true, -- markdown = true,
dap = true, -- dap = true,
dap_ui = true, -- dap_ui = true,
which_key = false, -- which_key = false,
native_lsp = { -- native_lsp = {
enabled = true, -- enabled = true,
virtual_text = { -- virtual_text = {
errors = { "italic" }, -- errors = { "italic" },
hints = { "italic" }, -- hints = { "italic" },
warnings = { "italic" }, -- warnings = { "italic" },
information = { "italic" }, -- information = { "italic" },
ok = { "italic" }, -- ok = { "italic" },
}, -- },
underlines = { -- underlines = {
errors = { "underline" }, -- errors = { "underline" },
hints = { "underline" }, -- hints = { "underline" },
warnings = { "underline" }, -- warnings = { "underline" },
information = { "underline" }, -- information = { "underline" },
ok = { "underline" }, -- ok = { "underline" },
}, -- },
inlay_hints = { -- inlay_hints = {
background = true, -- background = true,
}, -- },
}, -- },
telescope = { -- telescope = {
enabled = true, -- enabled = true,
-- style = "nvchad" -- -- style = "nvchad"
}, -- },
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) -- -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
}, -- },
}) -- })
-- vim.cmd.colorscheme("catppuccin") -- -- vim.cmd.colorscheme("catppuccin")
end, -- end,
}, -- },
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },