Fix the loading spinner looking static (not spinning) in dark mode
dark:border-neutral-800 set all four border sides in dark mode, which also silently overwrote the top edge's border-t-brand-500 color that creates the spin illusion - with all four sides the same color, the ring still rotated but had nothing visible to show for it. Added an explicit dark:border-t-brand-500 so the top edge keeps its accent color in both themes; verified in the built CSS that its rule now comes after (and so wins over) the general dark:border-neutral-800 one. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
1eac81f566
commit
2a8de48568
4 changed files with 5 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ function Spinner() {
|
||||||
// hinscrollen muesste.
|
// hinscrollen muesste.
|
||||||
return (
|
return (
|
||||||
<div className="fixed inset-0 z-[200] flex items-center justify-center bg-white dark:bg-neutral-950">
|
<div className="fixed inset-0 z-[200] flex items-center justify-center bg-white dark:bg-neutral-950">
|
||||||
<div className="h-10 w-10 animate-spin rounded-full border-4 border-neutral-200 border-t-brand-500 dark:border-neutral-800" />
|
<div className="h-10 w-10 animate-spin rounded-full border-4 border-neutral-200 border-t-brand-500 dark:border-neutral-800 dark:border-t-brand-500" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -43,9 +43,9 @@
|
||||||
"sameAs": ["https://www.youtube.com/@hifiplanet2812"]
|
"sameAs": ["https://www.youtube.com/@hifiplanet2812"]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="module" crossorigin src="/assets/index-B9LFwkI5.js"></script>
|
<script type="module" crossorigin src="/assets/index-B2QayK9e.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/assets/lucide-icons-Cg2IxtAO.js">
|
<link rel="modulepreload" crossorigin href="/assets/lucide-icons-Cg2IxtAO.js">
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-C9MU1rb1.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CqSbcgx5.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-white text-slate-900 dark:bg-slate-950 dark:text-slate-100">
|
<body class="bg-white text-slate-900 dark:bg-slate-950 dark:text-slate-100">
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue