Open choldgraf opened 1 year ago
Ah, perfect, thanks for catching these!!
I switched over to/created scienceicon system a few weeks ago: https://www.npmjs.com/package/scienceicons
Must have missed a few dark mode flags!
Fixed the license icons, the other ones need the nav to change in our custom theme (and have a dark-mode logo for myst!).
On a related note, is it possible to have two logos in the myst.yaml
file? One for light mode, the other one for dark mode.
For what it's worth, here's the configuration structure and behavior around logos and site titles in the pydata theme
I just opened myst-theme PR executablebooks/mystmd#130.
I still haven't had the chance to test it but I believe it should work (or be very close to working).
So cool! Thank you for the PR @eurunuela, it looks great and I will test it out soon -- and thanks @choldgraf for the links over to the pydata theme!
Merged in your logo_dark
work, it should be deployed in the next few days! Thanks again @eurunuela for your help with this. 🚀
I am excited that actually it was (I think) pretty easy to customize the themes. I think there needs to be easier ways to share various parts of the configuration between themes (right now I just copied the bit of YAML you wrote to the article theme). @fwkoch was giving some thoughts to this as well in sharing frontmatter (e.g. math macros) for projects, so hopefully we can align there as well. Before we get too much further we should probably circle back to more mature theme customizations like what @choldgraf shared to make sure we are moving towards supporting those types of options.
I'm gonna move this one over to mystmd.org since the remaining actions are needed in that theme-specific repo (and we can now transfer since the repo is in executablebooks!)
I noticed some visual elements don't change their colors with dark / light mode. Just noting here for future reference:
Attribution icons
Social media and theme button itself