mdv-live 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdv-live",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Markdown Viewer - File tree + Live preview + Marp support + Hot reload",
5
5
  "main": "src/server.js",
6
6
  "bin": {
package/src/static/app.js CHANGED
@@ -204,6 +204,7 @@
204
204
  const ThemeManager = {
205
205
  set(theme) {
206
206
  state.theme = theme;
207
+ document.documentElement.dataset.theme = theme;
207
208
  document.body.dataset.theme = theme;
208
209
  localStorage.setItem(STORAGE_KEYS.THEME, theme);
209
210