feat (v1.0.0): initial refactor and redesign

This commit is contained in:
Aidan 2025-10-09 04:12:05 -04:00
parent 3058aa1ab4
commit fe9b50b30e
134 changed files with 17792 additions and 3670 deletions

20
components/ui/Surface.tsx Normal file
View file

@ -0,0 +1,20 @@
import { ReactNode } from 'react'
import { cn, surfaces } from '@/lib/theme'
interface SurfaceProps {
children: ReactNode
variant?: keyof typeof surfaces.panel
className?: string
}
export function Surface({
children,
variant = 'dropdown',
className
}: SurfaceProps) {
return (
<div className={cn(surfaces.panel[variant], className)}>
{children}
</div>
)
}