From 5630be7f54da457df188df265afbde66b0bc3c07 Mon Sep 17 00:00:00 2001 From: KevIsDev Date: Mon, 12 May 2025 01:44:51 +0100 Subject: [PATCH] Revert "fix: fix icon classes for consistency and clarity #release:major" This reverts commit 6e9a1b687426785509ad711ad0064334f8651d29. --- app/components/ui/FileIcon.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/components/ui/FileIcon.tsx b/app/components/ui/FileIcon.tsx index 00d9671..05f6979 100644 --- a/app/components/ui/FileIcon.tsx +++ b/app/components/ui/FileIcon.tsx @@ -39,11 +39,11 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) { } if (['java', 'class', 'jar'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-java'; } if (['php'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-php'; } if (['rb', 'ruby'].includes(extension)) { @@ -63,15 +63,15 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) { } if (['swift'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-swift'; } if (['kt', 'kotlin'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-kotlin'; } if (['dart'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-dart'; } // Config files @@ -80,7 +80,7 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) { } if (['xml', 'svg'].includes(extension)) { - return 'i-ph:file-code'; + return 'i-ph:file-xml'; } if (['toml'].includes(extension)) { @@ -157,7 +157,7 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) { } if (filename.startsWith('Dockerfile')) { - return 'i-ph:file-code'; + return 'i-ph:docker-logo'; } // Default