|
1 | 1 | import type { LucideIcon, LucideProps } from "lucide-react"; |
2 | 2 | import React from "react"; |
3 | 3 | import { |
4 | | - Archive, ArrowDownUp, ArrowUp, Blocks, ChevronDown, ChevronLeft, ChevronRight, Code2, Code, File, FileDiff, FileJson, FileText, Folder, FolderOpen, FolderPlus, GitBranch, History, List, Minus, Monitor, MoonStar, Palette, Plus, RefreshCw, Rows3, Search, Settings2, SlidersHorizontal, SquarePlus, SunMedium, Terminal, Undo2, X, Maximize2, Minimize2, PanelRightClose, PanelRightOpen, SquareSplitVertical, SquareSplitHorizontal |
| 4 | + Archive, ArrowDownUp, ArrowUp, Blocks, ChevronDown, ChevronLeft, ChevronRight, Code2, Code, Eye, EyeOff, File, FileDiff, FileJson, FileText, Folder, FolderOpen, FolderPlus, GitBranch, History, List, Minus, Monitor, MoonStar, Palette, Plus, RefreshCw, Rows3, Search, Settings2, SlidersHorizontal, SquarePlus, SunMedium, Terminal, Undo2, X, Maximize2, Minimize2, PanelRightClose, PanelRightOpen, SquareSplitVertical, SquareSplitHorizontal |
5 | 5 | } from "lucide-react"; |
6 | 6 |
|
7 | 7 | const createIcon = (Icon: LucideIcon, defaults?: Partial<LucideProps>) => { |
@@ -57,6 +57,8 @@ export const AgentSplitHorizontalIcon = createIcon(SquareSplitHorizontal, { size |
57 | 57 | export const FolderIcon = createIcon(Folder, { size: 14 }); |
58 | 58 | export const FolderOpenIcon = createIcon(FolderOpen, { size: 14 }); |
59 | 59 | export const FileIcon = createIcon(File, { size: 14 }); |
| 60 | +export const EyeIcon = createIcon(Eye, { size: 14 }); |
| 61 | +export const EyeOffIcon = createIcon(EyeOff, { size: 14 }); |
60 | 62 |
|
61 | 63 | const fileTypeColors: Record<string, string> = { |
62 | 64 | ts: "#3178c6", tsx: "#3178c6", js: "#f7df1e", jsx: "#f7df1e", json: "#cbcb41", md: "#519aba", html: "#e34c26", css: "#563d7c", scss: "#563d7c", py: "#3572A5", go: "#00ADD8", rs: "#dea584", java: "#b07219", sql: "#e38c00", sh: "#89e051", yml: "#cb171e", yaml: "#cb171e", toml: "#9c4121", svg: "#a0c4e3", png: "#a0c4e3", jpg: "#a0c4e3", pdf: "#b30b00" |
|
0 commit comments