Restore gruvbox truecolor theme for iTerm2 compatibility

- Restore tmux truecolor gruvbox theme with terminal overrides for iTerm2
- Add gruvbox.setup() with hard contrast for much darker nvim background
- Configure lualine with gruvbox_dark theme to match colorscheme
- Background changed from #282828 to #1d2021 for enhanced contrast

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-26 00:36:08 +02:00
parent 99da37d060
commit 9fcb2b8dce
2 changed files with 6 additions and 3 deletions

View file

@ -31,7 +31,10 @@
-- Leader key
vim.g.mapleader = " "
-- Set gruvbox colorscheme to match lualine theme
-- Configure gruvbox with hard contrast for darker background
require("gruvbox").setup({
contrast = "hard", -- Makes background much darker (#1d2021 instead of #282828)
})
vim.opt.background = "dark"
vim.cmd('colorscheme gruvbox')
@ -52,7 +55,7 @@
auto_install = false,
})
-- Lualine setup
-- Lualine setup with gruvbox theme
require('lualine').setup({
options = {
theme = 'gruvbox_dark',

View file

@ -14,7 +14,7 @@
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
# Gruvbox Dark Theme
# Gruvbox Dark Theme (Truecolor)
# Status bar colors
set -g status-style 'bg=#282828,fg=#ebdbb2'
set -g status-left-style 'bg=#a89984,fg=#282828'