update colorscheme

add transpanrcy
This commit is contained in:
xfy
2025-02-14 09:50:44 +08:00
parent 7757ac076d
commit 143e0a8d87
3 changed files with 51 additions and 34 deletions

View File

@ -3,8 +3,8 @@ vim.api.nvim_set_var("colors_name", "ex-lackluster-hack")
vim.api.nvim_set_hl(0, "@attribute", { fg = 6710886 })
vim.api.nvim_set_hl(0, "@boolean", { fg = 11184810 })
vim.api.nvim_set_hl(0, "@character", { fg = 7372944 })
vim.api.nvim_set_hl(0, "@comment", { fg = 3815994 })
vim.api.nvim_set_hl(0, "@comment.documentation", { fg = 3815994 })
vim.api.nvim_set_hl(0, "@comment", { fg = 3881787 })
vim.api.nvim_set_hl(0, "@comment.documentation", { fg = 3881787 })
vim.api.nvim_set_hl(0, "@comment.error", { fg = 14090240 })
vim.api.nvim_set_hl(0, "@comment.note", { fg = 8026746 })
vim.api.nvim_set_hl(0, "@comment.todo", { fg = 8026746 })
@ -61,12 +61,12 @@ vim.api.nvim_set_hl(0, "Added", { fg = 7903608 })
vim.api.nvim_set_hl(0, "Changed", { fg = 8026746 })
vim.api.nvim_set_hl(0, "Character", { link = "String" })
vim.api.nvim_set_hl(0, "ColorColumn", { bg = 526344 })
vim.api.nvim_set_hl(0, "Comment", { fg = 3815994 })
vim.api.nvim_set_hl(0, "Comment", { fg = 3881787 })
vim.api.nvim_set_hl(0, "Conceal", { fg = 5198424 })
vim.api.nvim_set_hl(0, "Conditional", { link = "Keyword" })
vim.api.nvim_set_hl(0, "Constant", { fg = 11184810 })
vim.api.nvim_set_hl(0, "CurSearch", { bg = 13421772, fg = 0 })
vim.api.nvim_set_hl(0, "Cursor", { bg = 13421772, fg = 1052688 })
vim.api.nvim_set_hl(0, "Cursor", { bg = 13421772 })
vim.api.nvim_set_hl(0, "CursorLine", { bg = 1644825 })
vim.api.nvim_set_hl(0, "CursorLineNr", { fg = 11184810 })
vim.api.nvim_set_hl(0, "Delimiter", { fg = 8026746 })
@ -115,7 +115,7 @@ vim.api.nvim_set_hl(0, "ModeMsg", { fg = 14610157 })
vim.api.nvim_set_hl(0, "MoreMsg", { fg = 14610157 })
vim.api.nvim_set_hl(0, "MsgArea", { fg = 14610157 })
vim.api.nvim_set_hl(0, "NonText", { fg = 5592405 })
vim.api.nvim_set_hl(0, "Normal", { bg = 1052688, fg = 13421772 })
vim.api.nvim_set_hl(0, "Normal", { fg = 13421772 })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = 1710618, fg = 13421772 })
vim.api.nvim_set_hl(0, "Operator", { fg = 8026746 })
vim.api.nvim_set_hl(0, "Pmenu", { bg = 1644825, fg = 8026746 })
@ -128,9 +128,9 @@ vim.api.nvim_set_hl(0, "QuickFixLine", { fg = 7903608 })
vim.api.nvim_set_hl(0, "Removed", { fg = 16755336 })
vim.api.nvim_set_hl(0, "Repeat", { link = "Keyword" })
vim.api.nvim_set_hl(0, "Search", { bg = 7372944, fg = 0 })
vim.api.nvim_set_hl(0, "SignColumn", { bg = 1052688, fg = 4473924 })
vim.api.nvim_set_hl(0, "SignColumn", { fg = 4473924 })
vim.api.nvim_set_hl(0, "Special", { fg = 7372944 })
vim.api.nvim_set_hl(0, "SpecialComment", { fg = 3815994 })
vim.api.nvim_set_hl(0, "SpecialComment", { fg = 3881787 })
vim.api.nvim_set_hl(0, "SpellBad", { cterm = { undercurl = true }, undercurl = true })
vim.api.nvim_set_hl(0, "SpellCap", { link = "SpellBad" })
vim.api.nvim_set_hl(0, "SpellLocal", { link = "SpellBad" })
@ -149,7 +149,7 @@ vim.api.nvim_set_hl(0, "Visual", { bg = 13421772, fg = 0 })
vim.api.nvim_set_hl(0, "WarningMsg", { fg = 16755336 })
vim.api.nvim_set_hl(0, "Whitespace", { fg = 2105376 })
vim.api.nvim_set_hl(0, "WinSeparator", { fg = 4473924 })
vim.api.nvim_set_hl(0, "lCursor", { bg = 13421772, fg = 1052688 })
vim.api.nvim_set_hl(0, "lCursor", { bg = 13421772 })
vim.api.nvim_create_autocmd("CmdlineEnter", {
once = true,
callback = function()

View File

@ -34,5 +34,6 @@ vim.g.neovide_hide_mouse_when_typing = true
vim.g.neovide_refresh_rate = 120
vim.g.neovide_confirm_quit = true
-- vim.g.neovide_input_macos_alt_is_meta = true
vim.g.neovide_scroll_animation_length = 0.1
vim.g.neovide_cursor_animation_length = 0.08
vim.g.neovide_cursor_trail_size = 0

View File

@ -1,3 +1,44 @@
local init_lackluster = function()
require("ex-colors").setup({
-- included_patterns = require("ex-colors.presets").recommended.included_patterns + {
-- "^Cmp%u", -- hrsh7th/nvim-cmp
-- '^GitSigns%u', -- lewis6991/gitsigns.nvim
-- '^RainbowDelimiter%u', -- HiPhish/rainbow-delimiters.nvim
-- },
autocmd_patterns = {
CmdlineEnter = {
["*"] = {
"^debug%u",
"^health%u",
},
},
-- FileType = {
-- ['Telescope*'] = {
-- '^Telescope%u', -- nvim-telescope/telescope.nvim
-- },
-- },
},
})
require("lackluster").setup({
tweak_syntax = {
string = "default",
string_escape = "default",
comment = "#3b3b3b",
builtin = "default", -- builtin modules and functions
type = "default",
keyword = "default",
keyword_return = "default",
keyword_exception = "default",
},
tweak_background = {
normal = "none",
},
})
-- vim.cmd.colorscheme("lackluster")
-- vim.cmd.colorscheme("lackluster-hack")
-- vim.cmd.colorscheme("lackluster-mint")
end
return {
-- {
-- "catppuccin/nvim",
@ -83,31 +124,6 @@ return {
"slugbyte/lackluster.nvim",
lazy = true,
-- priority = 1000,
-- init = function()
-- require("ex-colors").setup({
-- -- included_patterns = require("ex-colors.presets").recommended.included_patterns + {
-- -- "^Cmp%u", -- hrsh7th/nvim-cmp
-- -- '^GitSigns%u', -- lewis6991/gitsigns.nvim
-- -- '^RainbowDelimiter%u', -- HiPhish/rainbow-delimiters.nvim
-- -- },
-- autocmd_patterns = {
-- CmdlineEnter = {
-- ["*"] = {
-- "^debug%u",
-- "^health%u",
-- },
-- },
-- -- FileType = {
-- -- ['Telescope*'] = {
-- -- '^Telescope%u', -- nvim-telescope/telescope.nvim
-- -- },
-- -- },
-- },
-- })
-- -- require("lackluster").setup({})
-- -- vim.cmd.colorscheme("lackluster")
-- -- vim.cmd.colorscheme("ex-lackluster-hack")
-- -- vim.cmd.colorscheme("lackluster-mint")
-- end,
-- init = init_lackluster,
},
}