b7348cffdd
This is a workaround to the conflict that is happening when an user tries to download the slide when dark mode is enabled. There is a conflict between dark mode's styles and the html-to-image lib. To temporarily prevent this from happening, the dark mode is disabled before downloading the slide, and then re-enabled when the download is complete. In order to be able to enable and disable dark mode from another component than the App, all the dark mode switch logic was extracted into the service of the app component. |
||
---|---|---|
.. | ||
api | ||
startup | ||
ui | ||
utils |