3,200+ hardcoded color values replaced with CSS variable-backed Tailwind classes (bg-card, text-foreground, border-border, etc.). Enables light mode via CSS variable swap. Only syntax highlighting colors and intentional one-offs remain hardcoded (~15 values). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
376 B
TypeScript
15 lines
376 B
TypeScript
import { Spinner } from '@/components/common/Spinner'
|
|
|
|
export function PageLoader() {
|
|
return (
|
|
<div className="flex h-full items-center justify-center">
|
|
<div className="flex flex-col items-center gap-4">
|
|
<Spinner size="lg" />
|
|
<p className="text-sm text-muted-foreground">Loading…</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default PageLoader
|