-
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Labels
Description
Maybe I'm missing something but, there seems to be no way to set a custom color for the dropdown arrows in the sidebar both in the default themes (Simple and Simple Dark)
ref: (note the blue dropdown arrow)

After doing some digging, I found out that those arrows are base64 SVGs. Problem with this approach is that CSS variables do not work with SVGs because SVGs act like a separate document.
The arrows can be easily made using CSS and transformed between active and inactive states. This would allow the user to customize the color of the arrows.
css for dropdown arrow:
.inactive-arrow {
border: var(--sidebar-nav-pagelink-toggle-color);
border-width: 0 1.5px 1.5px 0;
display: inline-block;
padding: 1.5px;
}
.active-arrow {
border: var(--sidebar-nav-pagelink-toggle-color--active);
border-width: 0 0 1.5px 1.5px;
display: inline-block;
padding: 1.5px;
}