From 80d32cb32a631e495d3a19d714a9acfd5aec9833 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 27 Jun 2025 11:12:06 -0400 Subject: update colorschemes --- modules/terminal/alacritty.nix | 57 +++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 18 deletions(-) (limited to 'modules/terminal/alacritty.nix') diff --git a/modules/terminal/alacritty.nix b/modules/terminal/alacritty.nix index 7dd4456..7addff0 100644 --- a/modules/terminal/alacritty.nix +++ b/modules/terminal/alacritty.nix @@ -48,25 +48,46 @@ in { }; # Colors - colors = - (lib.attrsets.mapAttrs ( - group: colors: - lib.attrsets.mapAttrs (name: color: "#${color}") colors - ) {inherit (config.theme.colors) bright normal;}) - // { - cursor = { - background = "CellForeground"; - text = "CellBackground"; - }; - selection = { - background = "CellForeground"; - text = "CellBackground"; - }; - primary = { - foreground = "#${config.theme.colors.fg}"; - background = "#${config.theme.colors.bg}"; - }; + colors = { + normal = lib.attrsets.mapAttrs (name: color: "${color}") { + inherit (config.theme.colors.normal) + black + red + green + yellow + blue + magenta + cyan + white; }; + + bright = lib.attrsets.mapAttrs (name: color: "${color}") { + inherit (config.theme.colors.bright) + black + red + green + yellow + blue + magenta + cyan + white; + }; + + cursor = { + background = "CellForeground"; + text = "CellBackground"; + }; + + selection = { + background = "CellForeground"; + text = "CellBackground"; + }; + + primary = { + foreground = "#${config.theme.colors.text}"; + background = "#${config.theme.colors.base}"; + }; + }; }; }; }; -- cgit v1.2.3-freya