From a1d6afe503fa0ad5ef956a8623e1aad823ede850 Mon Sep 17 00:00:00 2001 From: Wally Hackenslacker Date: Fri, 1 May 2026 15:52:09 -0400 Subject: [PATCH] fix: improve theme consistency and accessibility polish --- views/index.php | 4 ++-- views/login.php | 4 ++-- views/partials/theme.php | 1 + views/setup.php | 8 ++++---- views/vehicle.php | 4 ++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/views/index.php b/views/index.php index decb68e..ba88186 100644 --- a/views/index.php +++ b/views/index.php @@ -23,13 +23,13 @@
-
+
-
+
diff --git a/views/login.php b/views/login.php index aeccc6f..8941c72 100644 --- a/views/login.php +++ b/views/login.php @@ -13,13 +13,13 @@

-
+
-
+
diff --git a/views/partials/theme.php b/views/partials/theme.php index 29fe2ed..3f91e6b 100644 --- a/views/partials/theme.php +++ b/views/partials/theme.php @@ -192,6 +192,7 @@ if ($themeSection === 'body'): toggleButton.setAttribute('aria-label', label); toggleButton.setAttribute('title', label); + toggleButton.setAttribute('aria-pressed', isDark ? 'true' : 'false'); toggleIcon.className = 'bi ' + iconClass; } diff --git a/views/setup.php b/views/setup.php index 6dbc672..8043f86 100644 --- a/views/setup.php +++ b/views/setup.php @@ -13,13 +13,13 @@

Setup

-
+
-
-

System Requirements

+
+

System Requirements

  • @@ -48,7 +48,7 @@ ?> -
    +

    System requirements not met!

    Please ensure PHP 8.0+ and SQLite extension are available.

    diff --git a/views/vehicle.php b/views/vehicle.php index 82422fa..ef42f68 100644 --- a/views/vehicle.php +++ b/views/vehicle.php @@ -28,13 +28,13 @@
    -
    +
    -
    +