Closed
Description
Could you consider switching the mermaid theme as you choose the light and dark theme by the button on the top bar of material-mkdocs?
Choosing the theme works well depending on the user's environment (I tested both mobile and desktop), however the theme is not changed when the user makes the manual selection. It just follows the default user environment theme.
This means that the light and dark themes work fine according to the documentation, but do not switch when the user selects the button.
So, for example, when the user has the light theme by default but decides to see the mermaid designs in the dark theme, the designs do not appear correctly.