diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-27 11:12:06 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-27 11:12:06 -0400 |
commit | 80d32cb32a631e495d3a19d714a9acfd5aec9833 (patch) | |
tree | ebad46c5cb14559edda63d82702ffbd35e744d6f /modules/terminal/alacritty.nix | |
parent | add alacritty (diff) | |
download | dotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.tar.gz dotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.tar.bz2 dotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.zip |
update colorschemes
Diffstat (limited to 'modules/terminal/alacritty.nix')
-rw-r--r-- | modules/terminal/alacritty.nix | 57 |
1 files changed, 39 insertions, 18 deletions
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}"; + }; + }; }; }; }; |