From 81a41c2dee161067f780ec2a0228208bad7503e8 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 20 Oct 2025 15:15:52 +0200 Subject: [PATCH] update terminal color themes --- modules/ghostty.nix | 24 +++++++++++++++++++++++- modules/gnome.nix | 4 ++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/modules/ghostty.nix b/modules/ghostty.nix index cc9cf24..97a9a56 100644 --- a/modules/ghostty.nix +++ b/modules/ghostty.nix @@ -64,8 +64,30 @@ in ]; font-size = cfg.fontSize; - # Gruvbox Dark Theme (matching tmux theme) + # Gruvbox Dark Theme background = "#14191f"; + foreground = "#ebdbb2"; + + # Gruvbox Dark palette (16 colors) + palette = [ + "0=#282828" # black + "1=#cc241d" # red + "2=#98971a" # green + "3=#d79921" # yellow + "4=#458588" # blue + "5=#b16286" # magenta + "6=#689d6a" # cyan + "7=#a89984" # white + "8=#928374" # bright black + "9=#fb4934" # bright red + "10=#b8bb26" # bright green + "11=#fabd2f" # bright yellow + "12=#83a598" # bright blue + "13=#d3869b" # bright magenta + "14=#8ec07c" # bright cyan + "15=#ebdbb2" # bright white + ]; + cursor-style-blink = false; # Window config diff --git a/modules/gnome.nix b/modules/gnome.nix index b821f1e..4a92039 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -63,9 +63,9 @@ in use-system-font = false; font = "JetBrainsMono Nerd Font Mono 14"; - # Colors - Gruvbox Dark theme matching ghostty + # Colors - Gruvbox Dark theme use-theme-colors = false; - background-color = "rgb(20,25,31)"; # #14191f from ghostty + background-color = "rgb(20,25,31)"; # #14191f foreground-color = "rgb(235,219,178)"; # Gruvbox fg # Palette colors (Gruvbox Dark)