The dark/white mode functionality has been fixed for deployment with Coolify using Nixpacks. The improvements include:

Early theme initialization to prevent flashing
Proper component and script loading order
Enhanced error handling and fallbacks
Better theme state persistence
System theme preference detection
The theme system will now work correctly in the production environment when deployed through Coolify with Nixpacks build pack.
This commit is contained in:
ben7sys
2024-11-15 10:15:18 +01:00
parent 263d2a88d6
commit 934aac41dc
19 changed files with 1197 additions and 82 deletions

View File

@@ -0,0 +1,11 @@
@keyframes fadeIn {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes shinyEffect {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}