From a1279896f7c01748e11f5e987cfbf6a8dc762649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Wed, 27 Nov 2024 10:59:58 +0100 Subject: [PATCH] improve text visibility on low battery colors --- modules/home/sway/waybar.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/home/sway/waybar.css b/modules/home/sway/waybar.css index 3f83ffd..2693d7e 100644 --- a/modules/home/sway/waybar.css +++ b/modules/home/sway/waybar.css @@ -18,7 +18,8 @@ window#waybar { padding-right: 2px; color: #ffffff; } -#workspaces button:hover, #workspaces button:active { +#workspaces button:hover, +#workspaces button:active { background-color: #292828; color: #ffffff; } @@ -84,9 +85,11 @@ window#waybar { } #battery.warning { - background-color: #ffd760 + background-color: #ffd760; + color: #111111; } #battery.critical { - background-color: #ff4040 + background-color: #ff4040; + color: #111111; }