Skip to content

Commit 2fb4661

Browse files
Update update.sh
1 parent 77398b5 commit 2fb4661

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/_components/VersionDisplay.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ function LoadingOverlay({
2323

2424
return (
2525
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm">
26-
<div className="bg-white dark:bg-gray-800 rounded-lg p-8 shadow-2xl border border-gray-200 dark:border-gray-700 max-w-2xl w-full mx-4 max-h-[80vh] flex flex-col">
26+
<div className="bg-card rounded-lg p-8 shadow-2xl border border-border max-w-2xl w-full mx-4 max-h-[80vh] flex flex-col">
2727
<div className="flex flex-col items-center space-y-4">
2828
<div className="relative">
2929
<Loader2 className="h-12 w-12 animate-spin text-primary" />
3030
<div className="absolute inset-0 rounded-full border-2 border-primary/20 animate-pulse"></div>
3131
</div>
3232
<div className="text-center">
33-
<h3 className="text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2">
33+
<h3 className="text-lg font-semibold text-card-foreground mb-2">
3434
{isNetworkError ? 'Server Restarting' : 'Updating Application'}
3535
</h3>
36-
<p className="text-sm text-gray-600 dark:text-gray-400">
36+
<p className="text-sm text-muted-foreground">
3737
{isNetworkError
3838
? 'The server is restarting after the update...'
3939
: 'Please stand by while we update your application...'
4040
}
4141
</p>
42-
<p className="text-xs text-gray-500 dark:text-gray-500 mt-2">
42+
<p className="text-xs text-muted-foreground mt-2">
4343
{isNetworkError
4444
? 'This may take a few moments. The page will reload automatically.'
4545
: 'The server will restart automatically when complete.'
@@ -49,7 +49,7 @@ function LoadingOverlay({
4949

5050
{/* Log output */}
5151
{logs.length > 0 && (
52-
<div className="w-full mt-4 bg-gray-900 dark:bg-gray-950 border border-gray-700 dark:border-gray-600 rounded-lg p-4 font-mono text-xs text-green-400 max-h-60 overflow-y-auto terminal-output">
52+
<div className="w-full mt-4 bg-card border border-border rounded-lg p-4 font-mono text-xs text-chart-2 max-h-60 overflow-y-auto terminal-output">
5353
{logs.map((log, index) => (
5454
<div key={index} className="mb-1 whitespace-pre-wrap break-words">
5555
{log}

src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
/* Semantic color utility classes */
6666
.bg-background { background-color: hsl(var(--background)); }
6767
.text-foreground { color: hsl(var(--foreground)); }
68-
.bg-card { background-color: hsl(var(--card)); }
68+
.bg-card { background-color: hsl(var(--card)) !important; }
6969
.text-card-foreground { color: hsl(var(--card-foreground)); }
7070
.bg-popover { background-color: hsl(var(--popover)); }
7171
.text-popover-foreground { color: hsl(var(--popover-foreground)); }

0 commit comments

Comments
 (0)