From 7147f0691d78d825c1f66e7a8534400d365b27d0 Mon Sep 17 00:00:00 2001 From: Emre Varci <71128652+wintergew@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:40:00 +0300 Subject: [PATCH 1/2] Change card titles in the settings menu to white to increase accessibility --- front/css/pialert.css | 1 + 1 file changed, 1 insertion(+) diff --git a/front/css/pialert.css b/front/css/pialert.css index d3d0cb47..38abb975 100755 --- a/front/css/pialert.css +++ b/front/css/pialert.css @@ -1036,6 +1036,7 @@ input[readonly] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + color: white; } From 13f5e68eba5e465a4a313195b1c285b0c8fa85da Mon Sep 17 00:00:00 2001 From: Emre Varci <71128652+wintergew@users.noreply.github.com> Date: Sat, 6 Apr 2024 21:03:08 +0300 Subject: [PATCH 2/2] Replace fa-toggle's with solid and regular circles in the settings menu to improve design language --- front/settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/settings.php b/front/settings.php index dc56e6ca..86b466aa 100755 --- a/front/settings.php +++ b/front/settings.php @@ -259,11 +259,11 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) { { let isEnabled = ["once", "schedule", "always_after_scan", "on_new_device", "on_notification", "before_config_save" ].includes(getSetting(group+"_RUN")); - isEnabled ? onOff = 'on' : onOff = 'off'; + isEnabled ? onOff = 'solid' : onOff = 'regular'; enabledHtml = `
- +
` }