This commit is contained in:
Hadi
2024-10-07 12:02:26 +02:00
parent 75f2c2c7c6
commit 3aa0fb8a22
59 changed files with 109 additions and 249 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }: {
home.packages = with pkgs; [ wofi-emoji ];
@@ -33,66 +33,66 @@
key_exit = "Escape";
};
# style = ''
# /** ********** Fonts ********** **/
#
# * {
# font-family: "${config.var.theme.font}";
# font-weight: 500;
# font-size: ${toString config.var.theme.font-size}px;
# }
#
# #window {
# background-color: #${config.var.theme.colors.bgalt};
# color: #${config.var.theme.colors.fgalt};
# border-radius: ${toString config.var.theme.rounding}px;
# }
#
# #outer-box {
# padding: 20px;
# }
#
# #input {
# background-color: #${config.var.theme.colors.bg};
# border: 0px solid #${config.var.theme.colors.accent};
# padding: 8px 12px;
# }
#
# #scroll {
# margin-top: 20px;
# }
#
# #inner-box {}
#
# #img {
# padding-right: 8px;
# }
#
# #text {
# color: #${config.var.theme.colors.c7};
# }
#
# #text:selected {
# color: #${config.var.theme.colors.fg};
# }
#
# #entry {
# padding: 6px;
# }
#
# #entry:selected {
# background-color: #${config.var.theme.colors.accent};
# color: #${config.var.theme.colors.accentFg};
# }
#
# #unselected {}
#
# #selected {}
#
# #input,
# #entry:selected {
# border-radius: ${toString config.var.theme.rounding}px;
# }
# '';
style = lib.mkForce
# css
''
* {
font-family: "${config.stylix.fonts.serif.name}";
font-weight: 500;
font-size: 13px;
}
#window {
background-color: #${config.lib.stylix.colors.base01};
color: #${config.lib.stylix.colors.base06};
border-radius: ${toString config.var.theme.rounding}px;
}
#outer-box {
padding: 20px;
}
#input {
background-color: #${config.lib.stylix.colors.base00};
border: 0px solid #${config.lib.stylix.colors.base0D};
padding: 8px 12px;
}
#scroll {
margin-top: 20px;
}
#inner-box {}
#img {
padding-right: 8px;
}
#text {
color: #${config.lib.stylix.colors.base05};
}
#text:selected {
color: #${config.lib.stylix.colors.base05};
}
#entry {
padding: 6px;
}
#entry:selected {
background-color: #${config.lib.stylix.colors.base0D};
color: #${config.lib.stylix.colors.base05};
}
#unselected {}
#selected {}
#input,
#entry:selected {
border-radius: ${toString config.var.theme.rounding}px;
}
'';
};
}