swayosd: use stylix colors
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-15 01:15:00 -04:00
parent 8cc4691392
commit cfc836943b

View file

@ -27,8 +27,8 @@ in {
window#osd { window#osd {
padding: 12px 20px; padding: 12px 20px;
border-radius: ${toString cfg.theme.borderRadius}px; border-radius: ${toString cfg.theme.borderRadius}px;
border: 4px solid alpha(${cfg.theme.colors.primary}, 0.8); border: 4px solid alpha(${config.lib.stylix.colors.withHashtag."base07"}, ${toString config.stylix.opacity.popups});
background: alpha(${cfg.theme.colors.background}, 0.8); background: alpha(${config.lib.stylix.colors.withHashtag."base01"}, ${toString config.stylix.opacity.popups});
} }
window#osd #container { window#osd #container {
@ -37,7 +37,7 @@ in {
window#osd image, window#osd image,
window#osd label { window#osd label {
color: ${cfg.theme.colors.secondary}; color: ${config.lib.stylix.colors.withHashtag."base06"};
} }
window#osd progressbar:disabled, window#osd progressbar:disabled,
@ -56,14 +56,14 @@ in {
min-height: inherit; min-height: inherit;
border-radius: inherit; border-radius: inherit;
border: none; border: none;
background: alpha(${cfg.theme.colors.secondary}, 0.5); background: alpha(${config.lib.stylix.colors.withHashtag."base06"}, 0.5);
} }
window#osd progress { window#osd progress {
min-height: inherit; min-height: inherit;
border-radius: inherit; border-radius: inherit;
border: none; border: none;
background: ${cfg.theme.colors.secondary}; background: ${config.lib.stylix.colors.withHashtag."base06"};
} }
''; '';