alacritty: move to new theme module

This commit is contained in:
Aly Raffauf 2024-05-04 20:51:15 -04:00
parent 7d12d5d180
commit c7b9a639e4
2 changed files with 9 additions and 4 deletions

View file

@ -14,18 +14,18 @@
settings = { settings = {
colors = { colors = {
primary = { primary = {
foreground = "#fafafa"; foreground = "${config.alyraffauf.desktop.theme.colors.text}";
background = "#232634"; background = "${config.alyraffauf.desktop.theme.colors.background}";
}; };
transparent_background_colors = true; transparent_background_colors = true;
draw_bold_text_with_bright_colors = true; draw_bold_text_with_bright_colors = true;
}; };
font = { font = {
normal = { normal = {
family = "NotoSansMNerdFont"; family = "${config.alyraffauf.desktop.theme.terminalFont.name}";
style = "Regular"; style = "Regular";
}; };
size = 11; size = config.alyraffauf.desktop.theme.terminalFont.size;
}; };
selection.save_to_clipboard = true; selection.save_to_clipboard = true;
window = { window = {

View file

@ -96,6 +96,11 @@
default = "#FAFAFA"; default = "#FAFAFA";
type = lib.types.str; type = lib.types.str;
}; };
background = lib.mkOption {
description = "Background color.";
default = "#232634";
type = lib.types.str;
};
primary = lib.mkOption { primary = lib.mkOption {
description = "Primary color."; description = "Primary color.";
default = "#CA9EE6"; default = "#CA9EE6";