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

View file

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

View file

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