(GitHub Toggle Expanders) When the content is expanded, the expander (`…`) to become dimmed/grayed out
darkred opened this issue · 2 comments
Hi there @Mottie
It's a feature request about the 'GitHub Toggle Expanders' script:
when any expander (…
) is clicked (i.e. either manually by the user or via the script's functionality) and the content is expanded, the relevant expander to become dimmed/grayed out.
I wanted to make this request since forever, but hesitated to ask because the cause is the GitHub layout itself:
currently, when clicking an expander and the content becomes expanded, there's no difference in the expander appearance, and so you can't distinguish the expand status by looking at the expander :
screenshot comparison
(using the 'GitHub Dark' style) -the same with GitHub's own dark/light themes -
Thank you
There really isn't much I can do within the userscript to fix this without messing up the color theme... If you're using the Stylus extension, you could create a GitHub auxillary style and include the following:
.Details--on .ellipsis-expander {
background: var(--color-scale-blue-2);
}
Adjust the color as desired.
Thanks a lot! It works great!