// Lucide Icons - inlined SVG strings // Each icon is a function returning an SVG string with configurable size and color. const iconPaths: Record = { // Navigation anchor: '', "layout-dashboard": '', users: '', "git-branch": '', clock: '', activity: '', "bar-chart-3": '', server: '', lightbulb: '', "users-round": '', // Status "circle-check": '', "circle-x": '', "circle-alert": '', "circle-pause": '', "circle-play": '', loader: '', signal: '', // Actions play: '', pause: '', square: '', send: '', "message-square": '', "trash-2": '', plus: '', x: '', copy: '', "external-link": '', "chevron-down": '', "chevron-right": '', "chevron-left": '', // Data cpu: '', "memory-stick": '', "dollar-sign": '', zap: '', gauge: '', timer: '', "trending-up": '', "trending-down": '', // Fleet ship: '', radar: '', map: '', globe: '', terminal: '', "file-diff": '', "git-pull-request": '', "shield-alert": '', "octagon-alert": '', "refresh-cw": '', eye: '', brain: '', "shield-check": '', webhook: '', "clipboard-list": '', "check-circle": '', "user-check": '', "mail-plus": '', "scroll-text": '', settings: '', "log-out": '', }; export type IconName = keyof typeof iconPaths; export function icon( name: IconName, size: number = 16, color?: string, ): string { const paths = iconPaths[name]; if (!paths) return ""; const c = color ? ` color="${color}"` : ""; return `${paths}`; } export const iconNames = Object.keys(iconPaths) as IconName[];