Skip to content

Commit ea5c5c3

Browse files
scott graysonscott grayson
authored andcommitted
refactor: switch to solid icons and clean up CSS
- Change from outline icons (heroicon-o-*) to solid icons (heroicon-s-*) - Remove unnecessary margin-right from CSS since flexbox gap handles spacing - Keep CSS file for future use - Solid folder and document icons with proper spacing
1 parent 7f5b7f6 commit ea5c5c3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

resources/css/filament-library.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,3 @@
1111
.library-item-name-column .fi-icon {
1212
color: rgb(75 85 99) !important; /* gray-600 - darker than default gray */
1313
}
14-
15-
/* Ensure proper spacing between icon and text */
16-
.library-item-name-column .fi-icon {
17-
margin-right: 0.5rem; /* 8px additional spacing */
18-
}

src/Resources/LibraryItemResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static function table(Table $table): Table
9393
->searchable()
9494
->sortable()
9595
->icon(fn (LibraryItem $record): string =>
96-
$record->type === 'folder' ? 'heroicon-o-folder' : 'heroicon-o-document'
96+
$record->type === 'folder' ? 'heroicon-s-folder' : 'heroicon-s-document'
9797
)
9898
->iconColor('gray')
9999
->iconPosition('before')

0 commit comments

Comments
 (0)