From fa4a5bce5884daf754f1efd275e9e9c56c9b79f2 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 6 Nov 2024 04:19:12 +0300 Subject: [PATCH] Style: Make selection & popups fg darker. --- home/config/mako/default.nix | 4 ++-- home/config/nvim/module/config/Highlight.nix | 2 +- home/config/tmux/module/Copy.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/config/mako/default.nix b/home/config/mako/default.nix index 15c5b335..7ce97702 100644 --- a/home/config/mako/default.nix +++ b/home/config/mako/default.nix @@ -9,14 +9,14 @@ in { file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" { globalSection = { anchor = "top-center"; - background-color = "#${color.selection}${alpha}"; + background-color = "#${color.hl}${alpha}"; border-color = "#${color.border}${alpha}"; default-timeout = 10000; font = "${config.module.style.font.serif.name} ${toString config.module.style.font.size.popup}"; height = 120; icons = 0; margin = 32; - text-color = "#${config.module.style.color.fg.dark}"; + text-color = "#${config.module.style.color.bg.dark}"; width = 480; }; sections = { diff --git a/home/config/nvim/module/config/Highlight.nix b/home/config/nvim/module/config/Highlight.nix index c419c2e6..7eb3c81b 100644 --- a/home/config/nvim/module/config/Highlight.nix +++ b/home/config/nvim/module/config/Highlight.nix @@ -11,7 +11,7 @@ selection = { bg = "#${color.selection}"; bold = true; - fg = "#${color.fg.dark}"; + fg = "#${color.bg.dark}"; }; transparent = { bg = lib.generators.mkLuaInline "clear"; diff --git a/home/config/tmux/module/Copy.nix b/home/config/tmux/module/Copy.nix index 4ff69c70..3e56acf3 100644 --- a/home/config/tmux/module/Copy.nix +++ b/home/config/tmux/module/Copy.nix @@ -2,7 +2,7 @@ config, ... }: let - fg = config.module.style.color.fg.dark; + fg = config.module.style.color.bg.dark; selection = config.module.style.color.selection; in { text = ''