coolify/resources/views
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
..
auth Changes auto-committed by Conductor (#6908) 2025-10-16 17:33:42 +02:00
components Improve SSH key filtering and datalist component 2025-10-23 16:18:20 +02:00
emails feat: implement Hetzner deletion failure notification system with email and messaging support 2025-10-10 09:35:58 +02:00
errors fix(errors): update error pages to provide navigation options 2025-08-22 14:00:01 +02:00
layouts fix: eliminate dark mode white screen flicker on page transitions 2025-10-23 20:46:58 +02:00
livewire fix: eliminate dark mode white screen flicker on page transitions 2025-10-23 20:46:58 +02:00
server fix: server validation process 2023-10-09 11:00:18 +02:00
source feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
vendor/mail Update version numbers and fix UI styling 2024-03-25 16:42:41 +01:00