Fix Bootstrap light/dark theming across all layouts
All checks were successful
linter / quality (pull_request) Successful in 1m52s
security / Dependency Audit (pull_request) Successful in 1m27s
security / Static Analysis (pull_request) Successful in 1m44s
tests / ci (8.4) (pull_request) Successful in 1m40s
tests / ci (8.5) (pull_request) Successful in 1m49s

- Make dark mode toggle reactive using Alpine x-data theme property
- Apply saved theme on page load via data-bs-theme attribute binding
- Remove hardcoded bg-light classes that broke dark mode styling
- Fix duplicate/broken Bootstrap bundle import in app.js
This commit is contained in:
2026-03-06 02:16:45 +00:00
parent 5f0b4218ae
commit 236ba9558c
5 changed files with 17 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ new #[Layout('components.layouts.guest')] class extends Component {
}
?>
<div class="min-vh-100 d-flex align-items-center justify-content-center bg-light">
<div class="min-vh-100 d-flex align-items-center justify-content-center">
<div class="card shadow-sm" style="width: 100%; max-width: 420px;">
<div class="card-body p-4">
<div class="text-center mb-4">