Add support for uploading and assigning custom SVG icons to libraries… (#1788)

* Add support for uploading and assigning custom SVG icons to libraries and shelves

* Add few default icons
This commit is contained in:
Aditya Chandel
2025-12-07 15:16:22 -07:00
committed by GitHub
parent 04b9f88510
commit ad0a99bcbc
74 changed files with 1613 additions and 171 deletions
@@ -152,6 +152,48 @@
color: var(--text-color);
font-size: 0.9rem;
}
.icon-display-container {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.625rem 1rem;
border: 1px solid var(--border-color);
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
background: var(--card-background);
&:hover {
border-color: var(--primary-color);
}
.selected-icon {
flex-shrink: 0;
}
.icon-label {
font-size: 0.95rem;
color: var(--text-secondary-color);
white-space: nowrap;
}
.icon-placeholder {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-secondary-color);
i {
font-size: 1.125rem;
color: var(--primary-color)
}
span {
font-size: 0.875rem;
}
}
}
}
@media (max-width: 768px) {