3import { themes } from '@/lib/themes';
6 * Theme Showcase Component
7 * Displays all available themes with their color palettes
8 * Used for documentation and marketing purposes
10export default function ThemeShowcase() {
12 <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 p-6">
13 {Object.values(themes).map((theme) => (
16 className="rounded-xl overflow-hidden shadow-lg border-2"
18 borderColor: theme.colors.border,
19 background: theme.colors.surface,
26 background: theme.colors.brand,
30 <h3 className="font-bold text-lg">{theme.name}</h3>
31 <p className="text-sm opacity-90">{theme.description}</p>
35 <div className="p-4" style={{ background: theme.colors.bg }}>
36 <div className="space-y-2">
37 {/* Primary Colors */}
38 <div className="grid grid-cols-4 gap-2">
40 className="aspect-square rounded shadow-sm"
41 style={{ background: theme.colors.brand }}
45 className="aspect-square rounded shadow-sm"
46 style={{ background: theme.colors.brand2 }}
50 className="aspect-square rounded shadow-sm"
51 style={{ background: theme.colors.warn }}
55 className="aspect-square rounded shadow-sm"
56 style={{ background: theme.colors.danger }}
61 {/* Surface Colors */}
62 <div className="grid grid-cols-3 gap-2">
64 className="aspect-square rounded shadow-sm border"
66 background: theme.colors.bg,
67 borderColor: theme.colors.border,
72 className="aspect-square rounded shadow-sm border"
74 background: theme.colors.surface,
75 borderColor: theme.colors.border,
80 className="aspect-square rounded shadow-sm border"
82 background: theme.colors.surface2,
83 borderColor: theme.colors.border,
91 className="p-3 rounded"
93 background: theme.colors.surface,
94 border: `1px solid ${theme.colors.border}`,
98 className="font-bold text-sm mb-1"
99 style={{ color: theme.colors.text }}
105 style={{ color: theme.colors.muted }}
113 {/* Theme ID Badge */}
115 className="px-4 py-2 text-center text-xs font-mono"
117 background: theme.colors.surface2,
118 color: theme.colors.muted,