Style: Make selection & popups fg darker.

This commit is contained in:
Dmitry Voronin 2024-11-06 04:19:12 +03:00
parent 8ce4cc52f4
commit fa4a5bce58
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 4 additions and 4 deletions

View file

@ -9,14 +9,14 @@ in {
file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" {
globalSection = {
anchor = "top-center";
background-color = "#${color.selection}${alpha}";
background-color = "#${color.hl}${alpha}";
border-color = "#${color.border}${alpha}";
default-timeout = 10000;
font = "${config.module.style.font.serif.name} ${toString config.module.style.font.size.popup}";
height = 120;
icons = 0;
margin = 32;
text-color = "#${config.module.style.color.fg.dark}";
text-color = "#${config.module.style.color.bg.dark}";
width = 480;
};
sections = {

View file

@ -11,7 +11,7 @@
selection = {
bg = "#${color.selection}";
bold = true;
fg = "#${color.fg.dark}";
fg = "#${color.bg.dark}";
};
transparent = {
bg = lib.generators.mkLuaInline "clear";

View file

@ -2,7 +2,7 @@
config,
...
}: let
fg = config.module.style.color.fg.dark;
fg = config.module.style.color.bg.dark;
selection = config.module.style.color.selection;
in {
text = ''