Skip to content

Commit 61cd205

Browse files
committed
Respect theme in loading skeletons
1 parent b83ca5e commit 61cd205

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

frontend/src/app/admin/components/AdminUsersManager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default function AdminUsersManager() {
193193
return (
194194
<Card>
195195
<CardContent className="flex items-center justify-center py-8">
196-
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"></div>
196+
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-primary"></div>
197197
</CardContent>
198198
</Card>
199199
);

frontend/src/app/admin/components/BinariesManager.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,13 +364,13 @@ export default function BinariesManager() {
364364
{[...Array(6)].map((_, i) => (
365365
<Card key={i} className="animate-pulse">
366366
<CardHeader>
367-
<div className="h-4 bg-gray-200 rounded w-3/4"></div>
368-
<div className="h-3 bg-gray-200 rounded w-1/2"></div>
367+
<div className="h-4 bg-muted rounded w-3/4"></div>
368+
<div className="h-3 bg-muted rounded w-1/2"></div>
369369
</CardHeader>
370370
<CardContent>
371371
<div className="space-y-2">
372-
<div className="h-3 bg-gray-200 rounded"></div>
373-
<div className="h-3 bg-gray-200 rounded w-2/3"></div>
372+
<div className="h-3 bg-muted rounded"></div>
373+
<div className="h-3 bg-muted rounded w-2/3"></div>
374374
</div>
375375
</CardContent>
376376
</Card>

frontend/src/app/admin/components/EnvironmentsManager.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ export default function EnvironmentsManager() {
276276
{[...Array(6)].map((_, i) => (
277277
<Card key={i} className="animate-pulse">
278278
<CardHeader>
279-
<div className="h-4 bg-gray-200 rounded w-3/4"></div>
280-
<div className="h-3 bg-gray-200 rounded w-1/2"></div>
279+
<div className="h-4 bg-muted rounded w-3/4"></div>
280+
<div className="h-3 bg-muted rounded w-1/2"></div>
281281
</CardHeader>
282282
<CardContent>
283283
<div className="space-y-2">
284-
<div className="h-3 bg-gray-200 rounded"></div>
285-
<div className="h-3 bg-gray-200 rounded w-2/3"></div>
284+
<div className="h-3 bg-muted rounded"></div>
285+
<div className="h-3 bg-muted rounded w-2/3"></div>
286286
</div>
287287
</CardContent>
288288
</Card>

frontend/src/app/admin/components/RunsManager.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ export default function RunsManager() {
318318
{[...Array(5)].map((_, i) => (
319319
<Card key={i} className="animate-pulse">
320320
<CardHeader>
321-
<div className="h-4 bg-gray-200 rounded w-3/4"></div>
322-
<div className="h-3 bg-gray-200 rounded w-1/2"></div>
321+
<div className="h-4 bg-muted rounded w-3/4"></div>
322+
<div className="h-3 bg-muted rounded w-1/2"></div>
323323
</CardHeader>
324324
<CardContent>
325325
<div className="space-y-2">
326-
<div className="h-3 bg-gray-200 rounded"></div>
327-
<div className="h-3 bg-gray-200 rounded w-2/3"></div>
326+
<div className="h-3 bg-muted rounded"></div>
327+
<div className="h-3 bg-muted rounded w-2/3"></div>
328328
</div>
329329
</CardContent>
330330
</Card>

frontend/src/app/admin/components/TokensManager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export default function TokensManager() {
200200
if (loading) {
201201
return (
202202
<div className="flex items-center justify-center py-8">
203-
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"></div>
203+
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-primary"></div>
204204
</div>
205205
);
206206
}

frontend/src/app/admin/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function AdminPage() {
9393
return (
9494
<div className="min-h-screen flex items-center justify-center">
9595
<div className="text-center">
96-
<div className="animate-spin rounded-full h-32 w-32 border-b-2 border-gray-900 mx-auto"></div>
96+
<div className="animate-spin rounded-full h-32 w-32 border-b-2 border-primary mx-auto"></div>
9797
<p className="mt-4">Loading admin panel...</p>
9898
</div>
9999
</div>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy