Popup-my-Bookmarks
Popup-my-Bookmarks copied to clipboard
Hi!Can you add an option to customize the color of the folder Icon?
The color of the folder Icon is in: https://github.com/foray1010/Popup-my-Bookmarks/blob/master/src/popup/images/folder.svg
and the raw is:
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path fill="#ff922b" d="M40 12H22l-4-4H8c-2.2 0-4 1.8-4 4v8h40v-4c0-2.2-1.8-4-4-4z"/><path fill="#fcc419" d="M40 12H8c-2.2 0-4 1.8-4 4v20c0 2.2 1.8 4 4 4h32c2.2 0 4-1.8 4-4V16c0-2.2-1.8-4-4-4z"/></svg>
Just customize the Hex Color Code of #ff922b. The tag is fill. This Will Be Good! Thank you!
Refer: https://docs.coveo.com/en/292/javascript-search-framework/customizing-svg-icons
I was planning to add a dark mode to the extension, which will also darken the folder color. Does it solve your need or you really want to customize it to a specific color?
As I generally would like to avoid too much options which may confuse user, another way maybe introducing two options
- primary color (currently orange) which will sync folder image color & root folder text color, and also the header color in odd number level
- secondary color (currently blue) which will change the header color in even number level
Brilliant idea! Primary/secondary color sounds great!
For me, I want to customize it to a specific colorI, such as fill="#ffcb5c" ,#ffcb5c.