fix(theme): catppuccin theme for neovim and tmux

This commit is contained in:
2026-03-19 08:36:54 -04:00
parent c965317896
commit f935ee0a9c
4 changed files with 118 additions and 29 deletions
+9 -17
View File
@@ -1,19 +1,11 @@
return { return {
{ {
"catppuccin/nvim", "catppuccin/nvim",
name = "catppuccin", name = "catppuccin",
priority = 1000, lazy = false,
config = function() priority = 1000,
require("catppuccin").setup({ config = function()
flavour = "latte", -- other options: "mocha", "frappe", "macchiato" vim.cmd("colorscheme catppuccin-latte")
}) end,
vim.cmd.colorscheme("catppuccin-latte") },
end,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin-latte",
},
},
} }
+50 -3
View File
@@ -1,3 +1,50 @@
set -g @plugin 'catppuccin/tmux#v2.1.3' theme_bg0="#eff1f5"
set -g @catppuccin_flavor 'latte' theme_bg0_soft="#e6e9ef"
set -g @catppuccin_window_status_style 'rounded' theme_bg3="#ccd0da"
theme_fg0="#4c4f69"
theme_fg1="#5c5f77"
theme_red_dark="#d20f39"
theme_red_light="#8839ef"
theme_yellow_dark="#df8e1d"
theme_yellow_light="#df8e1d"
theme_gray="#9ca0b0"
set -g @prefix_highlight_fg "${theme_bg0}"
set -g @prefix_highlight_bg "${theme_yellow_light}"
# Status bar settings
set -g status-style "bg=${theme_bg0},fg=${theme_fg0}"
set -g status "on"
set -g status-bg "${theme_bg0}"
set -g status-justify "left"
set -g status-left-length "100"
set -g status-right-length "100"
# Messages
set -g message-style "fg=${theme_yellow_light},bg=${theme_bg3},align=centre"
set -g message-command-style "fg=${theme_yellow_light},bg=${theme_bg3},align=centre"
# Panes
set -g pane-border-style "fg=${theme_gray},bg=${theme_bg0}"
set -g pane-active-border-style "fg=${theme_fg1},bg=${theme_bg0}"
# Windows
set -g window-status-activity-style "fg=${theme_fg0},bg=${theme_bg0},none"
set -g window-status-separator ""
set -g window-status-style "fg=${theme_fg0},bg=${theme_bg0},none"
# Statusline - current window
set -g window-status-current-format "#[fg=${theme_red_light},bg=${theme_bg0}] #I: #[fg=${theme_fg1},bg=${theme_bg0}](✓) #[fg=${theme_yellow_dark},bg=${theme_bg0}]#(echo '#{pane_current_path}' | rev | cut -d'/' -f-2 | rev) #[fg=${theme_fg1},bg=${theme_bg0}]"
# Statusline - other windows
set -g window-status-format "#[fg=${theme_red_dark},bg=${theme_bg0}] #I: #[fg=${theme_fg0},bg=${theme_bg0}]#W"
# Statusline - right side
set -g status-right "#[fg=${theme_fg1},bg=${theme_bg0},nobold,nounderscore,noitalics]%Y-%m-%d %H:%M #[fg=${theme_red_dark},bg=${theme_bg0},nobold,nounderscore,noitalics]#[fg=${theme_bg0},bg=${theme_red_dark},nobold,nounderscore,noitalics] #[fg=${theme_fg0},bg=${theme_bg0_soft}] #W #{?client_prefix,#[fg=${theme_red_dark}],#[fg=${theme_yellow_dark}]}#[bg=${theme_bg0_soft}]#{?client_prefix,#[bg=${theme_red_dark}],#[bg=${theme_yellow_dark}]}#[fg=${theme_bg0}] #[fg=${theme_fg0},bg=${theme_bg0_soft}] #S "
# Statusline - left side (empty)
set -g status-left ""
# Modes
set -g clock-mode-colour "${theme_yellow_light}"
set -g mode-style "fg=${theme_red_light} bg=${theme_bg3} bold"
+9 -6
View File
@@ -1,8 +1,11 @@
return { return {
{ {
"LazyVim/LazyVim", "catppuccin/nvim",
opts = { name = "catppuccin",
colorscheme = "catppuccin", lazy = false,
}, priority = 1000,
}, config = function()
vim.cmd("colorscheme catppuccin")
end,
},
} }
+50 -3
View File
@@ -1,3 +1,50 @@
set -g @plugin 'catppuccin/tmux#v2.1.3' theme_bg0="#1e1e2e"
set -g @catppuccin_flavor 'mocha' theme_bg0_soft="#313244"
set -g @catppuccin_window_status_style 'rounded' theme_bg3="#45475a"
theme_fg0="#cdd6f4"
theme_fg1="#bac2de"
theme_red_dark="#f38ba8"
theme_red_light="#cba6f7"
theme_yellow_dark="#f9e2af"
theme_yellow_light="#f9e2af"
theme_gray="#585b70"
set -g @prefix_highlight_fg "${theme_bg0}"
set -g @prefix_highlight_bg "${theme_yellow_light}"
# Status bar settings
set -g status-style "bg=${theme_bg0},fg=${theme_fg0}"
set -g status "on"
set -g status-bg "${theme_bg0}"
set -g status-justify "left"
set -g status-left-length "100"
set -g status-right-length "100"
# Messages
set -g message-style "fg=${theme_yellow_light},bg=${theme_bg3},align=centre"
set -g message-command-style "fg=${theme_yellow_light},bg=${theme_bg3},align=centre"
# Panes
set -g pane-border-style "fg=${theme_gray},bg=${theme_bg0}"
set -g pane-active-border-style "fg=${theme_fg1},bg=${theme_bg0}"
# Windows
set -g window-status-activity-style "fg=${theme_fg0},bg=${theme_bg0},none"
set -g window-status-separator ""
set -g window-status-style "fg=${theme_fg0},bg=${theme_bg0},none"
# Statusline - current window
set -g window-status-current-format "#[fg=${theme_red_light},bg=${theme_bg0}] #I: #[fg=${theme_fg1},bg=${theme_bg0}](✓) #[fg=${theme_yellow_dark},bg=${theme_bg0}]#(echo '#{pane_current_path}' | rev | cut -d'/' -f-2 | rev) #[fg=${theme_fg1},bg=${theme_bg0}]"
# Statusline - other windows
set -g window-status-format "#[fg=${theme_red_dark},bg=${theme_bg0}] #I: #[fg=${theme_fg0},bg=${theme_bg0}]#W"
# Statusline - right side
set -g status-right "#[fg=${theme_fg1},bg=${theme_bg0},nobold,nounderscore,noitalics]%Y-%m-%d %H:%M #[fg=${theme_red_dark},bg=${theme_bg0},nobold,nounderscore,noitalics]#[fg=${theme_bg0},bg=${theme_red_dark},nobold,nounderscore,noitalics] #[fg=${theme_fg0},bg=${theme_bg0_soft}] #W #{?client_prefix,#[fg=${theme_red_dark}],#[fg=${theme_yellow_dark}]}#[bg=${theme_bg0_soft}]#{?client_prefix,#[bg=${theme_red_dark}],#[bg=${theme_yellow_dark}]}#[fg=${theme_bg0}] #[fg=${theme_fg0},bg=${theme_bg0_soft}] #S "
# Statusline - left side (empty)
set -g status-left ""
# Modes
set -g clock-mode-colour "${theme_yellow_light}"
set -g mode-style "fg=${theme_red_light} bg=${theme_bg3} bold"