colors in alacritty follow theme option
This commit is contained in:
parent
651487d9d2
commit
b4708e41c0
2 changed files with 48 additions and 180 deletions
|
@ -1,38 +1,40 @@
|
||||||
{
|
{ config, ... }: let
|
||||||
|
inherit (config) theme;
|
||||||
|
in {
|
||||||
# Rose Pine
|
# Rose Pine
|
||||||
colors = {
|
colors = {
|
||||||
primary = {
|
primary = {
|
||||||
foreground = "#e0def4";
|
foreground = theme.text;
|
||||||
background = "#191724";
|
background = theme.base;
|
||||||
dim_foreground = "#908caa";
|
dim_foreground = theme.subtle;
|
||||||
bright_foreground = "#e0def4";
|
bright_foreground = theme.text;
|
||||||
};
|
};
|
||||||
cursor = {
|
cursor = {
|
||||||
text = "#e0def4";
|
text = theme.text;
|
||||||
cursor = "#524f67";
|
cursor = theme.highlight-high;
|
||||||
};
|
};
|
||||||
vi_mode_cursor = {
|
vi_mode_cursor = {
|
||||||
text = "#e0def4";
|
text = theme.text;
|
||||||
cursor = "#524f67";
|
cursor = theme.highlight-high;
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
matches = {
|
matches = {
|
||||||
foreground = "#908caa";
|
foreground = theme.subtle;
|
||||||
background = "#26233a";
|
background = theme.overlay;
|
||||||
};
|
};
|
||||||
focused_match = {
|
focused_match = {
|
||||||
foreground = "#191724";
|
foreground = theme.base;
|
||||||
background = "#ebbcba";
|
background = theme.rose;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hints = {
|
hints = {
|
||||||
start = {
|
start = {
|
||||||
foreground = "#908caa";
|
foreground = theme.subtle;
|
||||||
background = "#1f1d2e";
|
background = theme.surface;
|
||||||
};
|
};
|
||||||
end = {
|
end = {
|
||||||
foreground = "#6e6a86";
|
foreground = theme.muted;
|
||||||
background = "#1f1d2e";
|
background = theme.surface;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
line_indicator = {
|
line_indicator = {
|
||||||
|
@ -40,178 +42,44 @@
|
||||||
background = "None";
|
background = "None";
|
||||||
};
|
};
|
||||||
footer_bar = {
|
footer_bar = {
|
||||||
foreground = "#e0def4";
|
foreground = theme.text;
|
||||||
background = "#1f1d2e";
|
background = theme.surface;
|
||||||
};
|
};
|
||||||
selection = {
|
selection = {
|
||||||
text = "#e0def4";
|
text = theme.text;
|
||||||
background = "#1f1d2e";
|
background = theme.surface;
|
||||||
};
|
};
|
||||||
normal = {
|
normal = {
|
||||||
black = "#26233a";
|
black = theme.overlay;
|
||||||
red = "#eb6f92";
|
red = theme.love;
|
||||||
green = "#31748f";
|
green = theme.pine;
|
||||||
yellow = "#f6c177";
|
yellow = theme.gold;
|
||||||
blue = "#9ccfd8";
|
blue = theme.foam;
|
||||||
magenta = "#c4a7e7";
|
magenta = theme.iris;
|
||||||
cyan = "#ebbcba";
|
cyan = theme.rose;
|
||||||
white = "#e0def4";
|
white = theme.text;
|
||||||
};
|
};
|
||||||
bright = {
|
bright = {
|
||||||
black = "#6e6a86";
|
black = theme.muted;
|
||||||
red = "#eb6f92";
|
red = theme.love;
|
||||||
green = "#31748f";
|
green = theme.pine;
|
||||||
yellow = "#f6c177";
|
yellow = theme.gold;
|
||||||
blue = "#9ccfd8";
|
blue = theme.foam;
|
||||||
magenta = "#c4a7e7";
|
magenta = theme.iris;
|
||||||
cyan = "#ebbcba";
|
cyan = theme.rose;
|
||||||
white = "#e0def4";
|
white = theme.text;
|
||||||
};
|
};
|
||||||
dim = {
|
dim = {
|
||||||
black = "#6e6a86";
|
black = theme.muted;
|
||||||
red = "#eb6f92";
|
red = theme.love;
|
||||||
green = "#31748f";
|
green = theme.pine;
|
||||||
yellow = "#f6c177";
|
yellow = theme.gold;
|
||||||
blue = "#9ccfd8";
|
blue = theme.foam;
|
||||||
magenta = "#c4a7e7";
|
magenta = theme.iris;
|
||||||
cyan = "#ebbcba";
|
cyan = theme.rose;
|
||||||
white = "#e0def4";
|
white = theme.text;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Rose Pine (old)
|
|
||||||
# colors = {
|
|
||||||
# primary = {
|
|
||||||
# background = "0x191724";
|
|
||||||
# foreground = "0xe0def4";
|
|
||||||
# };
|
|
||||||
# cursor = {
|
|
||||||
# text = "0xe0def4";
|
|
||||||
# cursor = "0x524f67";
|
|
||||||
# };
|
|
||||||
# vi_mode_cursor = {
|
|
||||||
# text = "0xe0def4";
|
|
||||||
# cursor = "0x524f67";
|
|
||||||
# };
|
|
||||||
# line_indicator = {
|
|
||||||
# foreground = "None";
|
|
||||||
# background = "None";
|
|
||||||
# };
|
|
||||||
# selection = {
|
|
||||||
# text = "0xe0def4";
|
|
||||||
# background = "0x403d52";
|
|
||||||
# };
|
|
||||||
# normal = {
|
|
||||||
# black = "0x26233a";
|
|
||||||
# red = "0xeb6f92";
|
|
||||||
# green = "0x31748f";
|
|
||||||
# yellow = "0xf6c177";
|
|
||||||
# blue = "0x9ccfd8";
|
|
||||||
# magenta = "0xc4a7e7";
|
|
||||||
# cyan = "0xebbcba";
|
|
||||||
# white = "0xe0def4";
|
|
||||||
# };
|
|
||||||
# bright = {
|
|
||||||
# black = "0x6e6a86";
|
|
||||||
# red = "0xeb6f92";
|
|
||||||
# green = "0x31748f";
|
|
||||||
# yellow = "0xf6c177";
|
|
||||||
# blue = "0x9ccfd8";
|
|
||||||
# magenta = "0xc4a7e7";
|
|
||||||
# cyan = "0xebbcba";
|
|
||||||
# white = "0xe0def4";
|
|
||||||
# };
|
|
||||||
# hints = {
|
|
||||||
# start = {
|
|
||||||
# foreground = "#908caa";
|
|
||||||
# background = "#1f1d2e";
|
|
||||||
# };
|
|
||||||
# end = {
|
|
||||||
# foreground = "#6e6a86";
|
|
||||||
# background = "#1f1d2e";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
# # Rose Pine Dawn
|
|
||||||
# colors = {
|
|
||||||
# primary = {
|
|
||||||
# foreground = "#575279";
|
|
||||||
# background = "#faf4ed";
|
|
||||||
# dim_foreground = "#797593";
|
|
||||||
# bright_foreground = "#575279";
|
|
||||||
# };
|
|
||||||
# cursor = {
|
|
||||||
# text = "#575279";
|
|
||||||
# cursor = "#cecacd";
|
|
||||||
# };
|
|
||||||
# vi_mode_cursor = {
|
|
||||||
# text = "#575279";
|
|
||||||
# cursor = "#cecacd";
|
|
||||||
# };
|
|
||||||
# search = {
|
|
||||||
# matches = {
|
|
||||||
# foreground = "#797593";
|
|
||||||
# background = "#f2e9e1";
|
|
||||||
# };
|
|
||||||
# focused_match = {
|
|
||||||
# foreground = "#faf4ed";
|
|
||||||
# background = "#d7827e";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# hints = {
|
|
||||||
# start = {
|
|
||||||
# foreground = "#797593";
|
|
||||||
# background = "#fffaf3";
|
|
||||||
# };
|
|
||||||
# end = {
|
|
||||||
# foreground = "#9893a5";
|
|
||||||
# background = "#fffaf3";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# line_indicator = {
|
|
||||||
# foreground = "None";
|
|
||||||
# background = "None";
|
|
||||||
# };
|
|
||||||
# footer_bar = {
|
|
||||||
# foreground = "#575279";
|
|
||||||
# background = "#fffaf3";
|
|
||||||
# };
|
|
||||||
# selection = {
|
|
||||||
# text = "#575279";
|
|
||||||
# background = "#dfdad9";
|
|
||||||
# };
|
|
||||||
# normal = {
|
|
||||||
# black = "#f2e9e1";
|
|
||||||
# red = "#b4637a";
|
|
||||||
# green = "#286983";
|
|
||||||
# yellow = "#ea9d34";
|
|
||||||
# blue = "#56949f";
|
|
||||||
# magenta = "#907aa9";
|
|
||||||
# cyan = "#d7827e";
|
|
||||||
# white = "#575279";
|
|
||||||
# };
|
|
||||||
# bright = {
|
|
||||||
# black = "#9893a5";
|
|
||||||
# red = "#b4637a";
|
|
||||||
# green = "#286983";
|
|
||||||
# yellow = "#ea9d34";
|
|
||||||
# blue = "#56949f";
|
|
||||||
# magenta = "#907aa9";
|
|
||||||
# cyan = "#d7827e";
|
|
||||||
# white = "#575279";
|
|
||||||
# };
|
|
||||||
# dim = {
|
|
||||||
# black = "#9893a5";
|
|
||||||
# red = "#b4637a";
|
|
||||||
# green = "#286983";
|
|
||||||
# yellow = "#ea9d34";
|
|
||||||
# blue = "#56949f";
|
|
||||||
# magenta = "#907aa9";
|
|
||||||
# cyan = "#d7827e";
|
|
||||||
# white = "#575279";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
window.decorations = "None";
|
window.decorations = "None";
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ in {
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = import ./alacritty.conf.nix;
|
settings = import ./alacritty.conf.nix { config = config; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue