gridsome.org
gridsome.org copied to clipboard
feat: add docs menu collapse functionality
I created a new component called DocsMenu
to store each collapsible section of the menu.
Arrow svg from : https://www.freeicons.io/material-icons-navigation-2/arrow-back-ios-icon-16675
closes #514
Love this! We should maybe try to store in local storage what sections that have been opened and closed? So when you refresh it stays the same.
Sure, I can do this. :+1:
It seems to work very well! I just noticed that the arrows were a little hard to see in dark mode.
Right, I'll fix that!
I don't see the icon for changing to dark/mocha/light mode in my branch so I checked out Master and it wasn't there either. 😕
Not to bring this up a year later, but can you use the CSS variable --body-color
to fill the svg?