From b70ac444c1cd5ab95dc9e9aa2c71c0bdb6c902de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pacana?= Date: Thu, 30 Jul 2026 08:51:07 +0200 Subject: [PATCH] Adapt fzf colors to terminal theme * Use terminal foreground and background colors for fzf's main surfaces so light and dark themes stay readable. * Keep accent colors on the ANSI palette so highlights continue to follow the active terminal theme instead of a fixed dark palette. --- modules/cli.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/cli.nix b/modules/cli.nix index 3ae4044..afd0491 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -22,19 +22,19 @@ programs.fzf = { enable = true; colors = { - bg = "#232136"; - "bg+" = "#2d2a45"; - fg = "#e0def4"; - "fg+" = "#eae8ff"; - gutter = "#232136"; - header = "#817c9c"; - hl = "#ea9a97"; - "hl+" = "#f6c177"; - info = "#9ccfd8"; - marker = "#a3be8c"; - pointer = "#eb6f92"; - prompt = "#c4a7e7"; - spinner = "#f6c177"; + bg = "-1"; + "bg+" = "-1"; + fg = "-1"; + "fg+" = "-1"; + gutter = "-1"; + header = "8"; + hl = "4"; + "hl+" = "12"; + info = "6"; + marker = "2"; + pointer = "5"; + prompt = "4"; + spinner = "6"; }; defaultCommand = "fd --hidden --exclude .git ."; defaultOptions = [ -- 2.51.2