refactor(ux): consolidate BMAD skills, update design system, and clean up Prisma generated client
This commit is contained in:
36
keep-notes/lib/notebook-icon.tsx
Normal file
36
keep-notes/lib/notebook-icon.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import {
|
||||
Folder,
|
||||
Briefcase,
|
||||
FileText,
|
||||
Zap,
|
||||
BarChart3,
|
||||
Globe,
|
||||
Sparkles,
|
||||
Book,
|
||||
Heart,
|
||||
Crown,
|
||||
Music,
|
||||
Building2,
|
||||
Plane,
|
||||
type LucideIcon,
|
||||
} from 'lucide-react'
|
||||
|
||||
const ICON_MAP: Record<string, LucideIcon> = {
|
||||
'folder': Folder,
|
||||
'briefcase': Briefcase,
|
||||
'document': FileText,
|
||||
'lightning': Zap,
|
||||
'chart': BarChart3,
|
||||
'globe': Globe,
|
||||
'sparkle': Sparkles,
|
||||
'book': Book,
|
||||
'heart': Heart,
|
||||
'crown': Crown,
|
||||
'music': Music,
|
||||
'building': Building2,
|
||||
'flight_takeoff': Plane,
|
||||
}
|
||||
|
||||
export function getNotebookIcon(iconName: string | null | undefined): LucideIcon {
|
||||
return ICON_MAP[iconName || 'folder'] || Folder
|
||||
}
|
||||
Reference in New Issue
Block a user