coolify/resources/views/livewire
Andras Bacsai 630fac4318 fix: eliminate dark mode white screen flicker on page transitions
- Add minimal blocking script immediately after <html> tag to apply dark class before any rendering
- Move theme detection from body to run before <head> parsing
- Add color-scheme meta tag for browser-level dark mode support
- Update theme-color meta tag dynamically based on theme
- Improve queryTheme() logic in settings dropdown for consistent behavior
- Remove duplicate theme detection code from body script

This eliminates the white "flashbang" effect that occurs during Livewire page
navigation, especially noticeable for users with high latency connections.

The solution uses an ultra-minimal (~100 bytes) script that runs before <head>
parsing, preventing FOUC while maintaining optimal performance (~0.1ms impact).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 20:46:58 +02:00
..
admin better impersonate 2024-12-16 12:48:09 +01:00
boarding Fix Hetzner server redirect in onboarding flow 2025-10-23 16:17:01 +02:00
destination feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
notifications feat: add UUIDs and URLs to webhook notifications 2025-10-10 18:41:46 +02:00
profile feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
project Fix preview domain generation for services with multiple domains 2025-10-16 13:10:29 +02:00
security Changes auto-committed by Conductor 2025-10-17 23:04:24 +02:00
server Merge pull request #6961 from YaRissi/fix/hetzner-deprecated 2025-10-22 21:42:24 +02:00
settings refactor(ui): replace warning and error divs with callout components for improved consistency and readability 2025-09-25 11:14:56 +02:00
shared-variables feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
source/github Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
storage Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
subscription refactor(ui): replace warning and error divs with callout components for improved consistency and readability 2025-09-25 11:14:56 +02:00
tags fix(tags): update tag display to limit name length and adjust styling 2025-08-19 14:15:19 +02:00
team Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
terminal Changes auto-committed by Conductor 2025-10-20 14:07:45 +02:00
activity-monitor.blade.php refactor(proxy): streamline proxy status handling and improve dashboard availability checks 2025-06-11 12:02:39 +02:00
dashboard.blade.php fix(dashboard): add cursor pointer to modal input buttons for better UX 2025-10-08 09:31:19 +02:00
deployments-indicator.blade.php Merge pull request #6784 from abdia3/fix/deployments-indicator-stacking 2025-10-07 12:51:01 +02:00
force-password-reset.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
global-search.blade.php feat: add onboarding guide link to global search no results state 2025-10-23 16:17:58 +02:00
help.blade.php fix: remove livewire legacy from help view 2024-11-03 21:27:26 +01:00
layout-popups.blade.php fix(ui): update wording in sponsorship prompt for clarity and engagement 2025-06-26 12:14:21 +02:00
navbar-delete-team.blade.php refactor(ui): remove unnecessary step3ButtonText attributes from modal confirmation components for cleaner code 2025-06-30 09:15:23 +02:00
settings-backup.blade.php fix(ui): add padding to section headers in settings views for improved spacing 2025-06-25 12:29:59 +02:00
settings-dropdown.blade.php fix: eliminate dark mode white screen flicker on page transitions 2025-10-23 20:46:58 +02:00
settings-email.blade.php fix(ui): reduce gap between input fields in email settings for better alignment 2025-06-25 12:37:13 +02:00
settings-oauth.blade.php fix(socialite): add custom base URL support for GitLab provider in OAuth settings 2025-09-09 21:47:02 +08:00
switch-team.blade.php refactor(switch-team): remove label from team selection component for cleaner UI 2025-10-08 19:50:19 +02:00
upgrade.blade.php refactor(upgrade): replace warning div with a callout component for better UI consistency 2025-09-25 10:38:01 +02:00
verify-email.blade.php feat: add email verification for cloud 2023-10-09 14:20:55 +02:00