update colors

This commit is contained in:
xfy
2025-02-27 09:10:24 +08:00
parent 28ead0915e
commit 17c91a759b
3 changed files with 49 additions and 48 deletions

View File

@ -42,7 +42,7 @@ return {
local dashboard = require("alpha.themes.dashboard")
local logo = require("rua.config.logos")
dashboard.section.header.val = logo.f
dashboard.section.header.val = logo.c
dashboard.section.buttons.val = {
button("SPC l", "💤 > Lazy", "<cmd>Lazy<CR>"),
button("SPC e", " > Nvim Tree", "<cmd>NvimTreeToggle<CR>"),

View File

@ -1,3 +1,15 @@
local init_lackluster_icons = function()
local lackluster = require("lackluster")
require("nvim-web-devicons").setup({
color_icons = false,
override = {
["default_icon"] = {
color = lackluster.color.gray4,
name = "Default",
},
},
})
end
local init_lackluster = function()
require("ex-colors").setup({
-- included_patterns = require("ex-colors.presets").recommended.included_patterns + {
@ -97,6 +109,39 @@ return {
-- -- vim.cmd.colorscheme("catppuccin")
-- end,
-- },
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", "wheat-thin-wiens/rei.nvim" },
event = "VimEnter",
config = function()
local lualine = require("lualine")
-- configure lualine with modified theme
lualine.setup({
options = {
-- theme = "catppuccin",
-- theme = "lackluster",
theme = "rei",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
},
extensions = { "quickfix", "trouble", "mason", "lazy", "nvim-tree" },
sections = {
lualine_x = {
{ "encoding" },
{ "fileformat" },
{ "filetype" },
},
-- lualine_y = {
-- { "progress", color = { bg = "#de9aa3", fg = "#000000" } },
-- },
-- lualine_z = {
-- { "location", color = { bg = "#eac8c7" } },
-- },
},
})
end,
},
{
"aileot/ex-colors.nvim",
lazy = true,
@ -107,18 +152,7 @@ return {
{
"nvim-tree/nvim-web-devicons",
lazy = true,
init = function()
-- local lackluster = require("lackluster")
-- require("nvim-web-devicons").setup({
-- color_icons = false,
-- override = {
-- ["default_icon"] = {
-- color = lackluster.color.gray4,
-- name = "Default",
-- },
-- },
-- })
end,
-- init = init_lackluster_icons,
},
{
"slugbyte/lackluster.nvim",
@ -128,8 +162,8 @@ return {
},
{
"wheat-thin-wiens/rei.nvim",
priority = 1000,
lazy = false,
-- priority = 1000,
lazy = true,
config = function()
require("rei").setup({
styles = {

View File

@ -1,33 +0,0 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
event = "VimEnter",
config = function()
local lualine = require("lualine")
-- configure lualine with modified theme
lualine.setup({
options = {
-- theme = "catppuccin",
-- theme = "lackluster",
theme = "rei",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
},
extensions = { "quickfix", "trouble", "mason", "lazy", "nvim-tree" },
sections = {
lualine_x = {
{ "encoding" },
{ "fileformat" },
{ "filetype" },
},
-- lualine_y = {
-- { "progress", color = { bg = "#de9aa3", fg = "#000000" } },
-- },
-- lualine_z = {
-- { "location", color = { bg = "#eac8c7" } },
-- },
},
})
end,
}