summaryrefslogtreecommitdiff
path: root/modules/terminal/alacritty.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-27 11:12:06 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-27 11:12:06 -0400
commit80d32cb32a631e495d3a19d714a9acfd5aec9833 (patch)
treeebad46c5cb14559edda63d82702ffbd35e744d6f /modules/terminal/alacritty.nix
parentadd alacritty (diff)
downloaddotfiles-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.nix57
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}";
+ };
+ };
};
};
};