mirror of
https://github.com/dergigi/boris.git
synced 2026-01-20 07:14:44 +01:00
feat(ui): replace kind numbers with FontAwesome icons
- Import all kind-specific icons from FontAwesome - Add getKindIcon mapping function based on kind-icons.txt - Replace 'Kind: X' text with visual icon in bookmark-meta - Add styling for kind-icon with blue accent color - Fallback to file icon for unmapped kinds
This commit is contained in:
@@ -517,6 +517,20 @@ body {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.kind-icon {
|
||||
background: #1a1a1a;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.kind-icon svg {
|
||||
font-size: 0.9rem;
|
||||
color: #646cff;
|
||||
}
|
||||
|
||||
.read-now {
|
||||
margin-top: 0.75rem;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user