Open
Description
Describe the bug
In my tutorial, I want the preview window to react to changes in dark/light button that are available on the top bar - currently, the code and md change, but not my site
Would love some guidance
Link to a StackBlitz project which shows the error
No response
Steps to reproduce
In a new tutorial, click the light/dark theme and see that it doesn't affect the preview window.
Even when I added media queries, it didn't respond:
/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #e0e0e0;
}
}
Expected behavior
I would like a way to be aware in the preview of the light/dark change of the tutorial
Screenshots
No response
Platform
- TutorialKit version: [e.g. 1.0.1]
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response