git push origin mainRevert "fix: fix icon classes for consistency and clarity #release:major"

This reverts commit 870828d551.
This commit is contained in:
KevIsDev
2025-05-12 00:15:16 +01:00
parent e6fd901e55
commit 4354ad45b9
3 changed files with 23 additions and 64 deletions

View File

@@ -514,7 +514,7 @@ export function DataTab() {
<CardHeader>
<div className="flex items-center mb-2">
<motion.div className="text-accent-500 mr-2" whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<div className="i-ph-download-simple w-5 h-5" />
<div className="i-ph-filter-duotone w-5 h-5" />
</motion.div>
<CardTitle className="text-lg group-hover:text-bolt-elements-item-contentAccent transition-colors">
Export Selected Settings
@@ -592,7 +592,7 @@ export function DataTab() {
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.9 }}
>
<div className="i-ph-arrow-counter-clockwise w-5 h-5" />
<div className="i-ph-arrow-counter-clockwise-duotone w-5 h-5" />
</motion.div>
<CardTitle className="text-lg group-hover:text-bolt-elements-item-contentAccent transition-colors">
Reset All Settings

View File

@@ -39,11 +39,11 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) {
}
if (['java', 'class', 'jar'].includes(extension)) {
return 'i-ph:file-js';
return 'i-ph:file-java';
}
if (['php'].includes(extension)) {
return 'i-ph:file-py';
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